[SPIP Zone] r4684 - in /_squelettes_/blog_SpipClear: layout.html list.html modeles/billet.html post.html

Author: james@rezo.net
Date: Fri Aug 18 22:27:38 2006
New Revision: 4684

Log:
sc: un modèle de billet

Added:
    _squelettes_/blog_SpipClear/modeles/billet.html
Removed:
    _squelettes_/blog_SpipClear/post.html
Modified:
    _squelettes_/blog_SpipClear/layout.html
    _squelettes_/blog_SpipClear/list.html

Modified: _squelettes_/blog_SpipClear/layout.html

--- _squelettes_/blog_SpipClear/layout.html (original)
+++ _squelettes_/blog_SpipClear/layout.html Fri Aug 18 22:27:38 2006
@@ -7,7 +7,7 @@
     [<link rel="alternate" type="application/rss+xml" title="RSS" href="(#ID_SECTEUR|generer_url_rss)" />]
     [<link rel="alternate" type="application/xml" title="Atom" href="(#ID_SECTEUR|generer_url_atom)" />]
     <INCLURE{fond=modeles/title}{id_article}{id_rubrique}{id_secteur}{archives}>
- [<link rel="stylesheet" type="text/css" href="#DOSSIER_SQUELETTE/themes/(#ID_SECTEUR|theme|sinon{default})/style.css" media="screen" />]
+ [<link rel="stylesheet" type="text/css" href="(#CHEMIN{themes/default/style.css})" media="screen" />]
   </head>

   <body>
@@ -29,9 +29,11 @@

       <div id="main">
         <div id="content">
