bug1
authormarc.nachin <you@example.commarc.nachin@auf.org>
Thu, 16 May 2013 07:53:25 +0000 (09:53 +0200)
committermarc.nachin <you@example.commarc.nachin@auf.org>
Thu, 16 May 2013 07:53:25 +0000 (09:53 +0200)
squelettes/article-52.html
squelettes/une_fiche.html

index 2713ebb..1bc23cf 100644 (file)
@@ -6,7 +6,7 @@ require_once('ajax/requetes/requetes.common.php');
 <html dir="#LANG_DIR" lang="#LANG">
 <!-- Inclure header.php3 -->
 <head>
-       <INCLURE{fond=header}{id_article}{id_rubrique}>
+       
        <?php $xajax->printJavascript('ajax/'); ?>
        <script src="ajax/requetes/requetes.js" language="JavaScript" type="text/JavaScript"></script>
        <style type="text/css">
@@ -18,17 +18,17 @@ require_once('ajax/requetes/requetes.common.php');
                .reponse_formulaire { font-weight: bold; color: red; } 
        -->
        </style>
-</head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head>
 
 <body onload="javascript:montre('smenu1');">
-<BOUCLE_contenu_editorial(ARTICLES){id_article}>
+
        <div id="frame">
        <!-- Fin contener top -->
-       <INCLURE{fond=contener_top_grel}{id_rubrique}>
+       
        <!-- Fin contener top -->
          <div id="contener">
                <!-- Menu -->
-               <INCLURE{fond=menu_grel}{id_rubrique}>
+               
                <!-- Fin Menu -->
                 <!-- CONTENU -->
                <div id="colonne_center">
@@ -42,7 +42,7 @@ require_once('ajax/requetes/requetes.common.php');
                                                <table id="table_fiches">
                                                                <tr>
                                                                        <td class="td_right_table_fiches">
