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

Suite et fin : Pouvoir afficher un logo de rubrique tout en haut de la page...

Suite et fin : Pouvoir afficher un logo de rubrique tout en haut de la page (ou en haut de la colonne de navigation principale) *et* les logos des articles dans la liste affichée au milieu (Pascale)
parent 2ded0b2d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -325,6 +325,15 @@
<fieldset>
<h3 class="legend"><:soyezcreateursprive:cfg_menuderoulantgauche:></h3>
<[(#VAL{ul}|saisie_balise_structure_formulaire)] class="editer-groupe">
[(#SAISIE{radio,menuderoulant,
label=<:soyezcreateursprive:cfg_menuderoulant_label:>,
datas=#ARRAY{
replie,<:soyezcreateursprive:cfg_menuderoulant_replie:>,
deroule,<:soyezcreateursprive:cfg_menuderoulant_deroule:>,
},
defaut=replie,
cacher_option_intro=oui}
)]
[(#SAISIE{radio,logorubriquenavigation,
label=<:soyezcreateursprive:cfg_logorubriquenavigation_label:>,
datas=#ARRAY{
......@@ -349,8 +358,16 @@
},
defaut=content}
)]
</[(#VAL{ul}|saisie_balise_structure_formulaire)]>
</fieldset>
<p class="boutons">
<input type="submit" name="enregistrer" value="<:bouton_enregistrer|attribut_html:>" />
</p>
<fieldset>
<h3 class="legend"><:soyezcreateursprive:cfg_logoarticlerubrique:></h3>
<[(#VAL{ul}|saisie_balise_structure_formulaire)] class="editer-groupe">
[(#SAISIE{radio,logoarticlerubrique,
label=<:soyezcreateursprive:cfg_logoarticlerubrique_label:>,
label=<:soyezcreateursprive:cfg_logoarticlenavigation_label:>,
datas=#ARRAY{
contenthauttitre,<:soyezcreateursprive:cfg_logonavigation_hauttitre:>,
content,<:soyezcreateursprive:cfg_logonavigation_content:>,
......@@ -359,14 +376,23 @@
},
defaut=content}
)]
[(#SAISIE{radio,menuderoulant,
label=<:soyezcreateursprive:cfg_menuderoulant_label:>,
[(#SAISIE{input,largeurlogoarticlerubrique,
label=<:soyezcreateursprive:cfg_largeur:>,
defaut=870,
size=4}
)]
[(#SAISIE{input,hauteurlogoarticlerubrique,
label=<:soyezcreateursprive:cfg_hauteur:>,
defaut=200,
size=4}
)]
[(#SAISIE{radio,cadragelogoarticlerubrique,
label=<:soyezcreateursprive:cfg_cadragelogocontenuautomatique_label:>,
datas=#ARRAY{
replie,<:soyezcreateursprive:cfg_menuderoulant_replie:>,
deroule,<:soyezcreateursprive:cfg_menuderoulant_deroule:>,
entier,<:soyezcreateursprive:cfg_cadragelogocontenuautomatique_entier:>,
recadre,<:soyezcreateursprive:cfg_cadragelogocontenuautomatique_recadre:>,
},
defaut=replie,
cacher_option_intro=oui}
defaut=#CONFIG{soyezcreateurs_layout/cadragelogocontenuautomatique,entier}}
)]
</[(#VAL{ul}|saisie_balise_structure_formulaire)]>
</fieldset>
......
......@@ -163,7 +163,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'cfg_localement' => 'Uniquement localement à la rubrique en cours',
'cfg_logo' => 'Logo',
'cfg_logoarticlenavigation_label' => 'Position logo article',
'cfg_logoarticlerubrique_label' => 'Position logo des articles affichés au sein d’une rubrique',
'cfg_logoarticlerubrique' => 'Logos des articles affichés au sein d’une rubrique',
'cfg_logoarticlerubrique_label' => 'Position logo',
'cfg_logonavigation_bastitre' => 'Dans le corps de la page, après le titre',
'cfg_logonavigation_content' => 'Dans le corps de la page, dans le titre',
'cfg_logonavigation_hauttitre' => 'Dans le corps de la page, avant le titre',
......
......@@ -5,7 +5,7 @@
<B_articles_recents>
#ANCRE_PAGINATION
<dl id="listearticlerubrique">
<BOUCLE_articles_recents(ARTICLES){id_rubrique}{lang}{tri #GET{tri},#GET{senstri}}{!archive}{pagination}>[(#CONFIG{soyezcreateurs_layout/cadragelogocontenuautomatique,entier}|=={recadre}|oui)[(#SET{lelogo,[(#LOGO_ARTICLE_NORMAL|image_focus{#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}})]})]][(#CONFIG{soyezcreateurs_layout/cadragelogocontenuautomatique,entier}|=={entier}|oui)[(#SET{lelogo,[(#LOGO_ARTICLE_NORMAL|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}})]})]]
<BOUCLE_articles_recents(ARTICLES){id_rubrique}{lang}{tri #GET{tri},#GET{senstri}}{!archive}{pagination}>[(#CONFIG{soyezcreateurs_layout/cadragelogoarticlerubrique,#CONFIG{soyezcreateurs_layout/cadragelogocontenuautomatique,entier}}|=={recadre}|oui)[(#SET{lelogo,[(#LOGO_ARTICLE_NORMAL|image_focus{#CONFIG{soyezcreateurs_layout/largeurlogoarticlerubrique,#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64}},#CONFIG{soyezcreateurs_layout/hauteurlogoarticlerubrique,#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}})]})]][(#CONFIG{soyezcreateurs_layout/cadragelogoarticlerubrique,#CONFIG{soyezcreateurs_layout/cadragelogocontenuautomatique,entier}}|=={entier}|oui)[(#SET{lelogo,[(#LOGO_ARTICLE_NORMAL|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogoarticlerubrique,#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64}},#CONFIG{soyezcreateurs_layout/hauteurlogoarticlerubrique,#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}})]})]]
[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={contenthauttitre}|oui)[<dt class="haslogo nogap[(#COMPTEUR_BOUCLE|alterner{'',' odd'})]"><a href="#ARTICLE_URL" title="[(#DESCRIPTIF|attribut_html)][ ((#INCLURE{fond=noisettes/aff_datepublication,id_article}|supprimer_tags))]"><img class="logo contenthauttitre" src="(#GET{lelogo}|extraire_attribut{src}|embarque_fichier)" width="[(#GET{lelogo}|largeur)]" height="[(#GET{lelogo}|hauteur)]" alt="" /></a></dt>]]
<dt class="#EDIT{titre} h2[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={content}|oui)haslogo][(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={contentbastitre}|oui)nogap][(#COMPTEUR_BOUCLE|alterner{'',' odd'})]">[(#INCLURE{fond=noisettes/aff_datepublication,id_article})]<a href="#ARTICLE_URL" title="[(#DESCRIPTIF|attribut_html)][ ((#INCLURE{fond=noisettes/aff_datepublication,id_article}|supprimer_tags))]">[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={content}|oui)[<img class="logo logo_modenews" src="(#GET{lelogo}|extraire_attribut{src}|embarque_fichier)" width="[(#GET{lelogo}|largeur)]" height="[(#GET{lelogo}|hauteur)]" alt="" />]][(#TITRE)]</a></dt>
[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={contentbastitre}|oui)[<dt class="haslogo [(#COMPTEUR_BOUCLE|alterner{'',' odd'})]"><a href="#ARTICLE_URL" title="[(#DESCRIPTIF|attribut_html)][ ((#INCLURE{fond=noisettes/aff_datepublication,id_article}|supprimer_tags))]"><img class="logo contentbastitre" src="(#GET{lelogo}|extraire_attribut{src}|embarque_fichier)" width="[(#GET{lelogo}|largeur)]" height="[(#GET{lelogo}|hauteur)]" alt="" /></a></dt>]]
......
......@@ -5,7 +5,7 @@
<B_articles_recents>
#ANCRE_PAGINATION
<dl id="listearticlerubrique">
<BOUCLE_articles_recents(ARTICLES){id_rubrique}{lang}{tri #GET{tri},#GET{senstri}}{archive}{pagination}>[(#CONFIG{soyezcreateurs_layout/cadragelogocontenuautomatique,entier}|=={recadre}|oui)[(#SET{lelogo,[(#LOGO_ARTICLE_NORMAL|image_focus{#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}})]})]][(#CONFIG{soyezcreateurs_layout/cadragelogocontenuautomatique,entier}|=={entier}|oui)[(#SET{lelogo,[(#LOGO_ARTICLE_NORMAL|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}})]})]]
<BOUCLE_articles_recents(ARTICLES){id_rubrique}{lang}{tri #GET{tri},#GET{senstri}}{archive}{pagination}>[(#CONFIG{soyezcreateurs_layout/cadragelogoarticlerubrique,#CONFIG{soyezcreateurs_layout/cadragelogocontenuautomatique,entier}}|=={recadre}|oui)[(#SET{lelogo,[(#LOGO_ARTICLE_NORMAL|image_focus{#CONFIG{soyezcreateurs_layout/largeurlogoarticlerubrique,#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64}},#CONFIG{soyezcreateurs_layout/hauteurlogoarticlerubrique,#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}})]})]][(#CONFIG{soyezcreateurs_layout/cadragelogoarticlerubrique,#CONFIG{soyezcreateurs_layout/cadragelogocontenuautomatique,entier}}|=={entier}|oui)[(#SET{lelogo,[(#LOGO_ARTICLE_NORMAL|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogoarticlerubrique,#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64}},#CONFIG{soyezcreateurs_layout/hauteurlogoarticlerubrique,#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}})]})]]
[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={contenthauttitre}|oui)[<dt class="haslogo nogap[(#COMPTEUR_BOUCLE|alterner{'',' odd'})]"><a href="#ARTICLE_URL" title="[(#DESCRIPTIF|attribut_html)][ ((#INCLURE{fond=noisettes/aff_datepublication,id_article}|supprimer_tags))]"><img class="logo contenthauttitre" src="(#GET{lelogo}|extraire_attribut{src}|embarque_fichier)" width="[(#GET{lelogo}|largeur)]" height="[(#GET{lelogo}|hauteur)]" alt="" /></a></dt>]]
<dt class="#EDIT{titre} h2[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={content}|oui)haslogo][(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={contentbastitre}|oui)nogap][(#COMPTEUR_BOUCLE|alterner{'',' odd'})]">[(#INCLURE{fond=noisettes/aff_datepublication,id_article})]<a href="#ARTICLE_URL" title="[(#DESCRIPTIF|attribut_html)][ ((#INCLURE{fond=noisettes/aff_datepublication,id_article}|supprimer_tags))]">[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={content}|oui)[<img class="logo logo_modenews" src="(#GET{lelogo}|extraire_attribut{src}|embarque_fichier)" width="[(#GET{lelogo}|largeur)]" height="[(#GET{lelogo}|hauteur)]" alt="" />]][(#TITRE)]</a></dt>
[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={contentbastitre}|oui)[<dt class="haslogo [(#COMPTEUR_BOUCLE|alterner{'',' odd'})]"><a href="#ARTICLE_URL" title="[(#DESCRIPTIF|attribut_html)][ ((#INCLURE{fond=noisettes/aff_datepublication,id_article}|supprimer_tags))]"><img class="logo contentbastitre" src="(#GET{lelogo}|extraire_attribut{src}|embarque_fichier)" width="[(#GET{lelogo}|largeur)]" height="[(#GET{lelogo}|hauteur)]" alt="" /></a></dt>]]
......
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