/trunk/spip/squelettes/images/bl.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/spip/squelettes/images/bl.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/spip/squelettes/images/prev.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/spip/squelettes/images/prev.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/spip/squelettes/images/loading.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/spip/squelettes/images/loading.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/spip/squelettes/images/next.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/spip/squelettes/images/next.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/spip/squelettes/images/tl.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/spip/squelettes/images/tl.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/spip/squelettes/images/b.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/spip/squelettes/images/b.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/spip/squelettes/images/br.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/spip/squelettes/images/br.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/spip/squelettes/images/favicon.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/spip/squelettes/images/favicon.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/spip/squelettes/images/tr.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/spip/squelettes/images/tr.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/spip/squelettes/images/closelabel.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/spip/squelettes/images/closelabel.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/spip/squelettes/mes_options.php |
---|
New file |
0,0 → 1,9 |
<?php |
//$type_urls = "page"; |
//$type_urls = "html"; |
//$type_urls = "propres"; |
//$type_urls = "propres2"; |
$debut_intertitre = "\n<h4>\n"; |
$fin_intertitre = "</h4>\n"; |
//$forcer_lang = true ; |
?> |
/trunk/spip/squelettes/article.html |
---|
New file |
0,0 → 1,31 |
<BOUCLE_art(ARTICLES){id_article}> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<INCLURE{fond=include/head}{id_rubrique}> |
</head> |
<body> |
<div id="wrap"> |
<INCLURE{fond=include/header}{id_rubrique}> |
<div id="principal"> |
<INCLURE{fond=include/menu}{id_rubrique}> |
<div id="contenu" > |
<INCLURE{fond=include/path}{id_rubrique}> |
<BOUCLE_titre(RUBRIQUES){id_rubrique}>[<h2>(#TITRE|supprimer_numero)</h2>]</BOUCLE_titre> |
[<h3>(#TITRE|supprimer_numero)</h3>] |
[<p><strong>(#CHAPO)</strong></p>] |
[(#TEXTE|paragrapher)] |
[<div class="ps">(#PS)</div>] |
</div> |
</div> |
<INCLURE{fond=include/footer}> |
</div> |
</body> |
</html> |
</BOUCLE_art> |
/trunk/spip/squelettes/css/ie6.css |
---|
New file |
0,0 → 1,14 |
/* |
*************************************************************** |
* SQUELETTES EXIBIT POUR SPIP * |
* version 1.3 * |
* last update : 10/03/2009 * |
* Licensed under the MIT * |
* http://www.opensource.org/licenses/mit-license.php * |
* * |
* Copyright 2009 Benoît Vrins {benoit@exibit.be} * |
*************************************************************** |
fix IE6 |
*/ |
/trunk/spip/squelettes/css/styles.css |
---|
New file |
0,0 → 1,372 |
/* |
*************************************************************** |
* SQUELETTES EXIBIT POUR SPIP * |
* version 1.3 * |
* last update : 10/03/2009 * |
* Licensed under the MIT * |
* http://www.opensource.org/licenses/mit-license.php * |
* * |
* Copyright 2009 Beno�t Vrins {benoit@exibit.be} * |
*************************************************************** |
*/ |
* { |
margin: 0; |
padding:0; |
} |
BODY, html{ |
font-size:62.5%; |
} |
body { |
font-family:Arial, sans-serif; |
font-size:1.2em; |
color: #000000; |
line-height: 1.3em; |
margin: 0; |
padding:0; |
} |
A{ |
color:#CC0000; |
text-decoration:none; |
} |
A:HOVER{ |
text-decoration:underline; |
} |
H1{ |
font-size:1.8em; |
margin: 5px 0 20px 0; |
} |
H2{ |
font-size:1.5em; |
margin: 5px 0 20px 0; |
color:#666666; |
font-style:italic; |
} |
H3{ |
font-size:1.4em; |
color:#333333; |
margin: 8px 0 8px 0; |
} |
H4{ |
font-size:1.2em; |
color: #000000; |
font-weight:bold; |
} |
P{ |
font-size:1.1em; |
margin:5px 0 10px 0; |
line-height:1.3em; |
} |
HR{ |
height:1px; |
border-top:#CCCCCC solid 1px; |
border-bottom:none; |
border-left:none; |
border-right:none; |
margin:5px 0 5px 0; |
clear:both; |
} |
UL, OL{ |
margin:10px 0 10px 20px; |
font-size:1.1em; |
} |
IMG{ |
border:none; |
} |
FORM,FIELDSET{ |
margin:0; |
border:none; |
} |
LEGEND{ |
display:none; |
} |
LABEL{ |
font-size:1.1em; |
margin:5px 0 10px 0; |
line-height:1.4em; |
font-weight:bold; |
} |
/* */ |
#principal:after,#tools:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; } |
/*-------------------------------container-------------------------------------*/ |
#wrap{ |
} |
#header{ |
margin:5px auto; |
width:940px; |
height:160px; |
position:relative; |
top:0px; |
left:0px; |
padding:5px; |
border:1px solid #CCC; |
} |
#tools{ |
display:block; |
margin:0 auto; |
position:absolute; |
top:5px; |
right:5px; |
text-align:right; |
padding:5px; |
border:1px solid #CCC; |
width:480px; |
} |
#principal{ |
margin:5px auto; |
width:940px; |
position:relative; |
top:0px; |
left:0px; |
padding:5px; |
background-color:#FFF; |
border:1px solid #CCC; |
} |
#menu{ |
width:230px; |
position:relative; |
top:0px; |
left:0px; |
padding:10px; |
float:left; |
min-height:250px; |
background-color:#FFF; |
border:1px solid #CCC; |
} |
#navigation{ |
display:block; |
margin:0 auto; |
position:absolute; |
top:45px; |
right:5px; |
padding:5px; |
border:1px solid #CCC; |
width:480px; |
} |
#contenu{ |
width:660px; |
position: relative; |
top:0px; |
left:0px; |
padding:10px; |
margin:0; |
float:right; |
min-height:250px; |
background-color:#FFF; |
border:1px solid #CCC; |
} |
#chemin{} |
#footer{ |
width:940px; |
position: relative; |
top:0px; |
left:0px; |
padding:5px; |
margin:5px auto; |
font-size:0.8em; |
text-align:center; |
border:1px solid #CCC; |
clear:both; |
} |
/*-------------------------------navigation-------------------------------------*/ |
#tools LI{ |
display:block; |
float:right; |
padding:0 10px 0 10px; |
} |
#navigation li { |
display:inline; |
margin-left:6px; |
margin-right:6px; |
} |
#menu UL{ |
position:relative; |
margin:0; |
} |
#menu .item1, #menu .item1_down{ |
line-height: 2em; |
display: block; |
font-weight:bold; |
font-size:1.1em; |
border-bottom: #CCC 1px solid; |
} |
.item1 A{ |
} |
.item1 A:HOVER{ |
} |
.item1_down A{ |
color:#333333; |
} |
#menu .item2, #menu .item2_down{ |
display: block; |
font-weight:bold; |
font-size:0.9em; |
line-height: 1.2em; |
padding-left:10px; |
} |
.item2 A{ |
} |
.item2 A:HOVER{ |
height: 18px; |
} |
.item2_down A { |
text-decoration: none; |
color:#333333; |
} |
.item2_down A:HOVER { |
text-decoration: none; |
} |
/*-------------------------------mise en page-------------------------------------*/ |
.col1{ |
width:400px; |
position: relative; |
top:0px; |
left:0px; |
padding:5px; |
float:left; |
} |
.col2{ |
border:1px solid #CCC; |
width:220px; |
position: relative; |
top:0px; |
left:0px; |
padding:5px; |
float:right; |
} |
.article, .article_date, .article_galerie{ |
clear:both; |
} |
.clear{ |
clear:both; |
} |
SPAN.details{ |
display:block; |
border-top:#CCCCCC dotted 1px; |
font-size:1em; |
clear:left; |
margin:5px 0 10px 0; |
} |
.telecharger{ |
font-size:1.2em; |
color: #ff6600; |
font-weight:bold; |
} |
.ps{ |
font-size:0.9em; |
} |
.ps P{ |
font-size:1em; |
} |
.onglet1{ |
float:left; |
margin: 0 8px 8px 0; |
} |
IMG.onglet1{ |
border:solid #CCCCCC 1px; |
padding: 2px; |
} |
IMG.onglet1:hover{ |
border:solid #CC0000 1px; |
} |
/* ----------------------------- SPIP ---------------------------------- */ |
.spip-admin-float{ |
position:absolute; |
top:35px; |
right:100px; |
} |
/* IMAGES SPIP */ |
SPAN.spip_documents_left{ |
padding:2px; |
border:1px solid #989794; |
margin:0 10px 5px 0; |
} |
SPAN.spip_documents_right{ |
padding:2px; |
border:1px solid #989794; |
margin:0 0 5px 10px; |
} |
SPAN.spip_documents_center{ |
margin:5px 0 5px 0; |
display:block; |
text-align:center; |
} |
SPAN.spip_documents_center IMG{ |
padding:2px; |
border:1px solid #989794; |
margin:0 0 5px 10px; |
} |
.spip_doc_titre, .spip_doc_descriptif{font-size:0.75em;line-height:1.1em;} |
/* FORMULAIRES SPIP */ |
#formulaire_recherche LABEL, |
.formulaire_recherche LABEL, |
#formulaire_menu_lang LABEL{ |
display:none; |
} |
INPUT#recherche{ |
width:120px; |
color:#999; |
font-size:10px; |
} |
INPUT.forml, INPUT.formo{ |
background-color:#CCC; |
width:300px; |
padding:3px; |
border:none; |
display:block; |
margin:5px 0 5px 0; |
font-size:13px; |
} |
TEXTAREA.forml, TEXTAREA.formo{ |
background-color:#CCC; |
width:320px; |
padding:3px; |
font-family:Arial, Georgia, "Times New Roman"; |
border:none; |
display:block; |
margin:5px 0 5px 0; |
font-size:12px; |
} |
.spip_form_choix_multiple LI{ |
list-style:none; |
} |
.spip_form_choix_multiple LABEL{ |
font-size:0.9em; |
} |
/* TABLEAUX SPIP */ |
table.spip tr.row_even{ |
background-color:#ebe6d2 ; |
} |
table.spip tr.row_odd { |
background-color:#FFFFFF; |
} |
table.spip th, table.spip td { |
padding: 3px 5px 3px 5px; |
text-align: left; |
vertical-align: middle; |
line-height:1.3em; |
} |
table.spip { |
margin-bottom: 1em; |
margin-top: 1em; |
border:#ebe6d2 3px solid; |
border-collapse: collapse; |
padding:1px; |
font-size:12px; |
} |
/trunk/spip/squelettes/css/ie7.css |
---|
New file |
0,0 → 1,18 |
/* |
*************************************************************** |
* SQUELETTES EXIBIT POUR SPIP * |
* version 1.3 * |
* last update : 10/03/2009 * |
* Licensed under the MIT * |
* http://www.opensource.org/licenses/mit-license.php * |
* * |
* Copyright 2009 Benoît Vrins {benoit@exibit.be} * |
*************************************************************** |
fix IE7 |
*/ |
HR{ |
margin:0; |
} |
/trunk/spip/squelettes/css/facebox.css |
---|
New file |
0,0 → 1,89 |
#facebox .b { |
background:url(../images/b.png); |
} |
#facebox .tl { |
background:url(../images/tl.png); |
} |
#facebox .tr { |
background:url(../images/tr.png); |
} |
#facebox .bl { |
background:url(../images/bl.png); |
} |
#facebox .br { |
background:url(../images/br.png); |
} |
#facebox { |
position: absolute; |
width: 100%; |
top: 0; |
left: 0; |
z-index: 100; |
text-align: left; |
} |
#facebox .popup { |
position: relative; |
} |
#facebox table { |
margin: auto; |
border-collapse: collapse; |
} |
#facebox .body { |
padding: 10px; |
background: #fff; |
width: 370px; |
} |
#facebox .loading { |
text-align: center; |
} |
#facebox .image { |
text-align: center; |
} |
#facebox img { |
border: 0; |
} |
#facebox .footer { |
border-top: 1px solid #DDDDDD; |
padding-top: 5px; |
margin-top: 3px; |
text-align: center; |
} |
#facebox .info { |
margin-top: 5px; |
font-family: "lucida grande",tahoma,verdana,arial,sans-serif; |
color: #777; |
line-height: 16px; |
font-size: 11px; |
} |
#facebox .navigation { |
float: left; |
} |
#facebox .close { |
float: right; |
} |
#facebox .next, #facebox .prev { |
font-size: 170%; |
} |
#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br { |
height: 10px; |
width: 10px; |
overflow: hidden; |
padding: 0; |
} |
/trunk/spip/squelettes/404.html |
---|
New file |
0,0 → 1,25 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<INCLURE{fond=include/head}> |
</head> |
<body> |
<div id="wrap"> |
<INCLURE{fond=include/header}> |
<div id="principal"> |
<INCLURE{fond=include/menu}> |
<div id="contenu" > |
<div id="chemin"><:vous_etes_ici:> : <a href="#"><:erreur404:></a></div> |
<h3><:erreur404:></h3> |
<p><:erreur404_details:></p> |
</div> |
</div> |
<INCLURE{fond=include/footer}> |
</div> |
</body> |
</html> |
/trunk/spip/squelettes/readme.txt |
---|
New file |
0,0 → 1,79 |
*************************************************************** |
* SQUELETTES EXIBIT POUR SPIP * |
* version 1.3 * |
* last update : 06/01/2008 * |
* Licensed under the MIT * |
* http://www.opensource.org/licenses/mit-license.php * |
* * |
* Copyright 2009 Benoît Vrins {benoit@exibit.be} * |
*************************************************************** |
1. Présentation |
--------------- |
Les "Squelettes Exibit" ont été spécialement développés comme une base stable, à la structure sémantique et respectueuse des standards. |
Ils possèdent de nombreux atouts de base laissant aux auteurs de SPIP une grande souplesse dans la mise en page de leurs contenus |
Les "Squelettes Exibit" disposent d'un système de CSS qui permet aux graphistes de développer un look & feel laissant libre champ à leur créativité (pour autant qu'on maitrise le CSS) |
Ces squelettes SPIP possèdent les caractéristiques suivantes : |
- valides XHTML 1.0 Transitional |
- librairie JS "FACEBOX" permettant l'ouverture de contenu dans des fenêtres (la galerie photos fonctionne avec cette librairie) |
- mise en page des rubriques par mots-clés |
- galerie photos avec création automatique d'onglets et visionneuse |
- Squelettes fonctionnels |
- 404 (page d'erreur en cas de contenu non trouvé) |
- article : visite du site par article |
- rubrique : visite du site par rubrique (menu) |
- recherche : page de résultats de la recherche |
- plan : plan du site |
- sommaire : page d'accueil du site |
- toutes les zones de la pages sont stockées dans un sous-répertoire "include" (menu à 3 niveaux, footer, header, ...) |
- Une CSS générale et des CSS particulières pour les navigateurs capricieux : |
- Internet Explorer 7 |
- Internet Explorer 6 |
2. Configuration |
---------------- |
2.1. MISE EN PAGE PAR MOT CLE |
----------------------------- |
Par défaut, quand on visite le site avec le squelette "rubrique", les articles s'affichent en entier l'un en dessosu de l'autre par numéro d'article. |
Vous pouvez changer la mise en page des rubriques selon 3 mises en page : |
- "affichage par numéro d'articles du titre + introduction + lien 'lire plus'" |
- "affichage par date du titre + introduction + + date + lien 'lire plus'" |
- "affichage par numéro d'articles desarticles en entier+ affichage des onglets des images contenues dans l'article avec lien vers visionneuse" |
Pour configurer ce système, veuillez suivre la procédure suivante : |
- créez un groupe de mot clé dans SPIP intitulé par exemple "mise en page de rubrique" et cochez uniquement "associés aux rubriques" |
- créez 3 mots clés dans ce groupes avec les intitulés suivant |
- "introduction" |
- "introduction + date" |
- "galerie photo" |
- par défaut le système fonctionne avec ces numéros (ID_MOT) |
- "introduction" -> 1 |
- "introduction + date" -> 2 |
- "galerie photo" -> 3 |
- Si vos mots-clés créés ci-dessous possèdent d'autres numéros, vous devez éditer manuellement le fichier "include/article-contenu.html" |
- Vous devez ensuite associer aux rubriques pour lequel vous voulez une mise en page particulière le mot-clé désiré. Les articles de cette rubrique s'afficheront alors selon les critères définis. |
- Exception: pour la mise en page sur deux colonnes, il faut également créer un nouveau groupe de mot-clés intitulé par exemple "mise en page articles" dans lequel vous créer un mot-clé appelé "colonne de droite" (dans le squelette, le n° de mot-clé défini est le "5"). |
La procédure est donc |
1. Associer le mot-clé "2 colonnes" à la rubrique, |
2. Associer le mot-clé "colonne de droite" aux articles qui doivent figurer dans la colonne de droite (par défaut il sont dans la colonne de gauche ou colonne principale). |
2.2. GALERIE PHOTO |
------------------ |
- Si ce n'est pas encore fait dans la console de configuration de "SPIP", vous devez activer dans "fonctions avancées" une des méthodes de fabrication des vignettes (GD2 recommandée) |
- le création des vignettes fonctionne avec un masque PNG placé à la racine du répertoire principal "masque.png". Vous pouvez en modifier la taille via un logiciel d'édition image au besoin |
- la visionneuse fonctionne avec la librairie JS "FACEBOX" (http://famspam.com/facebox) basée sur JQUERY (natif sur la version 2 de SPIP, il faut donc bien placer la balise #INSERT_HEAD entre les balises "head", OK dans les squelettes Exibit). Vous pouvez éditer les styles graphiques de celle-ci dans le fichier "css/facebox.css" |
- Pensez à donner un titre à vos images ainsi qu'une description, iles apparaitront dans la visionneuse |
- Dans les rubriques qui fonctionnent avec le mot clé "galerie photo", ils nest pas nécessaire de positionner les images importées dans les articles au moyen des balises SPIP "<imgxxx>". |
Sinon les images vont apparaitre deux fois (une fois là où vous l'avez positionnée et une autre fois en bas dans la liste des onglets) |
2.3. CSS |
-------- |
- La CSS mise à dispo est ultra basique. Les zones de mises en pages principales sont entourées d'une bordure grise afin que vous puissiez clairement visualiser celles-ci. |
- L'objectif est bien entendu que les graphistes puissent développer sur cette base un CSS enrichie laissant libre champ à leur créativité |
- Les images nécessaires au look and feel du site seront idéalement stockés dans le répertoire "images" |
2.4. DIVERS |
----------- |
- Le lien "mentions légales" (obligatoires dans de nombreux pays) dans le footer est à activer (vers l'article que vous créerez) |
- Des styles dans la CSS sont prévus pour certains plugins comme par exemple "Forms & Tables" |
- Fonctionne avec SPIP 1.9.2 (la galerie photo non vérifiée) et SPIP 2.0 |
/trunk/spip/squelettes/recherche.html |
---|
New file |
0,0 → 1,35 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<INCLURE{fond=include/head}> |
</head> |
<body> |
<div id="wrap"> |
<INCLURE{fond=include/header}> |
<div id="principal"> |
<INCLURE{fond=include/menu}> |
<div id="contenu" > |
<div id="chemin"><:vous_etes_ici:> <a href="#">Recherche</a></div> |
<!-- Articles trouves --> |
<B_articlesAA> |
<h3><:resultats_recherche:></h3> |
<dl id="resultats"> |
<BOUCLE_articlesAA(ARTICLES){recherche}{par date}{inverse}> |
<dt><a href="#URL_ARTICLE">[(#TITRE|supprimer_numero)]</a></dt> |
<dd>[(#INTRODUCTION|paragrapher|couper{50})]</dd> |
</BOUCLE_articlesAA> |
</dl> |
</B_articlesAA> |
<p><:resultats_recherche_pas:></p> |
<//B_articlesAA> |
</div> |
</div> |
<INCLURE{fond=include/footer}> |
</div> |
</body> |
</html> |
/trunk/spip/squelettes/js/application.js |
---|
New file |
0,0 → 1,13 |
/* |
* Application for Facebox (for jQuery) |
* Adaptation pour le Squelette SPIP |
* Ce fichier peut également contenir toutes les scripts custom |
* (06/01/2008) |
* @requires jQuery v1.2 or later |
*/ |
jQuery(document).ready(function($) { |
$('a[rel*=facebox]').facebox({ |
loading_image : 'squelettes/images/loading.gif', |
close_image : 'squelettes/images/closelabel.gif' |
}) |
}) |
/trunk/spip/squelettes/js/facebox.js |
---|
New file |
0,0 → 1,319 |
/* |
* Facebox (for jQuery) |
* version: 1.1 (01/20/2007) |
* @requires jQuery v1.2 or later |
* |
* Examples at http://famspam.com/facebox/ |
* |
* Licensed under the MIT: |
* http://www.opensource.org/licenses/mit-license.php |
* |
* Copyright 2007 Chris Wanstrath { chris@ozmm.org } |
* |
* Usage: |
* |
* jQuery(document).ready(function($) { |
* $('a[rel*=facebox]').facebox() |
* }) |
* |
* <a href="#terms" rel="facebox">Terms</a> |
* Loads the #terms div in the box |
* |
* <a href="terms.html" rel="facebox">Terms</a> |
* Loads the terms.html page in the box |
* |
* <a href="terms.png" rel="facebox">Terms</a> |
* Loads the terms.png image in the box |
* |
* |
* You can also use it programmatically: |
* |
* jQuery.facebox('some html') |
* |
* This will open a facebox with "some html" as the content. |
* |
* jQuery.facebox(function($) { $.ajaxes() }) |
* |
* This will show a loading screen before the passed function is called, |
* allowing for a better ajax experience. |
* |
*/ |
(function($) { |
/** |
* The static facebox() function, can be passed a string or |
* function. |
* |
* You can also use it programmatically: |
* |
* jQuery.facebox('some html') |
* |
* This will open a facebox with "some html" as the content. |
* |
* jQuery.facebox(function($) { $.ajaxes() }) |
* |
* This will show a loading screen before the passed function is called, |
* allowing for a better ajax experience. |
*/ |
$.facebox = function(data) { |
facebox_init() |
facebox_loading() |
$.isFunction(data) ? data.call(this, $) : facebox_reveal(data) |
return $ |
} |
/** |
* Facebox settings, which can be modified through the facebox() method |
* or directly. |
* |
* jQuery('a[rel*=facebox]').facebox({ loading_image: '/images/spinner.gif' }) |
* |
* jQuery.facebox.settings.loading_image = '/images/spinner.gif' |
*/ |
$.facebox.settings = { |
loading_image : 'squelettes/images/loading.gif', |
close_image : 'squelettes/images/closelabel.gif', |
image_types : [ 'png', 'jpg', 'jpeg', 'gif' ], |
next_image : 'squelettes/images/next.gif', |
prev_image : 'squelettes/images/prev.gif', |
play_image : 'squelettes/images/play.gif', |
pause_image : 'squelettes/images/pause.gif', |
slide_duration: 6, |
facebox_html : '\ |
<div id="facebox" style="display:none;"> \ |
<div class="popup"> \ |
<table> \ |
<tbody> \ |
<tr> \ |
<td class="tl"/><td class="b"/><td class="tr"/> \ |
</tr> \ |
<tr> \ |
<td class="b"/> \ |
<td class="body"> \ |
<div class="content"> \ |
</div> \ |
<div class="info"></div> \ |
<div class="footer"> \ |
<div class="navigation"></div> \ |
<a href="#" class="close"> \ |
<img src="/facebox/loading.gif" title="close" class="close_image" /> \ |
</a> \ |
</div> \ |
</td> \ |
<td class="b"/> \ |
</tr> \ |
<tr> \ |
<td class="bl"/><td class="b"/><td class="br"/> \ |
</tr> \ |
</tbody> \ |
</table> \ |
</div> \ |
</div>' |
} |
var $s = $.facebox.settings |
$.fn.facebox = function(settings) { |
facebox_init(settings) |
var image_types = $s.image_types.join('|') |
image_types = new RegExp('\.' + image_types + '$', 'i') |
// suck out the images |
var images = [] |
$(this).each(function() { |
if (this.href.match(image_types) && $.inArray(this.href, images) == -1) |
images.push(this.href) |
}) |
if (images.length == 1) images = null |
function click_handler() { |
if ($('#facebox .loading').length == 1) return false |
facebox_loading() |
// support for rel="facebox[.inline_popup]" syntax, to add a class |
var klass = this.rel.match(/facebox\[\.(\w+)\]/) |
if (klass) klass = klass[1] |
// div |
if (this.href.match(/#/)) { |
var url = window.location.href.split('#')[0] |
var target = this.href.replace(url,'') |
facebox_reveal($(target).clone().show(), klass) |
// image |
} else if (this.href.match(image_types)) { |
facebox_reveal_image(this.href, images, klass) |
// ajax |
} else { |
$.get(this.href, function(data) { facebox_reveal(data, klass) }) |
} |
return false |
} |
return this.click(click_handler) |
} |
/** |
* The init function is a one-time setup which preloads vital images |
* and other niceities. |
*/ |
function facebox_init(settings) { |
if ($s.inited && typeof settings == 'undefined') |
return true |
else |
$s.inited = true |
if (settings) $.extend($s, settings) |
$('body').append($s.facebox_html) |
var preload = [ new Image(), new Image() ] |
preload[0].src = $s.close_image |
preload[1].src = $s.loading_image |
$('#facebox').find('.b:first, .bl, .br, .tl, .tr').each(function() { |
preload.push(new Image()) |
preload.slice(-1).src = $(this).css('background-image').replace(/url\((.+)\)/, '$1') |
}) |
$('#facebox .close').click(facebox_close) |
$('#facebox .close_image').attr('src', $s.close_image) |
} |
/** |
* The loading function prepares the facebox by displaying it |
* in the proper spot, cleaning its contents, attaching keybindings |
* and showing the loading image. |
*/ |
function facebox_loading() { |
if ($('#facebox .loading').length == 1) return true |
$(document).unbind('.facebox') |
$('#facebox .content, #facebox .info, #facebox .navigation').empty() |
$('#facebox .body').children().hide().end(). |
append('<div class="loading"><img src="'+$s.loading_image+'"/></div>') |
var pageScroll = getPageScroll() |
$('#facebox').css({ |
top: pageScroll[1] + (getPageHeight() / 10), |
left: pageScroll[0] |
}).show() |
$(document).bind('keydown.facebox', function(e) { |
if (e.keyCode == 27) facebox_close() |
}) |
} |
/** |
* The facebox_reveal function sets the user-defined class (if any) |
* on the .content div, removes the loading image, and displays |
* the data. If an extra_setup functino is provided, it will be run |
* right before the data is displayed but after it is added. |
*/ |
function facebox_reveal(data, klass, extra_setup) { |
$('#facebox .content').addClass(klass).append(data) |
$('#facebox .loading').remove() |
if ($.isFunction(extra_setup)) extra_setup.call(this) |
$('#facebox .body > *').fadeIn('normal') |
} |
/** |
* Used to load and show an image in the facebox. Involved in the slideshow business. |
*/ |
function facebox_reveal_image(href, images, klass) { |
if (images) var extra_setup = facebox_setup_gallery(href, images, klass) |
var image = new Image() |
image.onload = function() { |
facebox_reveal('<div class="image"><img src="' + image.src + '" /></div>', klass, extra_setup) |
// load the next image in the background |
if (images) { |
var position = $.inArray(href, images) |
var next = new Image() |
next.src = images[position+1] ? images[position+1] : images[0] |
} |
} |
image.src = href |
} |
/** |
* Unbinds all listeners and closes the facebox. |
*/ |
function facebox_close() { |
facebox_stop_slideshow() |
$(document).unbind('.facebox') |
$('#facebox').fadeOut(function() { |
$('#facebox .content').removeClass().addClass('content') |
}) |
return false |
} |
function facebox_setup_gallery(href, images, klass) { |
var position = $.inArray(href, images) |
var jump = function(where) { |
facebox_loading() |
if (where >= images.length) where = 0 |
if (where < 0) where = images.length - 1 |
facebox_reveal_image(images[where], images, klass) |
} |
return function() { |
$('#facebox .image').click(function() { jump(position + 1) }).css('cursor', 'pointer') |
$('#facebox .info').append('' + (position + 1) + '/' + images.length) |
$('#facebox .navigation'). |
append('<img class="prev" src="' + $s.prev_image + '"/>' + |
'<img class="next" src="' + $s.next_image + '"/>'). |
find('img').css('cursor', 'pointer').end(). |
find('.prev').click(function() { jump(position - 1); return false }).end(). |
find('.next').click(function() { jump(position + 1); return false }).end() |
$('#facebox .play').bind('click.facebox', function() { |
$s.playing ? facebox_stop_slideshow() : facebox_start_slideshow() |
return false |
}) |
$(document).bind('keydown.facebox', function(e) { |
if (e.keyCode == 39) jump(position + 1) // right |
if (e.keyCode == 37) jump(position - 1) // left |
}) |
} |
} |
function facebox_start_slideshow() { |
$('#facebox .play').attr('src', $s.pause_image) |
$s.playing = setInterval(function() { $('#facebox .next').click() }, $s.slide_duration * 1000) |
} |
function facebox_stop_slideshow() { |
$('#facebox .play').attr('src', $s.play_image) |
clearInterval($s.playing) |
$s.playing = false |
} |
// getPageScroll() by quirksmode.com |
function getPageScroll() { |
var xScroll, yScroll; |
if (self.pageYOffset) { |
yScroll = self.pageYOffset; xScroll = self.pageXOffset; |
} else if (document.documentElement && document.documentElement.scrollTop) { // Explorer 6 Strict |
yScroll = document.documentElement.scrollTop; xScroll = document.documentElement.scrollLeft; |
} else if (document.body) {// all other Explorers |
yScroll = document.body.scrollTop; xScroll = document.body.scrollLeft; |
} |
return new Array(xScroll,yScroll) |
} |
// adapter from getPageSize() by quirksmode.com |
function getPageHeight() { |
var windowHeight |
if (self.innerHeight) { // all except Explorer |
windowHeight = self.innerHeight; |
} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode |
windowHeight = document.documentElement.clientHeight; |
} else if (document.body) { // other Explorers |
windowHeight = document.body.clientHeight; |
} |
return windowHeight |
} |
})(jQuery); |
/trunk/spip/squelettes/js/jquery.pngFix.js |
---|
New file |
0,0 → 1,111 |
/** |
* -------------------------------------------------------------------- |
* jQuery-Plugin "pngFix" |
* Version: 1.1, 11.09.2007 |
* by Andreas Eberhard, andreas.eberhard@gmail.com |
* http://jquery.andreaseberhard.de/ |
* |
* Copyright (c) 2007 Andreas Eberhard |
* Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php) |
* |
* Changelog: |
* 11.09.2007 Version 1.1 |
* - removed noConflict |
* - added png-support for input type=image |
* - 01.08.2007 CSS background-image support extension added by Scott Jehl, scott@filamentgroup.com, http://www.filamentgroup.com |
* 31.05.2007 initial Version 1.0 |
* -------------------------------------------------------------------- |
* @example $(function(){$(document).pngFix();}); |
* @desc Fixes all PNG's in the document on document.ready |
* |
* jQuery(function(){jQuery(document).pngFix();}); |
* @desc Fixes all PNG's in the document on document.ready when using noConflict |
* |
* @example $(function(){$('div.examples').pngFix();}); |
* @desc Fixes all PNG's within div with class examples |
* |
* @example $(function(){$('div.examples').pngFix( { blankgif:'ext.gif' } );}); |
* @desc Fixes all PNG's within div with class examples, provides blank gif for input with png |
* -------------------------------------------------------------------- |
*/ |
(function($) { |
jQuery.fn.pngFix = function(settings) { |
// Settings |
settings = jQuery.extend({ |
blankgif: 'blank.gif' |
}, settings); |
var ie55 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 5.5") != -1); |
var ie6 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 6.0") != -1); |
if (jQuery.browser.msie && (ie55 || ie6)) { |
//fix images with png-source |
jQuery(this).find("img[@src$=.png]").each(function() { |
jQuery(this).attr('width',jQuery(this).width()); |
jQuery(this).attr('height',jQuery(this).height()); |
var prevStyle = ''; |
var strNewHTML = ''; |
var imgId = (jQuery(this).attr('id')) ? 'id="' + jQuery(this).attr('id') + '" ' : ''; |
var imgClass = (jQuery(this).attr('class')) ? 'class="' + jQuery(this).attr('class') + '" ' : ''; |
var imgTitle = (jQuery(this).attr('title')) ? 'title="' + jQuery(this).attr('title') + '" ' : ''; |
var imgAlt = (jQuery(this).attr('alt')) ? 'alt="' + jQuery(this).attr('alt') + '" ' : ''; |
var imgAlign = (jQuery(this).attr('align')) ? 'float:' + jQuery(this).attr('align') + ';' : ''; |
var imgHand = (jQuery(this).parent().attr('href')) ? 'cursor:hand;' : ''; |
if (this.style.border) { |
prevStyle += 'border:'+this.style.border+';'; |
this.style.border = ''; |
} |
if (this.style.padding) { |
prevStyle += 'padding:'+this.style.padding+';'; |
this.style.padding = ''; |
} |
if (this.style.margin) { |
prevStyle += 'margin:'+this.style.margin+';'; |
this.style.margin = ''; |
} |
var imgStyle = (this.style.cssText); |
strNewHTML += '<span '+imgId+imgClass+imgTitle+imgAlt; |
strNewHTML += 'style="position:relative;white-space:pre-line;display:inline-block;background:transparent;'+imgAlign+imgHand; |
strNewHTML += 'width:' + jQuery(this).width() + 'px;' + 'height:' + jQuery(this).height() + 'px;'; |
strNewHTML += 'filter:progid:DXImageTransform.Microsoft.AlphaImageLoader' + '(src=\'' + jQuery(this).attr('src') + '\', sizingMethod=\'scale\');'; |
strNewHTML += imgStyle+'"></span>'; |
if (prevStyle != ''){ |
strNewHTML = '<span style="position:relative;display:inline-block;'+prevStyle+imgHand+'width:' + jQuery(this).width() + 'px;' + 'height:' + jQuery(this).height() + 'px;'+'">' + strNewHTML + '</span>'; |
} |
jQuery(this).hide(); |
jQuery(this).after(strNewHTML); |
}); |
// fix css background pngs |
jQuery(this).find("*").each(function(){ |
var bgIMG = jQuery(this).css('background-image'); |
if(bgIMG.indexOf(".png")!=-1){ |
var iebg = bgIMG.split('url("')[1].split('")')[0]; |
jQuery(this).css('background-image', 'none'); |
jQuery(this).get(0).runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + iebg + "',sizingMethod='scale')"; |
} |
}); |
//fix input with png-source |
jQuery(this).find("input[@src$=.png]").each(function() { |
var bgIMG = jQuery(this).attr('src'); |
jQuery(this).get(0).runtimeStyle.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader' + '(src=\'' + bgIMG + '\', sizingMethod=\'scale\');'; |
jQuery(this).attr('src', settings.blankgif) |
}); |
} |
return jQuery; |
}; |
})(jQuery); |
/trunk/spip/squelettes/plan.html |
---|
New file |
0,0 → 1,49 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<INCLURE{fond=include/head}> |
</head> |
<body> |
<div id="wrap"> |
<INCLURE{fond=include/header}> |
<div id="principal"> |
<INCLURE{fond=include/menu}> |
<div id="contenu" > |
<div id="chemin"><:vous_etes_ici:> : <a href="#"><:plan:></a></div> |
<h3><:plan:></h3> |
<!-- Plan du site --> |
<BOUCLE_secteurs(RUBRIQUES) {racine} {par titre}> |
<h4><a href="#URL_RUBRIQUE">[(#TITRE|supprimer_numero)]</a></h4> |
<!-- Articles et sous-rubriques --> |
<B_articles_racine> |
<ul> |
<BOUCLE_articles_racine(ARTICLES) {id_rubrique} {par titre}> |
<li><a href="#URL_ARTICLE">[(#TITRE|supprimer_numero)]</a></li> |
</BOUCLE_articles_racine> |
</ul> |
</B_articles_racine> |
<B_rubriques> |
<ul> |
<BOUCLE_rubriques(RUBRIQUES) {id_parent} {par titre}{id_rubrique!=47}> |
<li><a href="#URL_RUBRIQUE">[(#TITRE|supprimer_numero)]</a> |
<BOUCLE_sous_rubriques(BOUCLE_rubriques)></BOUCLE_sous_rubriques> |
</li> |
</BOUCLE_rubriques> |
</ul> |
</B_rubriques> |
<hr /> |
</BOUCLE_secteurs> |
</div> |
</div> |
<INCLURE{fond=include/footer}> |
</div> |
</body> |
</html> |
/trunk/spip/squelettes/masque.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/spip/squelettes/masque.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/spip/squelettes/sommaire.html |
---|
New file |
0,0 → 1,28 |
<BOUCLE_accueil(RUBRIQUES){id_rubrique=1}> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<INCLURE{fond=include/head}{id_rubrique}> |
</head> |
<body> |
<div id="wrap"> |
<INCLURE{fond=include/header}{id_rubrique}> |
<div id="principal"> |
<INCLURE{fond=include/menu}{id_rubrique}> |
<div id="contenu" > |
<INCLURE{fond=include/path}{id_rubrique}> |
<INCLURE{fond=include/article-home}{id_rubrique}> |
</div> |
</div> |
<INCLURE{fond=include/footer}> |
</div> |
</body> |
</html> |
</BOUCLE_accueil> |
/trunk/spip/squelettes/lang/public_fr.php |
---|
New file |
0,0 → 1,30 |
<?php |
// This is a SPIP language file -- Ceci est un fichier langue de SPIP |
$GLOBALS[$GLOBALS['idx_lang']] = array( |
// E |
'et' => 'et', |
'erreur404' => 'Erreur 404', |
'erreur404_details' => 'Désolé, il n\'y a pas de contenu à cette adresse.', |
// L |
'lire_plus' => 'lire plus', |
// M |
'mentions_legales' => 'Mentions légales', |
// P |
'plan' => 'Plan du site', |
//R |
'retour' => 'Retour à l\'accueil', |
'resultats_recherche' => 'Résultats de la recherche', |
'resultats_recherche_pas' => 'Sorry, no results', |
// S |
'syndication' => 'Syndication', |
'standards_web' => 'Ce site respecte les standards du web', |
//V |
'vous_etes_ici' => 'Vous êtes ici' |
); |
?> |
/trunk/spip/squelettes/lang/public_nl.php |
---|
New file |
0,0 → 1,29 |
<?php |
// This is a SPIP language file -- Ceci est un fichier langue de SPIP |
$GLOBALS[$GLOBALS['idx_lang']] = array( |
// E |
'et' => 'en', |
'erreur404' => 'Error 404', |
'erreur404_details' => 'Sorry, geen inhoud.', |
// L |
'lire_plus' => 'lees meer', |
// M |
'mentions_legales' => 'Disclaimer', |
// P |
'plan' => 'Sitemap', |
//R |
'retour' => 'Terug naar homepage', |
'resultats_recherche' => 'Zoek resultaten', |
'resultats_recherche_pas' => 'Sorry, geen resultaat', |
// S |
'syndication' => 'Syndication', |
'standards_web' => 'Dit website respecteerd web standards' |
//V |
'vous_etes_ici' => 'U bent hier' |
); |
?> |
/trunk/spip/squelettes/lang/public_en.php |
---|
New file |
0,0 → 1,29 |
<?php |
// This is a SPIP language file -- Ceci est un fichier langue de SPIP |
$GLOBALS[$GLOBALS['idx_lang']] = array( |
// E |
'et' => 'and', |
'erreur404' => 'Error 404', |
'erreur404_details' => 'Sorry, no content here.', |
// L |
'lire_plus' => 'read more', |
// M |
'mentions_legales' => 'Disclaimer', |
// P |
'plan' => 'Sitemap', |
//R |
'retour' => 'Back to the homepage', |
'resultats_recherche' => 'Search results', |
'resultats_recherche_pas' => 'Sorry, no results', |
// S |
'syndication' => 'Syndication', |
'standards_web' => 'This website respects web standards', |
//V |
'vous_etes_ici' => 'You are here' |
); |
?> |
/trunk/spip/squelettes/rubrique.html |
---|
New file |
0,0 → 1,27 |
<BOUCLE_rub(RUBRIQUES){id_rubrique}> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<INCLURE{fond=include/head}{id_rubrique}> |
</head> |
<body> |
<div id="wrap"> |
<INCLURE{fond=include/header}{id_rubrique}> |
<div id="principal"> |
<INCLURE{fond=include/menu}{id_rubrique}> |
<div id="contenu" > |
<INCLURE{fond=include/path}{id_rubrique}> |
<INCLURE{fond=include/rubrique-contenu}{id_rubrique}> |
<INCLURE{fond=include/article-contenu}{id_rubrique}> |
</div> |
</div> |
<INCLURE{fond=include/footer}> |
</div> |
</body> |
</html> |
</BOUCLE_rub> |
/trunk/spip/squelettes/include/tools.html |
---|
New file |
0,0 → 1,6 |
<ul id="tools"> |
<li class="item1">#MENU_LANG</li> |
<li class="item1">#FORMULAIRE_RECHERCHE</li> |
<li class="item1"><a href="?page=backend"><:syndication:></a></li> |
<li class="item1"><a href="?page=plan"><:plan:></a></li> |
</ul> |
/trunk/spip/squelettes/include/head.html |
---|
New file |
0,0 → 1,24 |
<title>#NOM_SITE_SPIP</title> |
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" /> |
<meta name="description" content="[(#DESCRIPTIF_SITE_SPIP|textebrut)]" /> |
<meta name="keywords" content="<BOUCLE_metatags(MOTS){id_groupe=1}{", "}>[(#TITRE|supprimer_numero)]</BOUCLE_metatags>" /> |
<meta name="distribution" content="GLOBAL" /> |
<meta name="rating" content="GENERAL" /> |
<meta name="robots" content="INDEX,FOLLOW" /> |
<meta name="author" content="#NOM_SITE_SPIP" /> |
<meta name="copyright" content="#NOM_SITE_SPIP" /> |
<meta name="revisit-after" content="7 days" /> |
<link rel="shortcut icon" href="[(#CHEMIN{images/favicon.png})]" /> |
<link rel="stylesheet" href="[(#CHEMIN{css/styles.css})]" type="text/css" media="screen" /> |
<link rel="stylesheet" href="[(#CHEMIN{css/facebox.css})]" type="text/css" media="screen" /> |
<!--[if IE]><style type="text/css" media="screen,projection">@import "[(#CHEMIN{css/ie7.css})]";</style><![endif]--> |
<!--[if lt IE 7]><style type="text/css" media="screen,projection">@import "[(#CHEMIN{css/ie6.css})]";</style><![endif]--> |
#INSERT_HEAD |
<script type="text/javascript" src="[(#CHEMIN{js/facebox.js})]"></script> |
<script type="text/javascript" src="[(#CHEMIN{js/application.js})]"></script> |
<script type="text/javascript" src="[(#CHEMIN{js/jquery.pngFix.js})]"></script> |
<script type="text/javascript"> |
$(document).ready(function(){ |
$(document).pngFix(); |
}); |
</script> |
/trunk/spip/squelettes/include/menu.html |
---|
New file |
0,0 → 1,14 |
<div id="menu"> |
<ul> |
<BOUCLE_rubriques(RUBRIQUES){id_parent}{par num titre}> |
<li class="item1[(#EXPOSER|_down)]" id="item#ID_RUBRIQUE"><a href="#URL_RUBRIQUE">[(#TITRE|supprimer_numero)]</a> |
<B_ss_rubriquea><ul class="item1_down" style="display: [(#EXPOSER|block,none)];"> |
<BOUCLE_ss_rubriquea(RUBRIQUES){id_parent}{par num titre}><li class="item2[(#EXPOSER|_down)]" id="item#ID_RUBRIQUE"><a href="#URL_RUBRIQUE"> [(#TITRE|supprimer_numero)]</a><B_sss_rubriquea> |
<ul class="item2_down" style="display: [(#EXPOSER|block,none)];"><BOUCLE_sss_rubriquea(RUBRIQUES){id_parent}{par num titre}> |
<li class="item3[(#EXPOSER|_down)]" id="item#ID_RUBRIQUE"><a href="#URL_RUBRIQUE"> [(#TITRE|supprimer_numero)]</a></li></BOUCLE_sss_rubriquea> |
</ul></B_sss_rubriquea></li></BOUCLE_ss_rubriquea> |
</ul></B_ss_rubriquea></li> |
</BOUCLE_rubriques> |
</ul> |
</div> |
<!--fin id="menu"--> |
/trunk/spip/squelettes/include/rubrique-contenu.html |
---|
New file |
0,0 → 1,6 |
<BOUCLE_gen(RUBRIQUES){id_rubrique}> |
<div class="rubrique" id="rubrique#ID_RUBRIQUE"> |
[<h4>(#SOUSTITRE)</h4>] |
[(#TEXTE|paragrapher)] |
</div> |
</BOUCLE_gen> |
/trunk/spip/squelettes/include/header.html |
---|
New file |
0,0 → 1,6 |
<div id="header"> |
<h1><a href="#URL_SITE_SPIP" title="<:retour:>">#NOM_SITE_SPIP</a></h1> |
<h2>#DESCRIPTIF_SITE_SPIP</h2> |
<INCLURE{fond=include/tools}{id_rubrique}> |
<INCLURE{fond=include/navigation}{id_rubrique}> |
</div> |
/trunk/spip/squelettes/include/article-home.html |
---|
New file |
0,0 → 1,9 |
<BOUCLE_art(ARTICLES){id_rubrique}{par date}{inverse}> |
<div class="article" id="article#ID_ARTICLE"> |
<h3>#TITRE</h3> |
<BOUCLE_listdoc(DOCUMENTS){id_article}>[(#FICHIER|image_masque{masque.png}|image_gamma{-25}|inserer_attribut{"class","onglet1"}|inserer_attribut{"alt","photo "#ID_DOCUMENT})]</BOUCLE_listdoc> |
[(#CHAPO|sinon{#INTRODUCTION}||inserer_attribut{'class','chapeau'})] |
<span class="details">[(#DATE|affdate)] | <a href="#URL_ARTICLE"><:lire_plus:></a></span> |
</div> |
</BOUCLE_art> |
/trunk/spip/squelettes/include/article-contenu.html |
---|
New file |
0,0 → 1,74 |
<BOUCLE_gen(RUBRIQUES){id_rubrique}{id_mot==2}> |
<!-- contenu court avec date --> |
<BOUCLE_afficheDesc(ARTICLES){id_rubrique}{par date}{inverse}> |
<div class="article_date" id="article#ID_ARTICLE"> |
[<h3>(#TITRE|supprimer_numero)</h3>] |
[<h4>(#SOUSTITRE)</h4>] |
[(#CHAPO|sinon{#INTRODUCTION}|paragrapher)] |
<span class="details">[(#DATE|affdate)] | <a href="#URL_ARTICLE"><:lire_plus:></a></span> |
</div> |
</BOUCLE_afficheDesc> |
</BOUCLE_gen> |
<BOUCLE_gen2(RUBRIQUES){id_rubrique}{id_mot==1}> |
<!-- contenu court sans date --> |
<BOUCLE_afficheDesc2(ARTICLES){id_rubrique}{par num titre}> |
<div class="article" id="article#ID_ARTICLE"> |
[<h3>(#TITRE|supprimer_numero)</h3>] |
[<h4>(#SOUSTITRE)</h4>] |
[(#CHAPO|sinon{#INTRODUCTION}|paragrapher)] |
<span class="details"><a href="#URL_ARTICLE"><:lire_plus:></a></span> |
</div> |
</BOUCLE_afficheDesc2> |
</BOUCLE_gen2> |
<BOUCLE_galerie(RUBRIQUES){id_rubrique}{id_mot==3}> |
<!-- galerie photo --> |
<BOUCLE_afficheGal(ARTICLES){id_rubrique}{par num titre}> |
<div class="article_galerie" id="article#ID_ARTICLE"> |
<h3>[(#TITRE|supprimer_numero)]</h3> |
[<h4>(#SOUSTITRE)</h4>] |
[(#CHAPO||inserer_attribut{'class','chapeau'})] |
[(#TEXTE|paragrapher)] |
<B_ListeImages> |
<BOUCLE_ListeImages(DOCUMENTS){id_article}{extension==jpg|png}{doublons}> |
<a href="[(#FICHIER|image_reduire{600}||extraire_attribut{'src'})]" rel="facebox"><img src="[(#FICHIER||image_masque{masque.png}||extraire_attribut{'src'})]" alt="#TITRE" class="onglet1" /></a> |
</BOUCLE_ListeImages> |
</B_ListeImages> |
</div> |
</BOUCLE_afficheGal> |
</BOUCLE_galerie> |
<!-- 2 colonnes --> |
<BOUCLE_colonnes(RUBRIQUES){id_rubrique}{id_mot==4}> |
<div class="col2"> |
<BOUCLE_colonne2(ARTICLES){id_rubrique}{par num titre}{id_mot==5}{doublons}{"<hr />"}> |
<h3>[(#TITRE|supprimer_numero)]</h3> |
[<h4>(#SOUSTITRE)</h4>] |
[(#CHAPO||inserer_attribut{'class','chapeau'})] |
[(#TEXTE|paragrapher)] |
</BOUCLE_colonne2> |
</div> |
<div class="col1"> |
<BOUCLE_colonne1(ARTICLES){id_rubrique}{par num titre}{doublons}{"<hr />"}> |
<h3>[(#TITRE|supprimer_numero)]</h3> |
[<h4>(#SOUSTITRE)</h4>] |
[(#CHAPO||inserer_attribut{'class','chapeau'})] |
[(#TEXTE|paragrapher)] |
</BOUCLE_colonne1> |
</div> |
</BOUCLE_colonnes> |
<!-- contenu normal --> |
<BOUCLE_afficheArt(ARTICLES){id_rubrique}{par num titre}> |
<div class="article" id="article#ID_ARTICLE"> |
<h3>[(#TITRE|supprimer_numero)]</h3> |
[<h4>(#SOUSTITRE)</h4>] |
[(#CHAPO||inserer_attribut{'class','chapeau'})] |
[(#TEXTE|paragrapher)] |
</div> |
</BOUCLE_afficheArt> |
<//B_colonnes> |
<//B_galerie> |
<//B_gen2> |
<//B_gen> |
/trunk/spip/squelettes/include/path.html |
---|
New file |
0,0 → 1,3 |
<div id="chemin"><:vous_etes_ici:> : <BOUCLE_principale5(RUBRIQUES){id_rubrique}{tout}><BOUCLE_hierarchie(HIERARCHIE){id_rubrique}{tout}{" > " }><a href="#URL_RUBRIQUE">[(#TITRE|supprimer_numero)]</a></BOUCLE_hierarchie> |
</BOUCLE_principale5> |
</div> |
/trunk/spip/squelettes/include/footer.html |
---|
New file |
0,0 → 1,2 |
<div id="footer"> |
© Copyright #NOM_SITE_SPIP | <a href="#"><:mentions_legales:></a> | <:standards_web:> <a href="http://jigsaw.w3.org/css-validator/validator?uri=#URL_SITE_SPIP">CSS</a> <:et:> <a href="http://validator.w3.org/check?uri=#URL_PAGE" >XHTML 1.0</a> | <a href="http://www.exibit.be">Exibit template 1.3</a></div> |
/trunk/spip/squelettes/include/navigation.html |
---|
New file |
0,0 → 1,6 |
<ul id="navigation"> |
<BOUCLE_rubriques(RUBRIQUES){racine}{par num titre}> |
<li class="item1"><a href="#URL_RUBRIQUE">[(#TITRE|supprimer_numero)]</a></li> |
</BOUCLE_rubriques> |
</ul> |
<!--fin id="navigation"--> |