[SPIP Zone] r4329 - in /_squelettes_/blog_SpipClearLeger: ./ themes/ themes/default/ themes/default/img/

Author: ben.spip@gmail.com
Date: Mon Jul 31 21:08:57 2006
New Revision: 4329

Log:
Version légère de SpipClear (qui permet d'utiliser les template de dotclear avec SPIP) . Compatible 1.9 , utilisation de #PAGINATION , disparition des trackbacks, disparition des urls à la Dotclear .

Added:
    _squelettes_/blog_SpipClearLeger/
    _squelettes_/blog_SpipClearLeger/article.html
    _squelettes_/blog_SpipClearLeger/atom.html
    _squelettes_/blog_SpipClearLeger/backend.html
    _squelettes_/blog_SpipClearLeger/headlinks.html
    _squelettes_/blog_SpipClearLeger/layout.html
    _squelettes_/blog_SpipClearLeger/list.html
    _squelettes_/blog_SpipClearLeger/local_fr.php3
    _squelettes_/blog_SpipClearLeger/local_it.php3
    _squelettes_/blog_SpipClearLeger/mes_fonctions.php
    _squelettes_/blog_SpipClearLeger/post.html
    _squelettes_/blog_SpipClearLeger/rss.html
    _squelettes_/blog_SpipClearLeger/rubrique.html
    _squelettes_/blog_SpipClearLeger/search.html
    _squelettes_/blog_SpipClearLeger/sidebar.html
    _squelettes_/blog_SpipClearLeger/sidebar.php3
    _squelettes_/blog_SpipClearLeger/sommaire.html
    _squelettes_/blog_SpipClearLeger/themes/
    _squelettes_/blog_SpipClearLeger/themes/default/
    _squelettes_/blog_SpipClearLeger/themes/default/img/
    _squelettes_/blog_SpipClearLeger/themes/default/img/Thumbs.db (with props)
    _squelettes_/blog_SpipClearLeger/themes/default/img/day-date.png (with props)
    _squelettes_/blog_SpipClearLeger/themes/default/img/page.png (with props)
    _squelettes_/blog_SpipClearLeger/themes/default/img/q.png (with props)
    _squelettes_/blog_SpipClearLeger/themes/default/img/top.png (with props)
    _squelettes_/blog_SpipClearLeger/themes/default/layout-gauche.css
    _squelettes_/blog_SpipClearLeger/themes/default/layout.css
    _squelettes_/blog_SpipClearLeger/themes/default/style.css
    _squelettes_/blog_SpipClearLeger/title.html
    _squelettes_/blog_SpipClearLeger/todo.html

Added: _squelettes_/blog_SpipClearLeger/article.html

--- _squelettes_/blog_SpipClearLeger/article.html (added)
+++ _squelettes_/blog_SpipClearLeger/article.html Mon Jul 31 21:08:57 2006
@@ -0,0 +1,5 @@
+<BOUCLE_article(ARTICLES){id_article}><INCLURE{fond=layout}
+{id_article}
+{id_secteur}
+{date}
+{recherche}></BOUCLE_article>

Added: _squelettes_/blog_SpipClearLeger/atom.html

--- _squelettes_/blog_SpipClearLeger/atom.html (added)
+++ _squelettes_/blog_SpipClearLeger/atom.html Mon Jul 31 21:08:57 2006
@@ -0,0 +1,79 @@
+<?php
+ @header("Content-type: application/atom+xml");
+ echo '<'.'?xml version="1.0" encoding="#CHARSET"?'.'>';
+?>
+<feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="#LANG">
+
+<title >[(#NOM_SITE_SPIP|textebrut|entites_html|entites_unicode)]<?php echo $type == "co" ? " (commentaires)":""; ?></title>
+ <link rel="alternate" type="text/html" href="#URL_SITE_SPIP"></link>
+
+
+ <BOUCLE_date_du_dernier_article_de_la_rubrique(ARTICLES){id_rubrique}{par date}{inverse}{0,1}>
+ <modified>[(#DATE|date_iso)]</modified>
+ </BOUCLE_date_du_dernier_article_de_la_rubrique>
+
+
+
+
+<?php
+if ($GLOBALS['type'] == "co") {
+?>
+
+<BOUCLE_1(FORUMS){id_article}{plat}{par date}{inverse}{0,20}>
+ <item>
+ <entry>
+ <title>[(#TITRE|texte_backend)]</title>
+ <link rel="alternate" type="text/html" href="[(#URL_FORUM|url_absolue)]"></link>
+ <issued>[(#DATE|date_iso)]</issued>
+ <id>[(#URL_FORUM|url_absolue)]</id>
+ <modified>[(#DATE|date_iso)]</modified>
+ <summary>[(#TEXTE|texte_backend)]</summary>
+ </entry>
+ </item>
+</BOUCLE_1>
+
+<BOUCLE_2(FORUMS){plat}{par date}{inverse}{0,20}>
+ <item>
+ <entry>
+ <title>[(#TITRE|texte_backend)]</title>
+ <link rel="alternate" type="text/html" href="[(#URL_FORUM|url_absolue)]"></link>
+ <issued>[(#DATE|date_iso)]</issued>
+ <id[(#URL_FORUM|url_absolue)]</id>
+ <modified>[(#DATE|date_iso)]</modified>
+ <summary>[(#TEXTE|texte_backend)]</summary>
+ </entry>
+ </item>
+</BOUCLE_2>
+
+<//B_1>
+
+<?php
+}
+else
+{
+?>
+
+
+ <BOUCLE_rub(RUBRIQUES){id_rubrique}>
+ <BOUCLE3(ARTICLES){branche}{par date}{inverse}{0,10}>
+ <entry>
+ <title>[(#TITRE|texte_backend)]</title>
+ <link rel="alternate" type="text/html" href="[(#URL_ARTICLE|url_absolue)]"></link>
+ <issued>[(#DATE|date_iso)]</issued>
+ <id>[(#URL_ARTICLE|url_absolue)]</id>
+ <modified>[(#DATE|date_iso)]</modified>
+ <summary>[(#INTRODUCTION|texte_backend)]</summary>
+ <author><name><BOUCLE23(AUTEURS){id_article}{", "}>[(#NOM|texte_backend)]</BOUCLE23>Inconnu<//B23></name></author>
+ </entry>
+ </BOUCLE3>
+ </BOUCLE_rub>
+ <//B_rub>
+
+
+
+<?php
+}
+?>
+
+
+</feed>

Added: _squelettes_/blog_SpipClearLeger/backend.html

--- _squelettes_/blog_SpipClearLeger/backend.html (added)
+++ _squelettes_/blog_SpipClearLeger/backend.html Mon Jul 31 21:08:57 2006
@@ -0,0 +1,33 @@
+<?php
+ @header('Content-type: text/xml[; charset=(#CHARSET)]');
+ echo '<'.'?xml version="1.0" encoding="#CHARSET"?'.">\n";
+?>
+<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/">
+
+<channel>
+ <title>[(#NOM_SITE_SPIP|texte_backend)]</title>
+ <link>#URL_SITE_SPIP/</link>
+ <description></description>
+ <language>#LANG</language>
+
+ <image>
+ <title>[(#NOM_SITE_SPIP|texte_backend)]</title>
+ <url>[(#LOGO_SITE_SPIP||extraire_attribut{src}|url_absolue|texte_backend)]</url>
+ <link>#URL_SITE_SPIP/</link>
+ <description></description>
+ </image>
+
+ <item>
+ <title>Mauvais fichier de backend ;-)</title>
+ <link>#URL_SITE_SPIP/page.php3?fond=rss&amp;id_rubrique=1</link>
+ <date>#DATE</date>
+ <description></description>
+ <author><BOUCLE_auteurs(AUTEURS){id_auteur IN 1,2}{", "}>[(#NOM|texte_backend)]</BOUCLE_auteurs></author>
+ <dc:date>[(#DATE|date_iso)]</dc:date>
+ <dc:format>text/html</dc:format>
+ <dc:language>#LANG</dc:language>
+ <dc:creator><BOUCLE_auteursb(AUTEURS){id_auteur IN 1,2}{", "}>[(#NOM|texte_backend)]</BOUCLE_auteursb></dc:creator>
+ </item>
+</channel>
+
+</rss>

Added: _squelettes_/blog_SpipClearLeger/headlinks.html

--- _squelettes_/blog_SpipClearLeger/headlinks.html (added)
+++ _squelettes_/blog_SpipClearLeger/headlinks.html Mon Jul 31 21:08:57 2006
@@ -0,0 +1,24 @@
+<BOUCLE_post(ARTICLES){id_article}>
+<BOUCLE_previous(ARTICLES){id_secteur}{lang ?}{age_relatif>=0}{par date}{inverse}{1,1}>[
+<link rel="previous" href="(#URL_ARTICLE)" [title="(#TITRE|textebrut|entites_html)"] />
+]</BOUCLE_previous>
+<BOUCLE_next(ARTICLES){id_secteur}{lang ?}{age_relatif<0}{par date}{0,1}>[
+<link rel="next" href="(#URL_ARTICLE)" [title="(#TITRE|textebrut|entites_html)"] />
+]</BOUCLE_next>
+</BOUCLE_post>
+
+<BOUCLE_cat(RUBRIQUES){id_secteur}{id_parent!=0}></BOUCLE_cat>
+<BOUCLE_sections(RUBRIQUES){id_secteur}{id_parent!=0}{par num titre}>[
+<link rel="section" href="(#URL_RUBRIQUE)" title="[(#TITRE|supprimer_numero|textebrut|entites_html)]" />
+]</BOUCLE_sections>
+<//B_cat>
+
+<BOUCLE_home(RUBRIQUES){id_secteur}{id_parent=0}{id_rubrique}>
+<BOUCLE_chapters(ARTICLES){id_secteur}{lang ?}{par date}{inverse}{0,15}>[
+<link rel="chapter" href="(#URL_ARTICLE)" [title="(#TITRE|textebrut|entites_html)"] />
+]</BOUCLE_chapters>
+</BOUCLE_home>
+
+<BOUCLE_archives(ARTICLES){id_secteur}{lang ?}{par date}{inverse}>[
+<link rel="archive" href="[(#ID_SECTEUR|generer_url_rubrique|parametre_url{archives,[(#DATE|affdate_archive)]})]" title="(#DATE|affdate_mois_annee|unique{headlinks})" />
+]</BOUCLE_archives>

Added: _squelettes_/blog_SpipClearLeger/layout.html

--- _squelettes_/blog_SpipClearLeger/layout.html (added)
+++ _squelettes_/blog_SpipClearLeger/layout.html Mon Jul 31 21:08:57 2006
@@ -0,0 +1,53 @@
+[(#CHARSET|doctype)]
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
+ <meta name="MSSmartTagsPreventParsing" content="TRUE" />
+ <INCLURE{fond=headlinks}{delais=7200}{id_article}{id_rubrique}{id_secteur}>
+ [<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=title}{delais=7200}{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="shortcut icon" HREF="#DOSSIER_SQUELETTE/themes/(#ID_SECTEUR|theme|sinon{default})/favicon.ico" />]
+ </head>
+
+ <body>
+ <div id="page">
+
+ <div id="top">
+ <BOUCLE_titre(RUBRIQUES){id_secteur}{id_parent=0}>
+ [<h1>(#LOGO_RUBRIQUE|#URL_RUBRIQUE|inserer_attribut{alt,#TITRE}|inserer_attribut{title,#TITRE}|sinon{<a href="#URL_RUBRIQUE">#TITRE</a>})</h1>]
+ </BOUCLE_titre>
+ [(#REM) Fil d'Ariane ]
+ <div id="hierarchie"><a href="#URL_SITE_SPIP/"><:accueil_site:></a><BOUCLE_ariane(HIERARCHIE){id_article}> &gt; <a href="#URL_RUBRIQUE">[(#TITRE|couper{80})]</a></BOUCLE_ariane>[ &gt; (#TITRE|couper{80})]</div>
+ [(#FORMULAIRE_ADMIN)]
+ [(#SPIP_CRON)]
+ </div>
+
+ <p id="prelude">
+ <a href="#main"><:go_main:></a> |
+ <a href="#sidebar"><:go_sidebar:></a> |
+ <a href="#search"><:go_search:></a>
+ </p>
+
+ <div id="main">
+ <div id="content">
+ [(#RECHERCHE|?{'',' '})
+ [(#ENV{id_article}|?{'',' '})

[... 1373 lines stripped ...]