Changeset 117896 in spip-zone
- Timestamp:
- Sep 19, 2019, 8:02:28 AM (16 months ago)
- Location:
- _plugins_/chapitres/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/chapitres/trunk/paquet.xml
r117623 r117896 2 2 prefix="chapitres" 3 3 categorie="edition" 4 version="1.0.3 0"4 version="1.0.31" 5 5 etat="dev" 6 6 compatibilite="[3.2.0;3.2.*]" -
_plugins_/chapitres/trunk/prive/squelettes/inclure/chapitres_editables.html
r110597 r117896 23 23 <div class="chapitres_editables"> 24 24 25 <BOUCLE_ liste_chapitres (CHAPITRES)25 <BOUCLE_chapitres_racines (CHAPITRES) 26 26 {id_parent?} 27 27 {objet?} … … 54 54 55 55 #SET{profondeur, 1} 56 <BOUCLE_ liste_chapitres_enfants (CHAPITRES)56 <BOUCLE_chapitres_enfants (CHAPITRES) 57 57 {id_parent=#ID_CHAPITRE} 58 58 {objet} … … 84 84 85 85 #SET{profondeur,#GET{profondeur}|plus{1}} 86 <BOUCLE_ liste_chapitres_petits_enfants (BOUCLE_liste_chapitres_enfants) />86 <BOUCLE_chapitres_petits_enfants (BOUCLE_chapitres_enfants) /> 87 87 #SET{profondeur,#GET{profondeur}|moins{1}} 88 #SET{numero_parent,#GET{numero_parent}|substr{0, -2}}88 #SET{numero_parent,#GET{numero_parent}|substr{0,#GET{numero_parent}|strrpos{.}}} 89 89 90 90 </section> 91 </BOUCLE_ liste_chapitres_enfants>91 </BOUCLE_chapitres_enfants> 92 92 93 93 </section> 94 94 #BOITE_FERMER 95 </BOUCLE_ liste_chapitres>95 </BOUCLE_chapitres_racines> 96 96 97 97 [(#REM) Ajout de chapitre à la racine ] … … 104 104 ajax} 105 105 /> 106 </B_ liste_chapitres>106 </B_chapitres_racines> 107 107 108 108 [<div class="liste-objets chapitres caption-wrap"> 109 109 <strong class="caption">(#ENV*{sinon,<:chapitre_info_aucun_chapitre:>})</strong> 110 110 </div> 111 ]<//B_ liste_chapitres>111 ]<//B_chapitres_racines> 112 112 113 113 </div> -
_plugins_/chapitres/trunk/prive/squelettes/inclure/chapitres_plan.html
r110636 r117896 11 11 #SET{ancres,#ENV{chapitres}|=={editables}|?{oui,''}} 12 12 13 <B_ liste_chapitres>13 <B_chapitres_racine> 14 14 [(#BOITE_OUVRIR{<:chapitre:titre_plan:>, 'simple chapitres-plan'})] 15 15 … … 24 24 <ul class="menu-items"> 25 25 26 <BOUCLE_ liste_chapitres(CHAPITRES)26 <BOUCLE_chapitres_racine (CHAPITRES) 27 27 {id_parent = 0} 28 28 {objet?} … … 42 42 #ID_CHAPITRE|generer_url_entite{chapitre} 43 43 }} 44 #SET{numero,#COMPTEUR_BOUCLE} 45 #SET{numero_parent,#GET{numero}} 44 46 <li class="item[ (#EXPOSE{expose})]"> 45 47 46 [(#GET{lien}|lien_ou_expose{ #TITRE,#EXPOSE,#GET{ancre}|?{lien-ancre,lien}})]48 [(#GET{lien}|lien_ou_expose{<span class="numero">#GET{numero}</span> #TITRE,#EXPOSE,#GET{ancre}|?{lien-ancre,lien}})] 47 49 48 <B_ liste_chapitres_enfants>50 <B_chapitres_enfants> 49 51 <ul class="menu-items"> 50 <BOUCLE_ liste_chapitres_enfants (CHAPITRES)52 <BOUCLE_chapitres_enfants (CHAPITRES) 51 53 {id_parent = #ID_CHAPITRE} 52 54 {objet?} … … 66 68 #ID_CHAPITRE|generer_url_entite{chapitre} 67 69 }} 70 #SET{numero,#GET{numero_parent}|concat{.#COMPTEUR_BOUCLE}} 71 #SET{numero_parent,#GET{numero}} 68 72 69 73 <li class="item[ (#EXPOSE{expose})]"> 70 74 71 [(#GET{lien}|lien_ou_expose{ #TITRE,#EXPOSE,#GET{ancre}|?{lien-ancre,lien}})]75 [(#GET{lien}|lien_ou_expose{<span class="numero">#GET{numero}</span> #TITRE,#EXPOSE,#GET{ancre}|?{lien-ancre,lien}})] 72 76 73 <BOUCLE_liste_chapitres_petits_enfants (BOUCLE_liste_chapitres_enfants) /> 77 <BOUCLE_chapitres_petits_enfants (BOUCLE_chapitres_enfants) /> 78 #SET{numero_parent,#GET{numero_parent}|substr{0,#GET{numero_parent}|strrpos{.}}} 74 79 75 80 </li> 76 81 77 </BOUCLE_ liste_chapitres_enfants>82 </BOUCLE_chapitres_enfants> 78 83 </ul> 79 </B_ liste_chapitres_enfants>84 </B_chapitres_enfants> 80 85 81 86 </li> 82 </BOUCLE_ liste_chapitres>87 </BOUCLE_chapitres_racine> 83 88 84 89 </ul> … … 92 97 93 98 #BOITE_FERMER 94 </B_ liste_chapitres>99 </B_chapitres_racine> -
_plugins_/chapitres/trunk/prive/style_prive_plugin_chapitres.html
r117545 r117896 35 35 .chapitres-plan .objet-parent { 36 36 padding-bottom: 0.25em; 37 } 38 .chapitres-plan .numero { 39 color: #888; 37 40 } 38 41
Note: See TracChangeset
for help on using the changeset viewer.