From d442300e57d5838edb8be3d79b374888044afb75 Mon Sep 17 00:00:00 2001 From: "real3t@gmail.com" <> Date: Tue, 17 Jul 2018 01:30:46 +0000 Subject: [PATCH] =?UTF-8?q?Suite=20et=20fin=20:=20Pouvoir=20afficher=20un?= =?UTF-8?q?=20logo=20de=20rubrique=20tout=20en=20haut=20de=20la=20page=20(?= =?UTF-8?q?ou=20en=20haut=20de=20la=20colonne=20de=20navigation=20principa?= =?UTF-8?q?le)=20*et*=20les=20logos=20des=20articles=20dans=20la=20liste?= =?UTF-8?q?=20affich=C3=A9e=20au=20milieu=20(Pascale)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../configurer_soyezcreateurs_layout.html | 40 +++++++++++++++---- lang/soyezcreateursprive_fr.php | 3 +- .../rubrique_automatique_articles.html | 2 +- ...ubrique_automatique_articles_archives.html | 2 +- 4 files changed, 37 insertions(+), 10 deletions(-) diff --git a/formulaires/configurer_soyezcreateurs_layout.html b/formulaires/configurer_soyezcreateurs_layout.html index ca049002..128ffe19 100755 --- a/formulaires/configurer_soyezcreateurs_layout.html +++ b/formulaires/configurer_soyezcreateurs_layout.html @@ -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> diff --git a/lang/soyezcreateursprive_fr.php b/lang/soyezcreateursprive_fr.php index 045247cc..ba68653a 100644 --- a/lang/soyezcreateursprive_fr.php +++ b/lang/soyezcreateursprive_fr.php @@ -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', diff --git a/noisettes/rubriques/rubrique_automatique_articles.html b/noisettes/rubriques/rubrique_automatique_articles.html index 111eeacb..1e023696 100644 --- a/noisettes/rubriques/rubrique_automatique_articles.html +++ b/noisettes/rubriques/rubrique_automatique_articles.html @@ -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>]] diff --git a/noisettes/rubriques/rubrique_automatique_articles_archives.html b/noisettes/rubriques/rubrique_automatique_articles_archives.html index 4c49fb89..eb39b224 100644 --- a/noisettes/rubriques/rubrique_automatique_articles_archives.html +++ b/noisettes/rubriques/rubrique_automatique_articles_archives.html @@ -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>]] -- GitLab