Skip to content
Extraits de code Groupes Projets
Valider a59592bb rédigé par globitrottux@gmail.com's avatar globitrottux@gmail.com
Parcourir les fichiers

Ajout de la configuration de la taille des images du bloc Goodies.

parent 44c4bb71
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -180,6 +180,23 @@
<li class="boutons">
<input type="submit" name="_cfg_ok" value="<:cfg:bouton_mettre_a_jour:>" />
</li>
<li class="fieldset">
<fieldset>
<h3 class="legend"><:soyezcreateurs:cfg_taille_logos_max_goody:></h3>
<ul>
[(#SAISIE{input,largeurlogogoody,
label=<:soyezcreateurs:cfg_largeur:>,
defaut=48,
size=2}
)]
[(#SAISIE{input,hauteurlogogoody,
label=<:soyezcreateurs:cfg_hauteur:>,
defaut=48,
size=2}
)]
</ul>
</fieldset>
</li>
<li class="fieldset">
<fieldset>
<h3 class="legend"><:soyezcreateurs:cfg_taille_logos_max_outils:></h3>
......
......@@ -297,6 +297,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'cfg_taille_logos_max_menufooter' => 'Taille maximum des logos du menu de pied de page',
'cfg_taille_logos_max_menuprincipal' => 'Taille maximum des logos du menu principal',
'cfg_taille_logos_max_outils' => 'Taille maximum des logos de la boite à outil',
'cfg_taille_logos_max_goody' => 'Taille maximum des logos des goodies',
'cfg_texte_bandeau_annonce' => 'Texte du bandeau d’annonce en haut du site',
'cfg_texte_bandeau_label' => 'Texte du bandeau de contact du site',
'cfg_texte_central' => 'Texte central',
......
......@@ -4,11 +4,11 @@
<h2 class="#EDIT{titre}"><BOUCLE_articles_plusdun(ARTICLES) {id_rubrique} {1,1}{lang}><a href="#URL_RUBRIQUE"[ title="(#_RubGoodies:DESCRIPTIF|attribut_html)"]>#_RubGoodies:TITRE</a></BOUCLE_articles_plusdun><BOUCLE_articles_unseul(ARTICLES) {id_rubrique} {0,1}{lang}><a href="#ARTICLE_URL"[ title="(#_RubGoodies:DESCRIPTIF|attribut_html)"]>#_RubGoodies:TITRE</a></BOUCLE_articles_unseul><a href="#URL_RUBRIQUE"[ title="(#_RubGoodies:DESCRIPTIF|attribut_html)"]>#_RubGoodies:TITRE</a><//B_articles_unseul><//B_articles_plusdun></h2>
<BOUCLE_Goodies(ARTICLES) {branche}{par num titre}{!par date}{lang}{0,(#CONFIG{soyezcreateurs/nombres_goodies,5})}>
<div class="goody">
[<div onclick="location.href='#ARTICLE_URL';" title="<:soyezcreateurs:liresuitede:>[ (#TITRE|attribut_html)]" style="cursor:pointer" class="#EDIT{titre} goody_ligne">[<img class="logo_goody" src="(#LOGO_ARTICLE_SURVOL|sinon{#LOGO_ARTICLE_NORMAL}|image_reduire{48,48}|image_format{png}|image_recadre{48,48,top center,transparent}|extraire_attribut{src}|sinon{#CHEMIN{images/actualites.png}})" width="48" height="48" alt="" />](#TITRE)[<br />
[<div onclick="location.href='#ARTICLE_URL';" title="<:soyezcreateurs:liresuitede:>[ (#TITRE|attribut_html)]" style="cursor:pointer" class="#EDIT{titre} goody_ligne">[<img class="logo_goody" src="(#LOGO_ARTICLE_SURVOL|sinon{#LOGO_ARTICLE_NORMAL}|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogogoody,48},#CONFIG{soyezcreateurs_layout/hauteurlogogoody,48}}|image_format{png}|image_recadre{#CONFIG{soyezcreateurs_layout/largeurlogogoody,48},#CONFIG{soyezcreateurs_layout/hauteurlogogoody,48},top center,transparent}|extraire_attribut{src}|sinon{#CHEMIN{images/actualites.png}})" width="[(#LOGO_ARTICLE_NORMAL|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogogoody,48},#CONFIG{soyezcreateurs_layout/hauteurlogogoody,48}}|largeur)]" height="[(#LOGO_ARTICLE_NORMAL|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogogoody,48},#CONFIG{soyezcreateurs_layout/hauteurlogogoody,48}}|hauteur)]" alt="" />](#TITRE)[<br />
(#CONFIG{soyezcreateurs/aff_datepublicationgoodies,on}|=={on}|oui)[(#DATE|affdate)]]
</div>]
</div><!-- goody -->
</BOUCLE_Goodies>
</div><!-- goodies -->
</B_Goodies>
</BOUCLE_RubGoodies>
</BOUCLE_RubGoodies>
\ No newline at end of file
......@@ -140,7 +140,7 @@
<BOUCLE_Goodies(ARTICLES) {!par #CONFIG{soyezcreateurs/ordre_quoideneuf,date_modif}}{0,(#CONFIG{soyezcreateurs/nombres_alanune,4})}{titre_mot=Goodies}{lang}>
<h1 class="#EDIT{titre}"><a href="#ARTICLE_URL" title="[(#DESCRIPTIF|supprimer_tags|attribut_html)][ ((#INCLURE{fond=noisettes/aff_datepublication}{id_article}|supprimer_tags))]">[(#TITRE)]</a></h1>
<div class="goody">
[<div onclick="location.href='#ARTICLE_URL';" title="<:soyezcreateurs:liresuitede:>[ (#TITRE|supprimer_tags|attribut_html)]" style="cursor:pointer">[<img class="logo_modenews" src="(#LOGO_ARTICLE|image_reduire{48,48}|extraire_attribut{src})" width="[(#LOGO_ARTICLE|image_reduire{48,48}|largeur)]" height="[(#LOGO_ARTICLE|image_reduire{48,48}|hauteur)]" alt="[(#TITRE|supprimer_tags|attribut_html) (logo)]" />](#CHAPO*|ptobr|substr{0,1}|=={=}|?{[(#DESCRIPTIF|sinon{[(#TEXTE|couper{300})]})],[(#CHAPO|sinon{#DESCRIPTIF}|sinon{[(#TEXTE|couper{300})]})]}|image_reduire{#CONFIG{soyezcreateurs_layout/maxlargeurimage,540},0})</div>]
[<div onclick="location.href='#ARTICLE_URL';" title="<:soyezcreateurs:liresuitede:>[ (#TITRE|supprimer_tags|attribut_html)]" style="cursor:pointer">[<img class="logo_modenews" src="(#LOGO_ARTICLE|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogogoody,48},#CONFIG{soyezcreateurs_layout/hauteurlogogoody,48}}|extraire_attribut{src})" width="[(#LOGO_ARTICLE|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogogoody,48},#CONFIG{soyezcreateurs_layout/hauteurlogogoody,48}}|largeur)]" height="[(#LOGO_ARTICLE|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogogoody,48},#CONFIG{soyezcreateurs_layout/hauteurlogogoody,48}}|hauteur)]" alt="[(#TITRE|supprimer_tags|attribut_html) (logo)]" />](#CHAPO*|ptobr|substr{0,1}|=={=}|?{[(#DESCRIPTIF|sinon{[(#TEXTE|couper{300})]})],[(#CHAPO|sinon{#DESCRIPTIF}|sinon{[(#TEXTE|couper{300})]})]}|image_reduire{#CONFIG{soyezcreateurs_layout/maxlargeurimage,540},0})</div>]
</div>
</BOUCLE_Goodies>
</div>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter