Browse Source

si les tables existent : FORUMS? SIGNATURES? + borne max à SPIP 4.0.*

chankalan 4 months ago
parent
commit
4653878d45
  1. 6
      inclure/resume/article.html
  2. 4
      inclure/resume/breve.html
  3. 4
      inclure/resume/comment.html
  4. 4
      inclure/resume/rubrique.html
  5. 2
      paquet.xml

6
inclure/resume/article.html

@ -11,14 +11,14 @@
<p class="publication">[<time pubdate="pubdate" datetime="[(#DATE|date_iso)]">#ICON{calendar} (#DATE|affdate_jourcourt)</time>][<span class="authors"><span class="sep">, </span>#ICON{user} <:par_auteur:> (#LESAUTEURS)</span>]</p>
[<div class="#EDIT{intro} introduction entry-content">(#INTRODUCTION{#ENV{coupe,300}})</div>]
<p class="postmeta">
<BOUCLE_nb_commentaires(FORUMS) {id_article}{plat} />[(#TOTAL_BOUCLE|oui)
<BOUCLE_nb_commentaires(FORUMS?) {id_article}{plat} />[(#TOTAL_BOUCLE|oui)
<span class="comments">
<span class="sep">|</span>
<a[ href="(#URL_ARTICLE|ancre_url{comments})"] class="nb_commentaires" [title="(#TOTAL_BOUCLE|singulier_ou_pluriel{zcore:info_1_commentaire,zcore:info_nb_commentaires}|attribut_html)"]>[#ICON{comment} (#TOTAL_BOUCLE)]</a>
</span>
]
<//B_nb_commentaires>
<BOUCLE_combien(SIGNATURES) {id_article}{plat} />[(#TOTAL_BOUCLE|oui)
<BOUCLE_combien(SIGNATURES?) {id_article}{plat} />[(#TOTAL_BOUCLE|oui)
<span class="signatures">
<span class="sep">|</span>
<a[ href="(#URL_ARTICLE|ancre_url{petition})"] class="nb_signatures" [title="(#TOTAL_BOUCLE|singulier_ou_pluriel{zcore:info_1_signature,zcore:info_nb_signatures}|attribut_html)"]>[#ICON{ok-circle} (#TOTAL_BOUCLE)]</a>
@ -27,4 +27,4 @@
<//B_combien>
</p>
</article>
</BOUCLE_resume_article>
</BOUCLE_resume_article>

4
inclure/resume/breve.html

@ -11,11 +11,11 @@
<p class="publication">[<time pubdate="pubdate" datetime="[(#DATE|date_iso)]">#ICON{calendar} (#DATE|affdate_jourcourt)</time>]</p>
[<div class="#EDIT{intro} introduction entry-content">(#INTRODUCTION{#ENV{coupe,300}})</div>]
<p class="postmeta">
<BOUCLE_nb_commentaires(FORUMS) {id_breve}{plat} /> [(#TOTAL_BOUCLE|oui)
<BOUCLE_nb_commentaires(FORUMS?) {id_breve}{plat} /> [(#TOTAL_BOUCLE|oui)
<span class="sep">|</span>
<a[ href="(#URL_BREVE|ancre_url{comments})"] class="nb_commentaires" [title="(#TOTAL_BOUCLE|singulier_ou_pluriel{zcore:info_1_commentaire,zcore:info_nb_commentaires}|attribut_html)"]>[#ICON{comment} (#TOTAL_BOUCLE)]</a>
]
<//B_nb_commentaires>
</p>
</article>
</BOUCLE_resume_breve>
</BOUCLE_resume_breve>

4
inclure/resume/comment.html

@ -4,11 +4,11 @@
Distribue sous licence GPL
]
<BOUCLE_resume_forum(FORUMS) {id_forum} {statut?}>
<BOUCLE_resume_forum(FORUMS?) {id_forum} {statut?}>
<article class="entry comment hentry">
<strong class="h3-like entry-title"><a href="#URL_FORUM" rel="bookmark">#TITRE<span
class="read-more hide">[(#ICON{chevron-right,icon-heavy,[<:zcore:lire_la_suite:><:zcore:lire_la_suite_de:>&laquo;(#TITRE)&raquo;]})]</span></a></strong>
<p class="publication">[<time pubdate="pubdate" datetime="[(#DATE|date_iso)]">#ICON{calendar} (#DATE|affdate_jourcourt)</time>][<span class="authors"><span class="sep">, </span>#ICON{user} <:par_auteur:> (#NOM)</span>]</p>
[<div class="#EDIT{intro} introduction entry-content"><p>(#TEXTE|couper{#ENV{coupe,300}}|PtoBR)</p></div>]
</article>
</BOUCLE_resume_forum>
</BOUCLE_resume_forum>

4
inclure/resume/rubrique.html

@ -11,11 +11,11 @@
<p class="publication">[<time pubdate="pubdate" datetime="[(#DATE|date_iso)]">#ICON{calendar} (#DATE|affdate_jourcourt)</time>]</p>
[<div class="#EDIT{intro} introduction entry-content">(#INTRODUCTION{#ENV{coupe,300}})</div>]
<p class="postmeta">
<BOUCLE_nb_commentaires(FORUMS) {id_rubrique}{plat} /> [(#TOTAL_BOUCLE|oui)
<BOUCLE_nb_commentaires(FORUMS?) {id_rubrique}{plat} /> [(#TOTAL_BOUCLE|oui)
<span class="sep">|</span>
<a[ href="(#URL_RUBRIQUE|ancre_url{comments})"] class="nb_commentaires" [title="(#TOTAL_BOUCLE|singulier_ou_pluriel{zcore:info_1_commentaire,zcore:info_nb_commentaires}|attribut_html)"]>[#ICON{comment} (#TOTAL_BOUCLE)]</a>
]
<//B_nb_commentaires>
</p>
</article>
</BOUCLE_resume_rubrique>
</BOUCLE_resume_rubrique>

2
paquet.xml

@ -3,7 +3,7 @@
categorie="outil"
version="3.0.0"
etat="dev"
compatibilite="[3.2.0;3.3.*]"
compatibilite="[3.2.0;4.0.*]"
logo="prive/themes/spip/images/z-core-64.png"
documentation="https://www.yterium.net/108"
>

Loading…
Cancel
Save