-                                                                       <BOUCLE_titre_rub_courante(RUBRIQUES){id_rubrique}{tout}>
+                                                                       
                                                                                <h2>Fiche : [<a href="#URL_RUBRIQUE">(#TITRE|supprimer_numero)</a>]</h2>
                                                                        </BOUCLE_titre_rub_courante>
                                                                        </td>
@@ -53,7 +53,7 @@ require_once('ajax/requetes/requetes.common.php');
                                                $struct_table_cat = array('valide'=>"F",'indice'=>array('categorie'=>"",'contexte'=>"", 'liens'=>array('titre'=>"",'url'=>"",'chapo'=>"",'texte'=>"",'options'=>"")));
                                                $indice_categorie=0;
                                                ?>
-                                               <BOUCLE_mots_fiches_categorie(MOTS){id_groupe=2}>
+                                               
                                                <B_fiche_cat>
                                                <?php  
                                                                $id_mot = "#ID_MOT";
@@ -66,19 +66,19 @@ require_once('ajax/requetes/requetes.common.php');
                                                                }
                                                                $indice=0;
                                                ?>      
-                                               <BOUCLE_fiche_cat(ARTICLES){id_mot=#ID_MOT}{id_article}{par num titre}>
+                                               
                                                        <?php $struct_table_cat[$indice_categorie]['valide'] = "V"; ?>  
-                                                       <BOUCLE_contexte(MOTS){id_article}{id_groupe=1}{0,1}>
+                                                       
                                                                <?php   $struct_table_cat[$indice_categorie][$indice]['liens']['contexte']= "[(#TITRE|supprimer_numero|texte_backend)]";?>
                                                        </BOUCLE_contexte>
                                                        <B_options_mots_groupes>
                                                        <?php $options_mots = "<ul>"; ?>
-                                                       <BOUCLE_options_mots_groupes(GROUPES_MOTS){id_groupe!=1}{id_groupe!=2}{par num titre}>
+                                                       
                                                                <B_options_mots>
                                                                        <?php 
                                                                        $options_mots .= '<li><a href="#" onMouseover="infoBulle(event,\'[(#ID_GROUPE)]\')" onMouseout="delayhidemenu()">[(#TITRE|supprimer_numero|texte_backend)]</a><ul>';
                                                                        ?>
-                                                                       <BOUCLE_options_mots(MOTS){id_article=#_fiche_cat:ID_ARTICLE}{id_groupe}>
+                                                                       
                                                                        <?php $options_mots .=  "<li>[(#TITRE|supprimer_numero|texte_backend)]</li>";?>
                                                                        </BOUCLE_options_mots><?php $options_mots .= "</ul></li>";?>
                                                                </B_options_mots>
@@ -102,7 +102,7 @@ require_once('ajax/requetes/requetes.common.php');
                                                <?php 
                                                for($i=0;$i<count($struct_table_cat)-1;$i++){
                                                        if($struct_table_cat[$i]['valide']=="V"){
-                                                       echo html_entity_decode($struct_table_cat[$i]['categorie']);
+                                                       echo html_entity_decode($struct_table_cat[$i]['categorie'], ENT_COMPAT, 'UTF-8');
                                                ?>
                                                <table id="table_fiches">
                                                        <?php
@@ -120,8 +120,8 @@ require_once('ajax/requetes/requetes.common.php');
                                                                                </td>
                                                                        <td class="td_right_table_fiches">
                                                                                <?php echo $struct_table_cat[$i][$j]['liens']['options']; ?>
-                                                                               <?php echo html_entity_decode($struct_table_cat[$i][$j]['liens']['chapo']); ?>
-                                                                               <?php echo html_entity_decode($struct_table_cat[$i][$j]['liens']['texte']); ?>
+                                                                               <?php echo html_entity_decode($struct_table_cat[$i][$j]['liens']['chapo'], ENT_COMPAT, 'UTF-8'); ?>
+                                                                               <?php echo html_entity_decode($struct_table_cat[$i][$j]['liens']['texte'], ENT_COMPAT, 'UTF-8'); ?>
                                                                        </td>
                                                                </tr>   
                                                        <?php
@@ -151,7 +151,7 @@ require_once('ajax/requetes/requetes.common.php');
                </div>
                       <!-- FIN CONTENU -->
                      <!-- DÉBUT BOTTOM -->
-                    <INCLURE{fond=bottom}>
+                    
                     <!-- FIN BOTTOM -->
                </div>
                
index 275ce1c..0066d63 100644 (file)
@@ -1,10 +1,13 @@
+<?php
+       mb_internal_encoding("UTF-8");
+?>
 <B_rubrique_courante>
-<BOUCLE_rubrique_courante(RUBRIQUES){id_rubrique}{id_parent==52}>
+
        <!-- TEXTE -->
                <h1>[(#TITRE|supprimer_numero)]</h1>
                
        <ul>
-               <BOUCLE_lister_sous_rubriques(RUBRIQUES){id_parent}{par num titre}>
+               
                        <li><a href="#URL_RUBRIQUE">[(#TITRE|supprimer_numero)]</a></li>
                </BOUCLE_lister_sous_rubriques>
        </ul>
@@ -14,7 +17,7 @@
        <table id="table_fiches">
                        <tr>
                                <td class="top_table_fiches">
-                               <BOUCLE_titre_rub_courante(RUBRIQUES){id_rubrique}{tout}>
+                               
                                        <h2>Fiche : [(#TITRE|supprimer_numero)]</h2>
                                </BOUCLE_titre_rub_courante>
                                </td>
@@ -25,7 +28,7 @@
        $struct_table_cat = array('valide'=>"F",'indice'=>array('categorie'=>"",'contexte'=>"", 'liens'=>array('titre'=>"",'url'=>"",'chapo'=>"",'texte'=>"",'options'=>"")));
        $indice_categorie=0;
        ?>
-       <BOUCLE_mots_fiches_categorie(MOTS){id_groupe=2}>
+       
        <B_fiche_cat>
        <?php  
                        $id_mot = "#ID_MOT";
                        }
                        $indice=0;
        ?>      
-       <BOUCLE_fiche_cat(ARTICLES){id_mot=#ID_MOT}{id_rubrique}{par num titre}>
+       
                <?php $struct_table_cat[$indice_categorie]['valide'] = "V"; ?>  
-               <BOUCLE_contexte(MOTS){id_article}{id_groupe=1}{0,1}>
+               
                        <?php   $struct_table_cat[$indice_categorie][$indice]['liens']['contexte']= "[(#TITRE|supprimer_numero|texte_backend)]";?>
                </BOUCLE_contexte>
                <B_options_mots_groupes>
                <?php $options_mots = "<ul>"; ?>
-               <BOUCLE_options_mots_groupes(GROUPES_MOTS){id_groupe!=1}{id_groupe!=2}{par num titre}>
+               
                        <B_options_mots>
                                <?php 
                                $options_mots .= '<li><a href="#" onMouseover="infoBulle(event,\'[(#ID_GROUPE)]\')" onMouseout="delayhidemenu()">[(#TITRE|supprimer_numero|texte_backend)]</a><ul>';
                                ?>
-                               <BOUCLE_options_mots(MOTS){id_article=#_fiche_cat:ID_ARTICLE}{id_groupe}>
+                               
                                <?php $options_mots .= "<li>[(#TITRE|supprimer_numero|texte_backend)]</li>";?>
                                </BOUCLE_options_mots><?php $options_mots .= "</ul></li>";?>
                        </B_options_mots>
@@ -74,7 +77,7 @@
        <?php 
        for($i=0;$i<count($struct_table_cat)-1;$i++){
                if($struct_table_cat[$i]['valide']=="V"){
-               echo html_entity_decode($struct_table_cat[$i]['categorie']);
+               echo html_entity_decode($struct_table_cat[$i]['categorie'], ENT_COMPAT, 'UTF-8');
        ?>
        <table id="table_fiches">
                <?php