Browse Source

rubrique des photos

git-svn-id: svn://svn.spip.net/spip-zone/_galaxie_/party.spip.net@60352 ac52e18a-acf5-0310-9fe8-c4428f23b10a
old_history/pre_trunk
cedric@yterium.com 8 years ago
parent
commit
2e628f46d6
4 changed files with 30 additions and 45 deletions
  1. +3
    -0
      squelettes/2012/css/theme.css
  2. +22
    -11
      squelettes/2012/inc_photos.html
  3. +4
    -33
      squelettes/2012/rubrique-35.html
  4. +1
    -1
      squelettes/2012/rubrique.html

+ 3
- 0
squelettes/2012/css/theme.css View File

@@ -198,6 +198,9 @@ span.metadata { display: inline; }
/*- Primary Contents */

.pagination {text-align: right;}
.ajaxbloc {position: relative;}
.image_loading {position: absolute;top:0;left: 0;}

.itemtext { clear: both; }
.page_item .primary .itemtext {font: 1em/1.5em 'Lucida Grande', Verdana, Arial, Sans-Serif;}



+ 22
- 11
squelettes/2012/inc_photos.html View File

@@ -1,11 +1,22 @@
<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>
<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})] &mdash; [(#DATE|affdate_court)][, <:par_auteur:> (#LESAUTEURS)]</small></p>
</li>]
</BOUCLE_syndic>
</ul>
[<p class="pagination">(#PAGINATION{page})</p>]
</div>
</B_syndic>

+ 4
- 33
squelettes/2012/rubrique-35.html View File

@@ -18,47 +18,18 @@
</div>
<div class="primary">
<div class="itemhead">
[(#LOGO_RUBRIQUE|right||image_reduire{100})]
[(#LOGO_RUBRIQUE{right}|image_reduire{100})]
<h1>#TITRE</h1>
[<div>(#TEXTE)</div>]
</div><!-- itemhead -->
<div class="itemtext">
<BOUCLE_sites_oui(SITES){branche} {doublons sites}> </BOUCLE_sites_oui>
<BOUCLE_sites_atej(SITES) {doublons sites}>
<BOUCLE_syndic_sites_atej(SYNDIC_ARTICLES) {id_syndic} {doublons}>
</BOUCLE_syndic_sites_atej>
</BOUCLE_sites_atej>
<B_syndic>
<div class="demilist">
#ANCRE_PAGINATION
[<p class="pagination">(#PAGINATION)</p>]
<ul class="flickr">
<BOUCLE_syndic(SYNDIC_ARTICLES) {id_syndic!=43} {!par date} {doublons} {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})] &mdash; [(#DATE|affdate_court)][, <:par_auteur:> (#LESAUTEURS)]</small></p>
</li>]
</BOUCLE_syndic>
</ul>
<div class="clear">&nbsp;</div>
[<p class="pagination">(#PAGINATION)</p>]
</div>
</B_syndic>

<INCLURE{fond=inc_photos,id_rubrique,env,ajax} />

</div><!-- itemtext -->
</div><!-- primary -->
<div class="secondary">
[(#MODELE{calendrier_mini,date})]
[(#MODELE{calendrier_mini,date=#ENV{date}})]
<INCLURE{fond=inc_derniers_commentaires}>
<INCLURE{fond=inc_syndication}>
<INCLURE{fond=inc_galaxie}>


+ 1
- 1
squelettes/2012/rubrique.html View File

@@ -41,7 +41,7 @@


<div class="itemtext">
[(#INCLURE{fond=inc_articles,id_rubrique,ajax})]
[(#INCLURE{fond=inc_articles,id_rubrique,ajax,env})]


<B_rubriques>


Loading…
Cancel
Save