Browse Source

Déplacement du modèle synthèse.

svn/root
marcimat@rezo.net 4 years ago
parent
commit
628a18039f
4 changed files with 43 additions and 1 deletions
  1. +2
    -0
      .gitattributes
  2. +19
    -0
      modeles/synthese.html
  3. +21
    -0
      modeles/synthese_branche.html
  4. +1
    -1
      paquet.xml

+ 2
- 0
.gitattributes View File

@ -48,6 +48,8 @@ lang/galactic_programmer_en.php -text
lang/galactic_programmer_es.php -text
lang/galactic_programmer_fr.php -text
lang/paquet-galactic_programmer_fr.php -text
modeles/synthese.html -text
modeles/synthese_branche.html -text
/paquet.xml -text
prive/squelettes/contenu/configurer_galactic_programmer.html -text
prive/themes/spip/images/galactic_programmer-128.png -text


+ 19
- 0
modeles/synthese.html View File

@ -0,0 +1,19 @@
[(#REM) title pour le pdf (calcul des numeros de page) ]
<B_synthese>
<table class='spip synthese'>
<thead>
<tr>
<th>[(#ENV{nom,<:galactic_programmer:nom:>})]</th>
<th>[(#ENV{description,<:galactic_programmer:description:>})]</th>
</tr>
</thead>
<tbody>
<BOUCLE_synthese(ARTICLES){id_rubrique=#ENV{id}}{descriptif!=''}{par num titre, titre}>
<tr[ class="(#COMPTEUR_BOUCLE|alterner{odd,even})"]>
<td><a title="art#ID_ARTICLE" href='#URL_ARTICLE'>#TITRE</a></td>
<td><div[ class="(#EDIT{descriptif})"]>[(#DESCRIPTIF|ptobr)]</div></td>
</tr>
</BOUCLE_synthese>
</tbody>
</table>
</B_synthese>

+ 21
- 0
modeles/synthese_branche.html View File

@ -0,0 +1,21 @@
[(#REM) title pour le pdf (calcul des numeros de page) ]
[(#SET{id_rub,#LISTE{#ENV{id}}})]
<BOUCLE_rubs(RUBRIQUES){id_parent=#ENV{id}}>[(#SET_PUSH{id_rub,#ID_RUBRIQUE})]</BOUCLE_rubs>
<B_synthese>
<table class='spip synthese'>
<thead>
<tr>
<th>[(#ENV{nom,<:galactic_programmer:nom:>})]</th>
<th>[(#ENV{description,<:galactic_programmer:description:>})]</th>
</tr>
</thead>
<tbody>
<BOUCLE_synthese(ARTICLES){id_rubrique IN #GET{id_rub}}{descriptif!=''}{par num titre, titre}>
<tr[ class="(#COMPTEUR_BOUCLE|alterner{odd,even})"]>
<td><a title="art#ID_ARTICLE" href='#URL_ARTICLE'>#TITRE</a></td>
<td><div[ class="(#EDIT{descriptif})"]>[(#DESCRIPTIF|ptobr)]</div></td>
</tr>
</BOUCLE_synthese>
</tbody>
</table>
</B_synthese>

+ 1
- 1
paquet.xml View File

@ -26,7 +26,7 @@
<necessite nom="saisies" compatibilite="[1.14.0;]" />
<utilise nom="porte_plume" compatibilite="[1.11.5;]" />
<utilise nom="tickets" compatibilite="[2.0.2;]" />
<utilise nom="tickets" compatibilite="[4.1.1;]" />
<utilise nom="nospam" compatibilite="[0.8.5;]" />
<utilise nom="pages" compatibilite="[1.0.0;]" />
<utilise nom="comments" compatibilite="[3.0.3;]" />


Loading…
Cancel
Save