Changeset 110363 in spip-zone
- Timestamp:
- May 24, 2018, 3:51:05 PM (3 years ago)
- Location:
- _plugins_/chapitres/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/chapitres/trunk/chapitres_pipelines.php
r110361 r110363 99 99 'id_objet' => $chapitre['id_objet'], 100 100 'id_parent' => 0, 101 'id_chapitre' => $flux['args']['id'], 101 102 'arbo' => 'oui', 102 103 'simple' => 'oui', -
_plugins_/chapitres/trunk/lang/chapitre_fr.php
r110352 r110363 21 21 // I 22 22 'icone_creer_chapitre' => 'Créer un chapitre', 23 'icone_creer_chapitre_enfant' => 'Créer un sous-chapitre', 23 24 'icone_ajouter_chapitre_cousin' => 'Ajouter un chapitre au même niveau', 24 25 'icone_ajouter_chapitre_enfant' => 'Ajouter un sous-chapitre', … … 28 29 'info_chapitres_auteur' => 'Les chapitres de cet auteur', 29 30 'info_nb_chapitres' => '@nb@ chapitres', 31 'info_1_chapitre_enfant' => 'Un sous-chapitre', 32 'info_aucun_chapitre_enfant' => 'Aucun sous-chapitre', 33 'info_nb_chapitres_enfants' => '@nb@ sous-chapitres', 30 34 31 35 // R -
_plugins_/chapitres/trunk/paquet.xml
r110361 r110363 2 2 prefix="chapitres" 3 3 categorie="edition" 4 version="1.0. 7"4 version="1.0.8" 5 5 etat="dev" 6 6 compatibilite="[3.2.0;3.2.*]" -
_plugins_/chapitres/trunk/prive/objets/contenu/chapitre-enfants.html
r109201 r110363 11 11 #SET{arbo, non} 12 12 ] 13 <INCLURE{fond=prive/objets/liste/chapitres,arbo=#GET{arbo},sinon=<:chapitre:info_aucun_chapitre:>,objet=#GET{objet},id_objet=#GET{id_objet},id_parent=#GET{id_parent},id_chapitre="",ajax,env} /> 13 #SET{enfant,#ENV{id_parent}|ou{#OBJET|=={chapitre}}} 14 15 <INCLURE{fond=prive/objets/liste/chapitres, 16 arbo=#GET{arbo}, 17 sinon=#GET{enfant}|?{<:chapitre:info_aucun_chapitre_enfant:>,<:chapitre:info_aucun_chapitre:>}, 18 objet=#GET{objet}, 19 id_objet=#GET{id_objet}, 20 id_parent=#GET{id_parent}, 21 id_chapitre="", 22 ajax, 23 env} 24 /> 14 25 15 26 [(#AUTORISER{creerchapitredans, #GET{objet,chapitre}, #GET{id_objet, #GET{id_parent}}}|oui) 27 [(#SET{intitule,#GET{enfant}|?{<:chapitre:icone_creer_chapitre_enfant:>,<:chapitre:icone_creer_chapitre:>}})] 16 28 #SET{url_parent, #GET{id_objet}|generer_url_entite{#GET{objet}}|sinon{#GET{id_parent}|generer_url_entite{chapitre}}} 17 [(#URL_ECRIRE{chapitre_edit, new=oui}|parametre_url{objet, #GET{objet}}|parametre_url{id_objet, #GET{id_objet}}|parametre_url{id_parent, #GET{id_parent}}|parametre_url{redirect, #GET{url_parent}}|icone_verticale{ <:chapitre:icone_creer_chapitre:>,chapitre,new,right})]29 [(#URL_ECRIRE{chapitre_edit, new=oui}|parametre_url{objet, #GET{objet}}|parametre_url{id_objet, #GET{id_objet}}|parametre_url{id_parent, #GET{id_parent}}|parametre_url{redirect, #GET{url_parent}}|icone_verticale{#GET{intitule},chapitre,new,right})] 18 30 ] 19 31 <div class="nettoyeur"></div> -
_plugins_/chapitres/trunk/prive/objets/liste/chapitres.html
r110352 r110363 5 5 points,-1 6 6 }})] 7 #SET{enfant,#ENV{id_parent}|ou{#ENV{objet}|=={chapitre}}} 7 8 8 9 #SET{compteur,0} … … 15 16 #SET{total, #TOTAL_BOUCLE} 16 17 </BOUCLE_total_chapitres> 17 [<caption><strong class="caption">(#ENV*{titre,#GET{total}|singulier_ou_pluriel{ chapitre:info_1_chapitre,chapitre:info_nb_chapitres}})</strong></caption>]18 [<caption><strong class="caption">(#ENV*{titre,#GET{total}|singulier_ou_pluriel{#GET{enfant}|?{chapitre:info_1_chapitre_enfant,chapitre:info_1_chapitre},#GET{enfant}|?{chapitre:info_nb_chapitres_enfants,chapitre:info_nb_chapitres}}})</strong></caption>] 18 19 <thead> 19 20 <tr class="first_row"> … … 29 30 <BOUCLE_liste_chapitres (CHAPITRES) {id_parent?}{objet?}{id_objet?}{id_mot?}{id_auteur?}{where?}{statut?}{recherche?}{tri #ENV{par,num titre},#GET{defaut_tri}}{par titre}{pagination #ENV{nb,10}}> 30 31 #SET{compteur,#GET{compteur}|plus{1}} 31 <tr class="[(#GET{compteur}|alterner{row_odd,row_even})] ">32 <tr class="[(#GET{compteur}|alterner{row_odd,row_even})][ (#EXPOSE{expose})]"> 32 33 <td class="statut">[(#STATUT|puce_statut{chapitre,#ID_CHAPITRE})]</td> 33 34 <td … … 58 59 <BOUCLE_liste_chapitres_enfants (CHAPITRES) {si #ENV{arbo}|=={oui}}{id_parent=#ID_CHAPITRE}{objet?}{id_objet?}{id_mot?}{id_auteur?}{where?}{statut==.*}{recherche?}{tri #ENV{par,num titre},#GET{defaut_tri}}{par titre}> 59 60 #SET{compteur,#GET{compteur}|plus{1}} 60 <tr class="[(#GET{compteur}|alterner{row_odd,row_even})] ">61 <tr class="[(#GET{compteur}|alterner{row_odd,row_even})][ (#EXPOSE{expose})]"> 61 62 <td class="statut">[(#STATUT|puce_statut{chapitre,#ID_CHAPITRE})]</td> 62 63 <td -
_plugins_/chapitres/trunk/prive/style_prive_plugin_chapitres.html
r110352 r110363 5 5 #SET{foncee,##ENV{couleur_foncee,9dba00}} 6 6 7 /* Visualisation de l'arborescence dans les listes de chapitres */7 /* Liste de chapitres : visualiser l'arborescence et détails */ 8 8 .liste-objets.chapitres td { 9 9 border-style: dotted; … … 26 26 } 27 27 </BOUCLE_profondeurs> 28 /* icônes */29 28 .liste-objets.chapitres .icone b { 30 29 display: none; 31 30 } 31 .liste-objets.chapitres tr.expose:not(:hover) td { 32 background-color: [#(#GET{claire}|couleur_eclaircir|couleur_eclaircir)]; 33 }
Note: See TracChangeset
for help on using the changeset viewer.