Compare commits
No commits in common. 'master' and '2010' have entirely different histories.
-
29.gitattributes
-
44article.html
-
12auteur.html
-
12breve.html
-
12contact.html
-
49css/calendrier_mini.css
-
80css/formulaires.css
-
38evenement.html
-
60formulaires/calendrier_mini.html
-
33formulaires/inscription.html
-
BINimages/separateur-spip-party-blue.jpg
-
BINimages/separateur-spip-party-purple.jpg
-
BINimages/separateur-spip-party-yellow.jpg
-
11inc_articles.html
-
6inc_galaxie.html
-
15inc_hcal.html
-
18inc_head.html
-
4inc_herbier.html
-
33inc_photos.html
-
10inc_pied_de_page.html
-
19jour.html
-
6lang/local_fr.php
-
2mes_fonctions.php
-
8modeles/calendrier_mini.html
-
12mois.html
-
12plan.html
-
12recherche.html
-
9resume.html
-
47rubrique-35.html
-
73rubrique.html
-
15rubrique=1.html
-
12site.html
-
68sommaire.html
-
35styles/calendrier_mini.css
-
0styles/doc.css
-
7styles/feria-blue.css
-
8styles/feria-purple.css
-
8styles/feria-yellow.css
-
80styles/formulaires.css
-
0styles/gazette.css
-
0styles/header-apero.jpg
-
0styles/header-blue.png
-
0styles/header-purple.jpg
-
88styles/style.css
-
0styles/tableau.css
-
18suivre.html
-
6twitt.html
@ -1,49 +0,0 @@ |
|||
/* Habillage du mini calendrier */ |
|||
|
|||
#partycalendar { text-align: center; border: 1px dotted #ccc; padding: 2px; padding-top: 0.5em; } |
|||
#partycalendar table { border-collapse: separate;border-spacing: 2px;} |
|||
#partycalendar #calendar {margin: 0;} |
|||
|
|||
#partycalendar th { background: #ccc; text-transform: uppercase; color: #666; } |
|||
|
|||
#partycalendar td a { margin: 0; padding: 0; text-align: center; background: #ddd; line-height: 1.5em; font-weight: normal;} |
|||
#partycalendar .ui-datepicker-other-month a { background: #ececec; color: #ccc; } |
|||
#partycalendar .ui-state-highlight a { color: #fff; } |
|||
|
|||
#partycalendar .calendriermini .calendar-container {height: 16.5em;} |
|||
|
|||
/* microformats hcal */ |
|||
.list-events {list-style: none;padding: 0;margin: 0 0 2em;} |
|||
.vevent { |
|||
background: #eee; |
|||
border: 2px solid #ececec; |
|||
-moz-border-radius: 1em; |
|||
-webkit-border-radius: 1em; |
|||
border-radius: 1em; |
|||
margin: 0 -10px 1.5em -10px; |
|||
padding: 10px; |
|||
min-height: 80px; |
|||
padding-left:100px; |
|||
position:relative; |
|||
} |
|||
.vevent h2.summary { margin-bottom: 0.3em; } |
|||
.vevent p { margin-bottom: 0.4em; } |
|||
.vevent p:last-child { margin-bottom: 0; } |
|||
.vevent .formulaire_spip { margin-top: 1.5em; } |
|||
.vevent .summary, .vevent .summary a { color: #000; } |
|||
.vevent .summary a:hover { text-decoration: underline; } |
|||
.vevent .spip_logos {position: absolute;top:10px;left:10px;} |
|||
|
|||
/* */ |
|||
.vevent .description, .vevent .metadata { display: none; } |
|||
.page_item .vevent .description, .page_item .vevent .metadata { display: block; } |
|||
.vevent .spip_logos { margin: 0 10px 10px 0; float: left; } |
|||
|
|||
.page_item .vevent {padding-left: 10px;} |
|||
.page_item .vevent .spip_logos { position:static;float: right;margin:0 0 10px 10px;} |
|||
|
|||
/* */ |
|||
.vevent .date {} |
|||
.vevent .dtstamp { border: none; } |
|||
.vevent .dtstart, .vevent .dtend { display: none; } |
|||
.vevent .location {} |
@ -1,80 +0,0 @@ |
|||
/*- Brian's Latest Comments |
|||
http://meidell.dk/archives/2004/09/12/brians-latest-comments/ |
|||
*/ |
|||
/* |
|||
div.sb_comments ul li { margin-bottom: 0.6em; } |
|||
div.sb_comments ul li a { |
|||
color: #999; |
|||
font-weight: normal; |
|||
word-spacing: -1px; } |
|||
div.sb_comments ul li a { text-decoration: none; } |
|||
*/ |
|||
/* Commentaires de forum */ |
|||
.comments .comments-list > h2 { margin: 3em 0 1.5em;} |
|||
|
|||
.comments-list .comment-li { clear: both; margin: 0; padding: 0.75em 0;list-style: none;} |
|||
|
|||
.comment-li .comment {padding-left:70px;position: relative;min-height: 60px;overflow: hidden;} |
|||
.comment-meta { color: #999;margin-bottom: 0;} |
|||
.comment-meta a { color: #999; text-decoration: none; } |
|||
.comment-meta a.spip_out { text-decoration: underline; } |
|||
.comment-meta .item {display: none;} |
|||
|
|||
.comment-li img.avatar { position: absolute;top:0px;left: 0; } |
|||
|
|||
.comment .boutons.modererforum {font-size: 0.9em;position: absolute;bottom: -5px;right: 0;} |
|||
.comment .boutons.modererforum form,.comment .boutons.modererforum div {display: inline;} |
|||
.comment .boutons.modererforum button {padding:0;margin:0 5px;border:0;text-decoration: underline;} |
|||
|
|||
|
|||
/* Formulaires */ |
|||
fieldset { border: none; margin: 0; padding: 0; } |
|||
legend { display: none; } |
|||
label { display: block;} |
|||
.choix label { display: inline-block;} |
|||
.formulaire_spip textarea { |
|||
margin: 0; |
|||
padding: 3px; |
|||
border: 2px inset #ececec; |
|||
font: 1em Verdana, Sans-Serif; |
|||
color: #444; |
|||
} |
|||
.formulaire_spip .erreur_message { display: block;} |
|||
.formulaire_spip .explication { display: block; font-style: italic; color: #555;} |
|||
.formulaire_spip .boutons {clear: none;margin-top: 1.5em;} |
|||
.formulaire_spip .boutons input { border: 2px outset #666; background: #666; color: #fff; } |
|||
.reponse_formulaire { font-weight: bold; color: #132711; } |
|||
|
|||
/* Formulaire de forum */ |
|||
.comments .comment-form > h2 {margin: 1.5em 0;} |
|||
.formulaire_forum { width: 80%; padding: 0; } |
|||
.formulaire_forum fieldset { } |
|||
.formulaire_forum label { display: block; } |
|||
.formulaire_forum input.text { width: 99%; } |
|||
.formulaire_forum #titre, .formulaire_forum #nom_site { display: none; } |
|||
/*.formulaire_forum { padding: 30px 0 0; } |
|||
.formulaire_forum fieldset { margin: 1.6em 0; margin-left: 10px; } |
|||
.formulaire_forum p { position: relative; clear: both; margin-bottom: 1.6em; } |
|||
.formulaire_forum .forml { width: 180px; position: absolute; left: 0; top: 0; } |
|||
.formulaire_forum label { position: relative; left: 195px; text-transform: uppercase; color: #999; } |
|||
.formulaire_forum textarea { width: 360px; }*/ |
|||
|
|||
/* Formulaire d'inscription au site */ |
|||
.formulaire_inscription {} |
|||
.formulaire_inscription fieldset { margin: 1.6em 0; } |
|||
.formulaire_inscription p { position: relative; clear: both; margin-bottom: 1.6em; } |
|||
.formulaire_inscription input.text { width: 180px; } |
|||
.formulaire_inscription label { text-transform: uppercase; color: #999; } |
|||
|
|||
/* Formulaire de signature de petition */ |
|||
.formulaire_signature { background: #ececec; padding: 1em !important; } |
|||
.formulaire_signature fieldset { margin-top: 1em; } |
|||
.formulaire_signature input.text, .formulaire_signature textarea { width: 90%; } |
|||
|
|||
/*- Search Form and Livesearch */ |
|||
.formulaire_recherche { /*position: absolute; top: 0; right: 25px;*/ } |
|||
.formulaire_recherche * { display: inline !important; } |
|||
.formulaire_recherche legend, .formulaire_recherche label { display: none !important; } |
|||
.formulaire_recherche input.text { width: 100%; border: 1px inset; } |
|||
|
|||
.formulaire_spip ul { list-style-type:none; } |
@ -1,3 +1,39 @@ |
|||
<BOUCLE_evenement(EVENEMENTS) {id_evenement}> |
|||
<INCLURE{fond=article,id_article,id_evenement,env} /> |
|||
<!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" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR"> |
|||
[(#REM) SPIP Party par Ben.spip, Gilles Vincent, Tetue & IZO, base sur K2 et Bones ] |
|||
<head> |
|||
<title>[(#TITRE|textebrut) - ][(#NOM_SITE_SPIP|textebrut)]</title> |
|||
[<meta name="description" content="(#DESCRIPTIF|couper{150}|textebrut)" />] |
|||
<INCLURE{fond=inc_head}{id_rubrique}> |
|||
</head> |
|||
<body class="page_item"> |
|||
<div id="page"> |
|||
<div id="header"> |
|||
<ul class="menu"> |
|||
<li class="current_item"><a href="#URL_SITE_SPIP/" title="<:accueil_site:>"><b><:accueil_site:></b></a></li> |
|||
<INCLURE{fond=inc_menu-haut}{id_rubrique}> |
|||
</ul> |
|||
</div> |
|||
<div class="primary"> |
|||
<div class="itemhead" style="display: none;"> |
|||
<h1>#TITRE</h1> |
|||
</div><!-- itemhead --> |
|||
<div class="itemtext"> |
|||
<INCLURE{fond=inc_hcal}{id_evenement}> |
|||
<p class="metadata">Retour à l'article : <BOUCLE_art(ARTICLES){id_article}><a href="#URL_ARTICLE">#TITRE</a><BOUCLE_compte_messages(FORUMS){id_article}{plat}> </BOUCLE_compte_messages> — <a href="#URL_ARTICLE#forum">[(#TOTAL_BOUCLE)] [(#TOTAL_BOUCLE|=={1}|?{commentaire,commentaires})]</a></B_compte_messages></BOUCLE_art> — <BOUCLE_rub(RUBRIQUES){id_rubrique}><a href="#URL_RUBRIQUE">[(#TITRE|majuscules)]</a></BOUCLE_rub></p> |
|||
</div><!-- itemtext --> |
|||
</div><!-- primary --> |
|||
<div class="secondary"> |
|||
[(#CALENDRIER_MINI{#ENV{date},'date',#SELF})] |
|||
#FORMULAIRE_SIGNATURE |
|||
<INCLURE{fond=inc_meme_rubrique}{id_rubrique}> |
|||
<INCLURE{fond=inc_syndication}{id_rubrique}> |
|||
<INCLURE{fond=inc_galaxie}> |
|||
</div><!-- secondary --> |
|||
<div class="clear"> </div> |
|||
</div><!-- Close Page --> |
|||
<INCLURE{fond=inc_pied_de_page}> |
|||
</body> |
|||
</BOUCLE_evenement> |
|||
</html> |
@ -0,0 +1,60 @@ |
|||
<div id="calendar"> |
|||
<h2><BOUCLE_titre(ARTICLES){id_article}>#TITRE</BOUCLE_titre><:icone_calendrier:><//B_titre></h2> |
|||
<table summary="<:icone_calendrier:>"> |
|||
<caption>[ |
|||
<a |
|||
href="(#ENV{self}|parametre_url{#ENV{var_date},[(#ENV{#ENV{var_date},#ENV{date}}|Agenda_moisdecal{-1,'Y-m'})]})" |
|||
title="[(#ENV{#ENV{var_date},#ENV{date}}|Agenda_moisdecal{-1,'Y-m'}|affdate_mois_annee)]" |
|||
>«</a>][ |
|||
(#ENV{#ENV{var_date},#ENV{date}}|affdate_mois_annee)][ |
|||
<a |
|||
href="(#ENV{self}|parametre_url{#ENV{var_date},[(#ENV{#ENV{var_date},#ENV{date}}|Agenda_moisdecal{1,'Y-m'})]})" |
|||
title="[(#ENV{#ENV{var_date},#ENV{date}}|Agenda_moisdecal{1,'Y-m'}|affdate_mois_annee)]" |
|||
>»</a>] |
|||
</caption> |
|||
<thead> |
|||
<tr> |
|||
<th scope="col"><abbr title="<:date_jour_2:>"><:date_jour_2|spip_substr{0,1}|strtoupper:></abbr></th> |
|||
<th scope="col"><abbr title="<:date_jour_3:>"><:date_jour_3|spip_substr{0,1}|strtoupper:></abbr></th> |
|||
<th scope="col"><abbr title="<:date_jour_4:>"><:date_jour_4|spip_substr{0,1}|strtoupper:></abbr></th> |
|||
<th scope="col"><abbr title="<:date_jour_5:>"><:date_jour_5|spip_substr{0,1}|strtoupper:></abbr></th> |
|||
<th scope="col"><abbr title="<:date_jour_6:>"><:date_jour_6|spip_substr{0,1}|strtoupper:></abbr></th> |
|||
<th scope="col"><abbr title="<:date_jour_7:>"><:date_jour_7|spip_substr{0,1}|strtoupper:></abbr></th> |
|||
<th scope="col"><abbr title="<:date_jour_1:>"><:date_jour_1|spip_substr{0,1}|strtoupper:></abbr></th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
[(#REM) |
|||
Simplification: On commence par calculer les evenements qui: |
|||
(1) commencent avant le debut du mois suivant le mois demande (borne_fin_mois est en fait le 1er jour du mois suivant) |
|||
ET |
|||
(2) finissent apres le debut du mois demande (1er jour inclus) |
|||
Sont donc inclus: |
|||
(a) les evenements qui commencent dans le mois demande (test 1) |
|||
et dont la fin est necessairement apres le debut du mois demande (test 2 vrai aussi) |
|||
(b) les evenements qui finissent dans le mois demande (test 2) |
|||
et dont le debut est necessairement avant la fin du mois demande (test 1 vrai aussi) |
|||
(c) les evenements qui commencent avant le mois demande (test 1) ET finissent apres le mois demande (test 2) |
|||
Plus simple depuis qu'on dispose du calcul des bornes de debut et fin de mois... et plus de doublons :-) |
|||
Correction: on tronque le jour de la date pour bien partir du debut de mois quelle que soit la date demandee: |
|||
2009-12-15 donne quand meme borne_debut_mois==2009-12-01 et borne_fin_mois==2010-01-01 |
|||
au lieu de borne_debut_mois==2009-12-15 et borne_fin_mois==2010-01-15 |
|||
] |
|||
#SET{'borne_debut_mois', (#ENV{#ENV{var_date},#ENV{date}}|affdate{'Y-m'}|Agenda_moisdecal{0,'Y-m-d'})} |
|||
#SET{'borne_fin_mois', (#ENV{#ENV{var_date},#ENV{date}}|affdate{'Y-m'}|Agenda_moisdecal{1,'Y-m-d'})} |
|||
<!-- le debut de mois est #GET{'borne_debut_mois'}, le debut du suivant est #GET{'borne_fin_mois'} --> |
|||
<BOUCLE_calendrier(EVENEMENTS) |
|||
{id_article?}{id_mot?} |
|||
{date_debut < #GET{'borne_fin_mois'}} |
|||
{date_fin >= #GET{'borne_debut_mois'}}> |
|||
[(#DATE_DEBUT|Agenda_memo_full{#DATE_FIN,[(#TITRE|addslashes)],#DESCRIPTIF,#LIEU,#URL_PAGE{jour},'',#ENV{var_date}})] |
|||
</BOUCLE_calendrier> |
|||
[(#REM) le "courante" ci-dessus peut etre remplace par "debut" pour retrouver l'ancien comportement] |
|||
|
|||
[(#REM) Puis on les affiche dans un agenda] |
|||
[(#ENV{#ENV{var_date},#ENV{date}}|agenda_mini)] |
|||
|
|||
</tbody> |
|||
</table> |
|||
<small class="metadata" style="display: block; text-align: center;">Abonnez-vous au<br />calendrier général : <a rel="alternate" href="[(#URL_PAGE{ical})]" title="iCal [(#NOM_SITE_SPIP|textebrut)]">iCal</a> | <a rel="alternate" type="application/rss+xml" href="[(#URL_PAGE{backend-calendrier})]" title="RSS Calendrier [(#NOM_SITE_SPIP|textebrut)]">RSS 2.0</a></small> |
|||
</div> |
@ -1,33 +0,0 @@ |
|||
<h2>Participer à la vie du site</h2> |
|||
<div class="formulaire_spip formulaire_inscription ajax" id="formulaire_inscription"> |
|||
[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>] |
|||
[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>] |
|||
[(#ENV{editable}) |
|||
<form method="post" action="#ENV{action}"> |
|||
#ACTION_FORMULAIRE{#ENV{action}} |
|||
<fieldset> |
|||
#INCLURE{fond=formulaires/inc-inscription-explication,env} |
|||
<legend><:form_forum_identifiants:></legend> |
|||
<p class='explication'><:form_forum_indiquer_nom_email:></p> |
|||
<ul> |
|||
<li class='editer saisie_nom_inscription obligatoire[ (#ENV*{erreurs}|table_valeur{nom_inscription}|oui)erreur]'> |
|||
<label for="nom_inscription"><:entree_nom_pseudo:> <:info_obligatoire_02:></label> |
|||
[<span class="erreur_message">(#ENV*{erreurs}|table_valeur{nom_inscription})</span>] |
|||
<input type="text" class="text" name="nom_inscription" id="nom_inscription" value="#ENV{nom_inscription}" size="30" [(#HTML5) [(#ENV{focus}|=={nom_inscription}|oui)autofocus="autofocus" ]required="required"] autocapitalize="off" autocorrect="off" /> |
|||
</li> |
|||
<li class='editer saisie_mail_inscription obligatoire[ (#ENV*{erreurs}|table_valeur{mail_inscription}|oui)erreur]'> |
|||
<label for="mail_inscription"><:entree_adresse_email:> <:info_obligatoire_02:></label> |
|||
[<span class="erreur_message">(#ENV*{erreurs}|table_valeur{mail_inscription})</span>] |
|||
<input[ (#HTML5|?{required="required" type="email" class="text email",type="text" class="text"})] name="mail_inscription" id="mail_inscription" value="#ENV{mail_inscription}" size="30"[(#ENV{focus}|=={mail_inscription}|et{#HTML5}|oui) autofocus="autofocus"] autocapitalize="off" autocorrect="off" /> |
|||
</li> |
|||
</ul> |
|||
</fieldset> |
|||
[(#REM) Piege a robots spammeurs ] |
|||
<p style="display: none;"> |
|||
<label for="nobot"><:antispam_champ_vide:></label> |
|||
<input type="text" class="text" name="nobot" id="nobot" value="#ENV{nobot}" size="10" /> |
|||
</p> |
|||
<p class="boutons"><input type="submit" class="submit" value="<:bouton_valider:>" /></p> |
|||
</form> |
|||
] |
|||
</div> |
Before Width: 775 | Height: 63 | Size: 2.6 KiB After Width: 551 | Height: 63 | Size: 8.7 KiB |
Before Width: 775 | Height: 60 | Size: 3.0 KiB After Width: 551 | Height: 60 | Size: 9.0 KiB |
Before Width: 775 | Height: 63 | Size: 2.5 KiB After Width: 550 | Height: 63 | Size: 8.7 KiB |
@ -1,11 +0,0 @@ |
|||
<B_articles> |
|||
<ul class="liste-items articles"> |
|||
<BOUCLE_articles(ARTICLES) {id_rubrique?} {!par date}{pagination 5}> |
|||
<li class="item article"><a href="#URL_ARTICLE">#TITRE</a> |
|||
<span class="date">— [(#DATE|affdate_court)]</span> |
|||
[(#INTRODUCTION{100})] |
|||
</li> |
|||
</BOUCLE_articles> |
|||
</ul> |
|||
[<p class="pagination">(#PAGINATION{precedent_suivant})</p>] |
|||
</B_articles> |
@ -0,0 +1,6 @@ |
|||
[(#MODELE{boussole_panorama, |
|||
boussole=spip, |
|||
titre_boussole=non, |
|||
type_bulle=slogan_site, |
|||
taille_logo=42, |
|||
div_id=boussole})] |
@ -1,22 +1,11 @@ |
|||
<B_syndic> |
|||
<div class="demilist"> |
|||
#ANCRE_PAGINATION |
|||
[<p class="pagination">(#PAGINATION{page})</p>] |
|||
<ul class="flickr clearfix"> |
|||
<BOUCLE_syndic(SYNDIC_ARTICLES) {branche}{id_syndic!=43} {!par date} {pagination}> |
|||
[<li> |
|||
<h2 style="display: none;">#TITRE</h2> |
|||
<a href="#URL_ARTICLE"[ title="(#TITRE|textebrut)"]>(#DESCRIPTIF |
|||
|extraire_balise{img} |
|||
|image_reduire{200,180} |
|||
|inserer_attribut{alt,[(#TITRE|textebrut)]} |
|||
|inserer_attribut{'align',''} |
|||
|unique{photo} |
|||
)</a> |
|||
<p><small>[(#TITRE|couper{80})] — [(#DATE|affdate_court)][, <:par_auteur:> (#LESAUTEURS)]</small></p> |
|||
</li>] |
|||
</BOUCLE_syndic> |
|||
</ul> |
|||
[<p class="pagination">(#PAGINATION{page})</p>] |
|||
</div> |
|||
</B_syndic> |
|||
<B_flickr> |
|||
|
|||
<div id="flickr"> |
|||
|
|||
|
|||
<BOUCLE_flickr(SYNDIC_ARTICLES) {id_syndic=37} {doublons}{0,5}> |
|||
|
|||
<a href="#URL_ARTICLE" title="#TITRE">[(#DESCRIPTIF|extraire_balise{img})]</a> |
|||
</BOUCLE_flickr> |
|||
</div> |
|||
</B_flickr> |
@ -1,8 +0,0 @@ |
|||
<div id="partycalendar"> |
|||
[(#CALENDRIER_MINI{#ENV{date},'date',#URL_PAGE{jour},#URL_PAGE{calendrier_mini_event.json}})] |
|||
<small class="metadata" |
|||
style="display: block; text-align: center;">Abonnez-vous au<br />calendrier général : |
|||
<a rel="alternate" href="[(#URL_PAGE{agenda-ical})]" title="iCal [(#NOM_SITE_SPIP|textebrut)]">iCal</a> |
|||
| |
|||
<a rel="alternate" type="application/rss+xml" href="[(#URL_PAGE{backend-calendrier})]" title="RSS Calendrier [(#NOM_SITE_SPIP|textebrut)]">RSS 2.0</a></small> |
|||
</div> |
@ -0,0 +1,35 @@ |
|||
/* Habillage du mini calendrier */ |
|||
#calendar { text-align: center; border: 1px dotted #ccc; padding: 2px; padding-top: 0.5em; } |
|||