« Modèle:VILLE2006 » : différence entre les versions

De Encyclopédie-de-L'AFN_1830-1962
mAucun résumé des modifications
Balise : Révoqué
mAucun résumé des modifications
Balise : Révocation manuelle
 
(11 versions intermédiaires par le même utilisateur non affichées)
Ligne 91 : Ligne 91 :
$page_en_cours = substr ( $nom_page, 0, 9) ; if ($page_en_cours == "Histoires") { $ecran_3=$MENU_RECIT;}
$page_en_cours = substr ( $nom_page, 0, 9) ; if ($page_en_cours == "Histoires") { $ecran_3=$MENU_RECIT;}
$page_en_cours = substr ( $nom_page, 0, 10) ; if ($page_en_cours == "Historique") { $ecran_3=$MENU_HISTO;}
$page_en_cours = substr ( $nom_page, 0, 10) ; if ($page_en_cours == "Historique") { $ecran_3=$MENU_HISTO;}
// implantation des catégories
$cible = substr ( $nom_page, 0, 3) ;
$comp = substr ($Nom_ville, 0, 3);
if ($cible == $comp) { $catcat="[[Catégorie:Ville]]"; } else { $catcat="[[Catégorie:PageDeVille]]"; }


}}
}}
Ligne 98 : Ligne 105 :


{{ORI-COMMUN}}
{{ORI-COMMUN}}
<table border=0 cellpadding=3 align=center width=733 cellspacing = 0 class="mm_boite_gris fond_ciel" style="margin-bottom:35px;">
<table border=0 cellpadding=3 align=center width=733 cellspacing = 0 class=mm_boite_gris style="margin-bottom:35px;">
<tr BGCOLOR=#bbe5da >
<tr BGCOLOR=#bbe5da >
<td valign=middle align=center>
<td valign=middle align=center>
Ligne 132 : Ligne 139 :
</tr>
</tr>
</table>
</table>
{{#phptag: echo $catcat;}}

Dernière version du 4 août 2023 à 11:58