Browse Source

version 1.3.0 : utiliser le plugin centre_image pour recadrer les iamges sur leur point d'intérêt

la modification ne change rien à l'existant puisque ça recadre toujours sur le center si centre_image n'est pas présent, on indique tout de même que le squelette l'utilise
svn/attic/html5up_alpha/119176
bruno@eliaz.fr 3 years ago
parent
commit
cd6f4c0801
  1. 2
      404.html
  2. 2
      article.html
  3. 2
      mot.html
  4. 3
      paquet.xml
  5. 4
      rubrique.html
  6. 8
      sommaire.html

2
404.html

@ -37,7 +37,7 @@
[<p>(#ENV{erreur})</p>]
</div>
</header>
<span class="image featured"><BOUCLE_doc(DOCUMENTS){tout}{id_document=#CONFIG{alpha/doc_home2}}>[(#FICHIER|image_passe_partout{1200,393}|image_reduire{1200}|image_recadre{1200,393,center})]</BOUCLE_doc></span>
<span class="image featured"><BOUCLE_doc(DOCUMENTS){tout}{id_document=#CONFIG{alpha/doc_home2}}>[(#FICHIER|image_recadre{1200:393,-,focus}|image_reduire{1200})]</BOUCLE_doc></span>
</section>
</section>

2
article.html

@ -25,7 +25,7 @@
[<p class="#EDIT{soustitre}">(#SOUSTITRE)</p>]
</header>
<div class="box">
[<span class="image featured">(#LOGO_ARTICLE_RUBRIQUE|image_passe_partout{1280,420}|image_reduire{1280}|image_recadre{1280,420,center})</span>]
[<span class="image featured">(#LOGO_ARTICLE_RUBRIQUE|image_recadre{1280:420,-,focus}|image_reduire{1280})</span>]
[<div class="#EDIT{texte}">(#TEXTE|image_reduire{1152})</div>]
[(#REM) Gestion du portfolio et des documents ]
[(#INCLURE{fond=inclure/documents,id_article, env})]

2
mot.html

@ -24,7 +24,7 @@
[<h2 class="#EDIT{titre}">(#TITRE)</h2>]
</header>
<div class="box">
[<span class="image featured">(#LOGO_MOT|image_passe_partout{1280,420}|image_reduire{1280}|image_recadre{1280,420,center})</span>]
[<span class="image featured">(#LOGO_MOT|image_recadre{1280:420,-,focus}|image_reduire{1280})</span>]
[<div class="#EDIT{texte}">(#TEXTE|image_reduire{1152})</div>]
<hr/>

3
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="alpha"
categorie="squelette"
version="1.2.9"
version="1.3.0"
etat="test"
compatibilite="[3.0.0;3.2.*]"
logo="images/alpha-64.png"
@ -18,6 +18,7 @@
<utilise nom="mailshot" compatibilite="[1.7.2;]"/>
<utilise nom="newsletters" compatibilite="[1.3.24;]"/>
<utilise nom="mailsubscribers" compatibilite="[1.7.14;]"/>
<utilise nom="centre_image" compatibilite="[0.10.6;]"/>
<menu nom="configurer_alpha" titre="alpha:alpha_titre" parent="menu_squelette" icone="images/alpha-16.png" />

4
rubrique.html

@ -27,7 +27,7 @@
[(#REM) N'afficher ce bloc que s'il y a une image ou un texte à afficher ]
[(#LOGO_RUBRIQUE|ou{#TEXTE}|oui)
<div class="box">
[<span class="image featured">(#LOGO_RUBRIQUE|image_passe_partout{1280,420}|image_reduire{1280}|image_recadre{1280,420,center})</span>]
[<span class="image featured">(#LOGO_RUBRIQUE|image_recadre{1280:420}|image_reduire{1280})</span>]
[<div class="#EDIT{texte}">(#TEXTE|image_reduire{1152})</div>]
</div>]
@ -36,7 +36,7 @@
<BOUCLE_art(ARTICLES){par num titre}{id_rubrique}>
<div class="6u 12u(narrower)">
<section class="box special">
<span class="image featured">[(#LOGO_ARTICLE_RUBRIQUE|image_passe_partout{619,275}|image_reduire{619}|image_recadre{619,275,center}|inserer_attribut{class,spip_logos})]</span>
<span class="image featured">[(#LOGO_ARTICLE_RUBRIQUE|image_recadre{619:275,-,focus}|image_reduire{619}|inserer_attribut{class,spip_logos})]</span>
<h3>#TITRE</h3>
#INTRODUCTION
<ul class="actions">

8
sommaire.html

@ -39,7 +39,7 @@
[<h2>(#SLOGAN_SITE_SPIP)</h2>]
[<div>(#DESCRIPTIF_SITE_SPIP)</div>]
</header>
<span class="image featured"><BOUCLE_doc(DOCUMENTS){tout}{id_document=#CONFIG{alpha/doc_home2}}>[(#FICHIER|image_passe_partout{1200,393}|image_reduire{1200}|image_recadre{1200,393,center})]</BOUCLE_doc></span>
<span class="image featured"><BOUCLE_doc(DOCUMENTS){tout}{id_document=#CONFIG{alpha/doc_home2}}>[(#FICHIER|image_recadre{1200:393,-,focus}|image_reduire{1200})]</BOUCLE_doc></span>
</section>
#SET{CPT,0}
@ -49,7 +49,7 @@
#SET{divdeux,#GET{CPT}|fmod{2}}
<div class="6u 12u(narrower)">
<section class="box special">
<span class="image featured">[(#LOGO_ARTICLE_RUBRIQUE|image_passe_partout{619,275}|image_reduire{619}|image_recadre{619,275,center}|inserer_attribut{class,spip_logos})]</span>
<span class="image featured">[(#LOGO_ARTICLE_RUBRIQUE|image_recadre{619:275,-,focus}|image_reduire{619}|inserer_attribut{class,spip_logos})]</span>
<h3>#TITRE</h3>
#INTRODUCTION
<ul class="actions">
@ -65,7 +65,7 @@
#SET{divdeux,#GET{CPT}|fmod{2}}
<div class="6u 12u(narrower)">
<section class="box special">
<span class="image featured">[(#LOGO_ARTICLE_RUBRIQUE|image_passe_partout{619,275}|image_reduire{619}|image_recadre{619,275,center}|inserer_attribut{class,spip_logos})]</span>
<span class="image featured">[(#LOGO_ARTICLE_RUBRIQUE|image_recadre{619:275,-,focus}|image_reduire{619}|inserer_attribut{class,spip_logos})]</span>
<h3>#TITRE</h3>
#INTRODUCTION
<ul class="actions">
@ -82,7 +82,7 @@
#SET{divdeux,#GET{CPT}|fmod{2}}
<div class="6u 12u(narrower)">
<section class="box special">
<span class="image featured">[(#LOGO_ARTICLE_RUBRIQUE|image_passe_partout{619,275}|image_reduire{619}|image_recadre{619,275,center}|inserer_attribut{class,spip_logos})]</span>
<span class="image featured">[(#LOGO_ARTICLE_RUBRIQUE|image_recadre{619:275,-,focus}|image_reduire{619}|inserer_attribut{class,spip_logos})]</span>
<h3>#TITRE</h3>
#INTRODUCTION
<ul class="actions">

Loading…
Cancel
Save