« 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
 
(13 versions intermédiaires par le même utilisateur non affichées)
Ligne 83 : Ligne 83 :
$ecran_1 .=$Pays;  
$ecran_1 .=$Pays;  
// titre menu gauche
// titre menu gauche
$ecran_2="<span class="ombre_texte fond_ciel"><big>[[$Nom_ville - Ville | $Nom_ville]]</biG></span> <span style='margin-left:10px;font-size:small;'>Nom actuel : $Nom_actuel</span>";
$ecran_2="<span class=ombre_texte><big>[[$Nom_ville - Ville | $Nom_ville]]</biG></span> <span style='margin-left:10px;font-size:small;'>Nom actuel : $Nom_actuel</span>";
// condition sur menu gauche
// condition sur menu gauche
if ($Village == "oui") { $ecran_2 .= $MENU_VILLAGE;} else  { $ecran_2 .= $MENU_NORMAL;}
if ($Village == "oui") { $ecran_2 .= $MENU_VILLAGE;} else  { $ecran_2 .= $MENU_NORMAL;}
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 132 : Ligne 139 :
</tr>
</tr>
</table>
</table>
{{#phptag: echo $catcat;}}

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