Compare commits
19 Commits
Author | SHA1 | Date |
---|---|---|
chankalan | 9804e20c71 | |
chankalan | 5635e3b072 | |
chankalan | 3d8d226356 | |
chankalan | 88ede31afe | |
chankalan | c5166658cc | |
chankalan | 48a945d808 | |
chankalan | 12a15af746 | |
chankalan | 97bf0b9d49 | |
chankalan | 9912588fbd | |
chankalan | 992ea026f0 | |
chankalan | 30fba0b2d6 | |
chankalan | b98a696425 | |
chankalan | 31a204f59b | |
chankalan | 742875454b | |
chankalan | ee80efed35 | |
chankalan | 733c95ea1c | |
chankalan | b421d0c70f | |
chankalan | 3df8d5a441 | |
chankalan | 90808a644c |
|
@ -13,4 +13,5 @@ $GLOBALS['z_blocs'] = array(
|
|||
'aside',
|
||||
'connex',
|
||||
'footer',
|
||||
'head_js',
|
||||
);
|
||||
|
|
18
paquet.xml
18
paquet.xml
|
@ -1,29 +1,29 @@
|
|||
<paquet
|
||||
prefix="librealire"
|
||||
categorie="squelette"
|
||||
version="0.6.7"
|
||||
version="0.6.10"
|
||||
schema="0.5.3"
|
||||
etat="stable"
|
||||
compatibilite="[3.2.7;4.0.*]"
|
||||
compatibilite="[3.2.7;4.*]"
|
||||
>
|
||||
<nom>+ APRIL - LIBRE À LIRE</nom>
|
||||
<!-- personnalisons le site LIBRE À LIRE -->
|
||||
|
||||
|
||||
<auteur>collectif APRIL</auteur>
|
||||
|
||||
|
||||
<necessite nom="baz_april" />
|
||||
|
||||
|
||||
<necessite nom="cextras" />
|
||||
<necessite nom="sommaire" />
|
||||
|
||||
|
||||
<chemin path="squelettes" />
|
||||
<chemin path="squelettes/scss" />
|
||||
<chemin path="" />
|
||||
|
||||
|
||||
<pipeline nom="autoriser" inclure="librealire_autorisations.php"/>
|
||||
<pipeline nom="declarer_champs_extras" inclure="base/librealire.php"/>
|
||||
<!-- <pipeline nom="declarer_tables_objets_sql" inclure="base/librealire.php" /> -->
|
||||
|
||||
|
||||
<menu nom="configurer_librealire" titre="librealire:options_lal" parent="menu_squelette" icone="images/baz_april-16.png" />
|
||||
|
||||
|
||||
</paquet>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#SET{at,#ARRAY}
|
||||
<BOUCLE_at(MOTS){type=Thèmes}{id_article}{par hasard}{0,3}><BOUCLE_att(ARTICLES){id_mot}{!id_article}{doublons}{par hasard}{0,1}>#SET{at,#GET{at}|push{#ID_ARTICLE}}</BOUCLE_att></BOUCLE_at>
|
||||
<B_theme>
|
||||
<div class="liste_articles">
|
||||
<div class="liste articles">
|
||||
<h2 class="h2"><:baz_april:memes_themes:></h2>
|
||||
<ul class="liste-items">
|
||||
<BOUCLE_theme(ARTICLES){id_article IN #GET{at}}>
|
||||
|
@ -18,7 +18,7 @@
|
|||
#SET{ap,#ARRAY}
|
||||
<BOUCLE_pt(MOTS){type=personne·s}{id_article}{par hasard}{0,3}><BOUCLE_apt(ARTICLES){id_mot}{!id_article}{doublons}{par hasard}{0,1}>#SET{ap,#GET{ap}|push{#ID_ARTICLE}}</BOUCLE_apt></BOUCLE_pt>
|
||||
<B_autrespersonnes>
|
||||
<div class="liste_articles">
|
||||
<div class="liste articles">
|
||||
<h2 class="h2"><:baz_april:memes_personnes:></h2>
|
||||
<ul class="liste-items">
|
||||
<BOUCLE_autrespersonnes(ARTICLES){id_article IN #GET{ap}}>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="page_container page_connex__container">
|
||||
<BOUCLE_actu(RUBRIQUES){si #COMPOSITION|!={transcriptions}|oui}{composition=blog}>
|
||||
<B_actualites>[(#REM) pas inclure/liste/articles-resume pour ne pas doubler l'id de la pagination, ici sans pagination]
|
||||
<div class="liste_articles">
|
||||
<div class="liste articles">
|
||||
<h2 class="h2">#TITRE</h2>
|
||||
<ul class="liste-items[ (#ENV{liste_class})]">
|
||||
<BOUCLE_actualites(ARTICLES){id_rubrique}{lang}{tri_rubrique}{! par date}{0,3}>
|
||||
|
|
|
@ -9,33 +9,11 @@
|
|||
<div class="main">
|
||||
[<div class="#EDIT{texte} chapo">(#TEXTE|adaptive_images{#CONST{_CONTENT_WIDTH}})</div>]
|
||||
|
||||
#SET{'debut_mois', (#ENV{datetri}|baz_moisdecal{0,'Y-m-d'})}
|
||||
#SET{'fin_mois', (#ENV{datetri}|baz_moisdecal{1,'Y-m-d'})}
|
||||
<B_articlesdate>
|
||||
<div class="liste articles blog">
|
||||
[<h2 class="h2[ (#ENV{datetri}|oui)date]">(#ENV{datetri}|affdate{nom_mois})[(#ENV{datetri}|affdate{Y}|!={[(#VAL{Y}|date)]}|oui)[ (#ENV{datetri}|affdate{Y})]]</h2>]
|
||||
<ul class="liste-items">
|
||||
<BOUCLE_articlesdate(ARTICLES){si #ENV{datetri}|?{' '}}{date < #GET{fin_mois}}{date >= #GET{debut_mois}}{id_rubrique}{tri_rubrique}>
|
||||
<li class="item clearfix">#INCLURE{fond=inclure/resume/article,id_article,env,composition=blog,h=h3,pagination=oui}</li>
|
||||
</BOUCLE_articlesdate>
|
||||
</ul>
|
||||
</div>
|
||||
</B_articlesdate>
|
||||
<div class="liste articles blog">
|
||||
[<h2 class="h2[ (#ENV{datetri}|oui)date]"><:baz_april:aucun_article_dans_cette_periode:> : (#ENV{datetri}|affdate{nom_mois})[(#ENV{datetri}|affdate{Y}|!={[(#VAL{Y}|date)]}|oui)[ (#ENV{datetri}|affdate{Y})]]</h2>]
|
||||
<B_articles>#ANCRE_PAGINATION
|
||||
<ul class="liste-items">
|
||||
<BOUCLE_articles(ARTICLES){id_rubrique}{lang}{tri_rubrique}{pagination 10}>
|
||||
<li class="item clearfix">#INCLURE{fond=inclure/resume/article,id_article,env,composition=blog,h=h3,pagination=oui}</li>
|
||||
</BOUCLE_articles>
|
||||
</ul>
|
||||
[<div class="pagination">(#PAGINATION)</div>]
|
||||
</B_articles>
|
||||
</div>
|
||||
<//B_articlesdate>
|
||||
[(#REM) inclure en ajax la liste des articles]
|
||||
<INCLURE{fond=inclure/liste/articles-blog, env, ajax} />
|
||||
|
||||
[(#REM) pour les sous-rubriques, on utilise le modele <rubriqueXX|rubriques> dans le texte si on veut]
|
||||
|
||||
|
||||
</div><!-- .main -->
|
||||
|
||||
<aside>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#INCLURE{fond=inclure/resume/article, id_article}
|
||||
</BOUCLE_articles_rub>
|
||||
</div>
|
||||
<p class="liste_articles__suite"><a href="#URL_RUBRIQUE">Tous les articles « #TITRE »</a></p>
|
||||
<p class="liste articles__suite"><a href="#URL_RUBRIQUE">Tous les articles « #TITRE »</a></p>
|
||||
</BOUCLE_rubriques>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
<div class="menus_footer">
|
||||
#INCLURE{fond=inclure/menu, env, identifiant=pied1}
|
||||
#INCLURE{fond=inclure/menu, env, identifiant=pied2}
|
||||
#INCLURE{fond=inclure/menu, env, identifiant=pied3}
|
||||
#INCLURE{fond=inclure/menu, env, identifiant=pied4}
|
||||
#INCLURE{fond=inclure/menu, env, identifiant=pied5}
|
||||
</div>
|
||||
|
||||
<B_pied><div class="article">
|
||||
<BOUCLE_pied(ARTICLES){page=pied}>
|
||||
[<div class="#EDIT{chapo} article__chapo">(#CHAPO|image_reduire{350})</div>]
|
||||
[<div class="#EDIT{texte} article__texte">(#TEXTE|image_reduire{350})</div>]
|
||||
</BOUCLE_pied>
|
||||
</div></B_pied>
|
||||
|
||||
<div class="colophon">
|
||||
<span class="april"><img src="#CHEMIN{images/logo_april_b.png}" alt="logo APRIL" /></span>
|
||||
#INCLURE{fond=inclure/menu, env, identifiant=pied}
|
||||
<?php
|
||||
if (isset($GLOBALS['visiteur_session']['id_auteur']) AND $GLOBALS['visiteur_session']['id_auteur']) {
|
||||
?><a href="#URL_LOGOUT" rel="nofollow"><:icone_deconnecter:></a><?php
|
||||
if (include_spip('inc/autoriser') AND autoriser('ecrire')){
|
||||
?><a href="#EVAL{_DIR_RESTREINT_ABS}"><:espace_prive:></a><?php
|
||||
}
|
||||
}
|
||||
else {
|
||||
?><a href="[(#URL_PAGE{login}|parametre_url{url,#SELF|parametre_url{url,''}})]" rel="nofollow" class='login_modal'><:lien_connecter:></a><?php
|
||||
}
|
||||
?>
|
||||
</div>
|
|
@ -1,7 +1,7 @@
|
|||
<BOUCLE_trans(RUBRIQUES){composition=transcriptions}>
|
||||
[(#REM) Articles trouves ]
|
||||
<B_articles>
|
||||
<div class="liste_articles">
|
||||
<div class="liste articles">
|
||||
#ANCRE_PAGINATION
|
||||
<h2 class="h2"><:articles:/> (#GRAND_TOTAL)</h2>
|
||||
<div>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<BOUCLE_articles(ARTICLES) {id_article}>
|
||||
<BOUCLE_articles(ARTICLES) {id_article}>[(#SESSION{id_auteur}|oui)[(#REM) pour copier/coller facilement le titre ]
|
||||
#TITRE]
|
||||
<article class="article-resume[ article-resume--(#ENV{class})] block-link-parent[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui) hero]">
|
||||
[(#LOGO_ARTICLE_NORMAL|oui)<div class="article-resume__logo">][(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)<a href="#URL_ARTICLE" title="#TITRE">]
|
||||
[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)
|
||||
|
@ -8,7 +9,7 @@
|
|||
]
|
||||
[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)</a>][(#LOGO_ARTICLE_NORMAL|oui)</div>]
|
||||
<div class="article-resume__texte">
|
||||
<[(#ENV{h,h2})] class="article-resume__titre"><a href="[(#ENV{pagination}|=={oui}|oui)[(#URL_ARTICLE|parametre_url{debut_articles,@#ID_ARTICLE})]][(#ENV{pagination}|!={oui}|oui)#URL_ARTICLE]" class="[(#ENV{hero}|=={oui}|oui)[(#ENV{compteur}|=={1}|non)block-link]][(#ENV{hero}|=={oui}|non)block-link][ (#ENV{class_link})][ (#ENV{expose})]">#TITRE</a></[(#ENV{h,h2})]>
|
||||
<[(#ENV{h,h2})] class="article-resume__titre"><a href="#URL_ARTICLE" class="[(#ENV{hero}|=={oui}|oui)[(#ENV{compteur}|=={1}|non)block-link]][(#ENV{hero}|=={oui}|non)block-link][ (#ENV{class_link})][ (#ENV{expose})]">#TITRE</a></[(#ENV{h,h2})]>
|
||||
[<p class="article-resume__soustitre">(#SOUSTITRE)</p>][(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)[(#COMPOSITION|=={blog}|non)
|
||||
<a href="#URL_ARTICLE" class="btn[ (#ENV{class_link})][ (#EXPOSE)]"><:baz_april:lire:></a>]]
|
||||
<div class="article-resume__infos">
|
||||
|
@ -25,7 +26,7 @@
|
|||
<p class="article-resume__evenement">(#EVENEMENT|propre|PtoBR)</p>]]
|
||||
[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|ou{#COMPOSITION|=={blog}}|non)
|
||||
<a href="#URL_ARTICLE" class="tp"><:baz_april:lire:></a>]
|
||||
<BOUCLE_groupes(GROUPES_MOTS){si #ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui}{par titre}>
|
||||
<BOUCLE_groupes(GROUPES_MOTS){par titre}>
|
||||
<B_tags>
|
||||
<p class="mots">
|
||||
#TITRE <BOUCLE_tags(MOTS){id_article}{id_groupe}>
|
||||
|
|
|
@ -12,7 +12,7 @@ body {
|
|||
|
||||
|
||||
a {
|
||||
|
||||
|
||||
&.tp {
|
||||
background:none !important;
|
||||
padding:0;
|
||||
|
@ -136,7 +136,7 @@ span.tp {
|
|||
@include media($bp-medium) {
|
||||
border-bottom:1px solid #84BEC7BF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.nav {
|
||||
|
@ -183,7 +183,7 @@ span.tp {
|
|||
font-size: 1.1em;
|
||||
font-weight: 200;
|
||||
}
|
||||
.liste_articles {
|
||||
.liste.articles {
|
||||
position:relative;
|
||||
font-size:120%;
|
||||
margin-bottom:($spacer*3);
|
||||
|
@ -256,7 +256,7 @@ span.tp {
|
|||
|
||||
|
||||
.page_footer {
|
||||
|
||||
|
||||
.page_connexplus {
|
||||
padding:($spacer*1.5) 0;
|
||||
background:$couleurConnexplus;
|
||||
|
@ -279,7 +279,7 @@ span.tp {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
padding-top:0;
|
||||
.formulaire_spip.formulaire_recherche {
|
||||
display:none;// pour ne pas surcharger tout le footer
|
||||
|
@ -295,7 +295,7 @@ span.tp {
|
|||
}
|
||||
}
|
||||
|
||||
.liste_articles {
|
||||
.liste.articles {
|
||||
.item {
|
||||
margin-bottom:$spacer;
|
||||
}
|
||||
|
@ -306,7 +306,7 @@ span.tp {
|
|||
.page_sommaire {
|
||||
.page_content {
|
||||
margin-right:0;
|
||||
.liste_articles {
|
||||
.liste.articles {
|
||||
.btn.voirtous {
|
||||
display: block;
|
||||
width: 300px;
|
||||
|
@ -364,12 +364,12 @@ span.tp {
|
|||
|
||||
/* page blog */
|
||||
.rubrique-blog {
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.cartouche .publication {
|
||||
.cartouche .publication {
|
||||
@include visuallyhidden;
|
||||
}
|
||||
.liste.articles {
|
||||
|
@ -378,9 +378,9 @@ span.tp {
|
|||
list-style:none;
|
||||
}
|
||||
&.blog {
|
||||
|
||||
|
||||
// resume
|
||||
|
||||
|
||||
// resume
|
||||
.article-resume {
|
||||
border-left:0;
|
||||
background-color:transparent;
|
||||
|
@ -412,16 +412,16 @@ span.tp {
|
|||
}
|
||||
|
||||
|
||||
// resume
|
||||
// resume
|
||||
.article-resume {
|
||||
display:block;
|
||||
border-left:solid $couleurConnexplus ($spacer/3);
|
||||
background-color:$couleurBkgT;
|
||||
padding:($spacer*1.5) $spacer $spacer ($spacer*1.5);
|
||||
margin-bottom:($spacer*2);
|
||||
|
||||
|
||||
&, a {
|
||||
color:$couleur-lien-resume;
|
||||
color:$couleur-lien-resume;
|
||||
}
|
||||
&:after {
|
||||
content:'';
|
||||
|
@ -474,7 +474,7 @@ span.tp {
|
|||
}
|
||||
}
|
||||
|
||||
// composition
|
||||
// composition
|
||||
.composition_transcriptions {
|
||||
.page_content {
|
||||
margin-right:0;
|
||||
|
@ -493,8 +493,9 @@ span.tp {
|
|||
padding-top:$spacer;
|
||||
padding-bottom:$spacer;
|
||||
border-radius:0 0 6px 6px;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
||||
.main {
|
||||
.strong_to_dl {
|
||||
@include clearfix;
|
||||
|
@ -513,7 +514,7 @@ span.tp {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
.article__infos {
|
||||
|
@ -628,6 +629,9 @@ span.tp {
|
|||
text-decoration:none;
|
||||
}
|
||||
}
|
||||
.article-resume:not(.hero) & {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
// article
|
||||
|
@ -683,7 +687,7 @@ span.tp {
|
|||
}
|
||||
|
||||
.formulaire_signaler {
|
||||
|
||||
|
||||
}
|
||||
.ariaformprop {
|
||||
clear:both;
|
||||
|
@ -717,7 +721,7 @@ span.tp {
|
|||
margin-top:10px;
|
||||
padding-left:46px;
|
||||
&:after {
|
||||
display:block; content:''; width:0; height:0;
|
||||
display:block; content:''; width:0; height:0;
|
||||
position:absolute; left:0; top:-32px;
|
||||
border-top: 60px solid $couleurBkgBleu;
|
||||
border-left: 20px solid transparent;
|
||||
|
@ -741,7 +745,7 @@ span.tp {
|
|||
}
|
||||
div > &:first-child {
|
||||
margin-top:0;
|
||||
|
||||
|
||||
}
|
||||
.composition_contact div > &:first-child {
|
||||
padding:$spacer ($spacer*1.5);
|
||||
|
@ -763,4 +767,27 @@ span.tp {
|
|||
}
|
||||
|
||||
|
||||
/* liens spip_out et ps (Antoine) */
|
||||
article .spip_out {
|
||||
font-weight: 400;
|
||||
border-bottom: 2px dotted #8ec7ce;
|
||||
color: #00748f;
|
||||
}
|
||||
article .spip_out strong{
|
||||
font-weight:400;
|
||||
}
|
||||
article .spip_out:hover, .ps a:hover{
|
||||
font-weight:400;
|
||||
text-decoration: inherit;
|
||||
border-bottom:2px dotted rgb(213, 115, 1);
|
||||
color: rgb(213, 115, 1);
|
||||
}
|
||||
.ps a:hover{
|
||||
font-weight:300;
|
||||
}
|
||||
article .spip_out strong:hover {
|
||||
border-bottom:2px dotted rgb(255, 115, 1);
|
||||
text-decoration: inherit;
|
||||
color: rgb(213, 115, 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue