source: trunk/spip/esqueleto-redcta/plugins/magusine/squelettes/blocs/navigation/defaut.html @ 80

Last change on this file since 80 was 80, checked in by guille, 15 years ago

el plugin completo

File size: 1.8 KB
Line 
1<BOUCLE_cacher_edito(SPIP_ARTY_PARAMETRES){parametre=cacher_edito}>[(#VALEUR|=={true}|?{' ',''})]</BOUCLE_cacher_edito>
2<BOUCLE_param_rubrique_edito(SPIP_ARTY_PARAMASSOC){param=edito}>
3<BOUCLE_edito_rub(RUBRIQUES){id_rubrique=#ID_RUBRIQUE}{lang}{doublons cacher}>
4</BOUCLE_edito_rub>
5</BOUCLE_param_rubrique_edito>
6</B_cacher_edito><!-- menu alternatif, deux niveaux -->
7<BOUCLE_menu_alternatif(RUBRIQUES){id_parent=0}{lang}{doublons cacher}{par num titre}>
8  <li class="niveau1 item#COMPTEUR_BOUCLE<?php if(in_array("rubrique#ID_RUBRIQUE",$hierarchie)) { echo" courante"; } ?>"><a href="#URL_RUBRIQUE" accesskey="[(#COMPTEUR_BOUCLE)]">[(#TITRE|supprimer_numero)]</a> 
9  #SET{ulaffiche,0}
10  <BOUCLE_parametre_niveau(SPIP_ARTY_PARAMETRES){parametre==config_niveaux_menu$}{valeur2=#LANG}{valeur!=1}>
11    <B_sous_menu_alternatif>
12    <ul class="ulniveau2">
13    <BOUCLE_sous_menu_alternatif(RUBRIQUES){id_parent}{lang}{doublons cacher}{par num titre}>
14    <li class="niveau2<?php if(in_array("rubrique#ID_RUBRIQUE",$hierarchie)) { echo" courante"; } ?>"><a href="#URL_RUBRIQUE">[(#TITRE|supprimer_numero)]</a></li>
15    </BOUCLE_sous_menu_alternatif>
16    #SET{ulaffiche,1}
17  </B_sous_menu_alternatif>
18  </BOUCLE_parametre_niveau>
19 
20                <BOUCLE_parametre_niveaux_articles(SPIP_ARTY_PARAMETRES){parametre==config_niveaux_menu$}{valeur!=1}{valeur2=#LANG}{valeur3=on}>
21                        <B_navigation2>
22                        [(#GET{ulaffiche}|=={1}|?{'',' '})<ul class='ulniveau2'>]
23                        <BOUCLE_navigation2(ARTICLES){id_rubrique=#ID_RUBRIQUE}{par num titre}>
24                                <li class="niveau2<?php if(in_array("article#ID_ARTICLE",$hierarchie)) { echo" courante"; } ?>"><a href="#URL_ARTICLE" class="menu-article">[(#TITRE|supprimer_numero)]</a></li>
25                        </BOUCLE_navigation2>
26                        #SET{ulaffiche,1}
27                        </B_navigation2>
28                       
29                </BOUCLE_parametre_niveaux_articles>
30                               
31        [(#GET{ulaffiche}|=={1}|?{' ',''})</ul>]
32 
33  </li>
34</BOUCLE_menu_alternatif>
Note: See TracBrowser for help on using the repository browser.