- [(#ENV{home}|=={1}|?{' '})<INCLURE{fond=home}]
- [(#ENV{id_article}|?{'',' '})<INCLURE{fond=list}{id_rubrique}{archives}{recherche}>]
- [(#ENV{id_article}|?{' ',''})<INCLURE{fond=post}{id_article}>]
+ [(#ENV{home}|=={1}|?{' '})<INCLURE{fond=home}>]
+ [(#ENV{id_article}|?{'',' '})
+ <INCLURE{fond=list}{id_rubrique}{archives}{recherche}>
+ ]
+ [(#ENV{id_article}|?{' ',''})#BILLET{id_article}]
         </div>
       </div>

@@ -41,7 +43,8 @@
         {date=#ENV{archives,#ENV{date}}}
         {recherche}>

- <p id="footer"><:credits:>,
+ <p id="footer">
+ <:credits:>,
     <a href="#URL_SITE_SPIP"><:hebergement:> #NOM_SITE_SPIP</a>
    </p>
       
Modified: _squelettes_/blog_SpipClear/list.html

--- _squelettes_/blog_SpipClear/list.html (original)
+++ _squelettes_/blog_SpipClear/list.html Fri Aug 18 22:27:38 2006
@@ -36,4 +36,10 @@
</div>
</BOUCLE_liste>[
<div>(#PAGINATION)</div>
-]</B_liste>
\ No newline at end of file
+]</B_liste>[
+<div class="error"><strong><:titre_erreur:></strong>
+ <p><:texte_erreur1:>
+ <em>(#RECHERCHE|entites_html)</em>
+ <:texte_erreur2:></p>
+</div>
+]<//B_liste>
\ No newline at end of file

Added: _squelettes_/blog_SpipClear/modeles/billet.html

--- _squelettes_/blog_SpipClear/modeles/billet.html (added)
+++ _squelettes_/blog_SpipClear/modeles/billet.html Fri Aug 18 22:27:38 2006
@@ -0,0 +1,43 @@
+<BOUCLE_article(ARTICLES){id_article}>
+[(#LOGO_ARTICLE|right)]
+<h2 class="post-title">#TITRE</h2>
+<p class="post-info">[<:par_auteur|ucfirst:> (#LESAUTEURS), ]
+[(#DATE|affdate_long)] <:attime:> [(#DATE|heures)]:[(#DATE|minutes)]
+<span>::</span> <BOUCLE_categorie(RUBRIQUES){id_rubrique}><a href="#URL_RUBRIQUE">[(#TITRE|supprimer_numero)]</a></BOUCLE_categorie>
+<span>::</span>#DEBUT_SURLIGNE<a href="#URL_ARTICLE" title="<:permalink_pour:> : [(#TITRE|textebrut|entites_html)]">##ID_ARTICLE</a>#FIN_SURLIGNE
+<span>::</span><a href="[(#ID_ARTICLE|generer_url_rss{article}|parametre_url{type,co})]" title="<:rss_pour:> : [(#TITRE|textebrut|entites_html)]">rss</a>
+</p>
+
+[<div class="post-chapo">
+ #DEBUT_SURLIGNE(#CHAPO)#FIN_SURLIGNE
+</div>]
+[<div class="post-content" lang="#LANG">
+ #DEBUT_SURLIGNE(#TEXTE|reduire_image{450})#FIN_SURLIGNE
+ <br style="clear: both;" />
+ [<div>#DEBUT_SURLIGNE(#NOTES)#FIN_SURLIGNE</div>]
+ [<div>
+ <strong><:voir_en_ligne:></strong> :
+ <a href="(#URL_SITE)">#NOM_SITE</a>
+ </div>]
+</div>]
+
+<div id="comments">
+ <h3 id="co"><:commentaires|ucfirst:></h3>
+ <BOUCLE_commentaires_article(FORUMS){id_article}{par date}>
+ <p id="forum#ID_FORUM" class="comment-info">
+ <span class="comment-number"><a href="#URL_FORUM">#COMPTEUR_BOUCLE.</a></span>
+ [(#DATE|nom_jour)] [(#DATE|affdate)] <:attime:>
+ [(#DATE|heures)]:[(#DATE|minutes)], [<:par_auteur:>
+ <strong>(#NOM)</strong>][ <span>::</span> <a href="(#URL_SITE)">[(#NOM_SITE|sinon{<:site_comment:>})]</a>]</p>
+
+ <blockquote>
+ [<strong>(#TITRE)</strong><br />]
+ #TEXTE
+ </blockquote>
+ </BOUCLE_commentaires_article>
+ <:aucun_commentaire:>
+ <//B_commentaires_article>
+ <h3 id="reponse"><:ajouter_commentaire:></h3>
+ [(#FORMULAIRE_FORUM)][(#PARAMETRES_FORUM|?{'',<:commentaires_fermes:>})]
+</div>
+</BOUCLE_article>
\ No newline at end of file

Removed: _squelettes_/blog_SpipClear/post.html

--- _squelettes_/blog_SpipClear/post.html (original)
+++ _squelettes_/blog_SpipClear/post.html (removed)
@@ -1,40 +0,0 @@
-<BOUCLE_article(ARTICLES){id_article}>
-[(#LOGO_ARTICLE|right)]
-<h2 class="post-title">#TITRE</h2>
-<p class="post-info">[<:par_auteur|ucfirst:> (#LESAUTEURS), ]
-[(#DATE|affdate_long)] <:attime:> [(#DATE|heures)]:[(#DATE|minutes)]
-<span>::</span> <BOUCLE_categorie(RUBRIQUES){id_rubrique}><a href="#URL_RUBRIQUE">[(#TITRE|supprimer_numero)]</a></BOUCLE_categorie>
-<span>::</span>#DEBUT_SURLIGNE<a href="#URL_ARTICLE" title="<:permalink_pour:> : [(#TITRE|textebrut|entites_html)]">##ID_ARTICLE</a>#FIN_SURLIGNE
-<span>::</span><a href="[(#ID_ARTICLE|generer_url_rss{article}|parametre_url{type,co})]" title="<:rss_pour:> : [(#TITRE|textebrut|entites_html)]">rss</a>
-</p>
-
-[<div class="post-chapo">
- #DEBUT_SURLIGNE(#CHAPO)#FIN_SURLIGNE
-</div>]
-[<div class="post-content" lang="#LANG">
- #DEBUT_SURLIGNE(#TEXTE|reduire_image{450})#FIN_SURLIGNE
- <br style="clear: both;" />
- [<div>#DEBUT_SURLIGNE(#NOTES|appliquer_hreflang)#FIN_SURLIGNE</div>]
- [<div><strong><:voir_en_ligne:></strong> : <a href="(#URL_SITE)">#NOM_SITE</a></div>]
-</div>]
-
-<div id="comments">
- <h3 id="co"><:commentaires|ucfirst:></h3>
- <BOUCLE_commentaires_article(FORUMS){id_article}{par date}>
- <p id="forum#ID_FORUM" class="comment-info">
- <span class="comment-number"><a href="#URL_FORUM">#COMPTEUR_BOUCLE.</a></span>
- [(#DATE|nom_jour)] [(#DATE|affdate)] <:attime:>
- [(#DATE|heures)]:[(#DATE|minutes)], [<:par_auteur:>
- <strong>(#NOM)</strong>][ <span>::</span> <a href="(#URL_SITE)">[(#NOM_SITE|sinon{<:site_comment:>})]</a>]</p>
-
- <blockquote>
- [<strong>(#TITRE)</strong><br />]
- #TEXTE
- </blockquote>
- </BOUCLE_commentaires_article>
- <:aucun_commentaire:>
- <//B_commentaires_article>
- <h3 id="reponse"><:ajouter_commentaire:></h3>
- [(#FORMULAIRE_FORUM)][(#PARAMETRES_FORUM|?{'',<:commentaires_fermes:>})]
-</div>
-</BOUCLE_article>
\ No newline at end of file