From 1053fbca1e1b94e4313ad53f2562c65ef54c0ee3 Mon Sep 17 00:00:00 2001 From: RealET <real3t@gmail.com> Date: Wed, 13 Apr 2022 19:39:59 +0200 Subject: [PATCH] =?UTF-8?q?C'=C3=A9tait=20une=20erreur=20de=20supprimer=20?= =?UTF-8?q?cette=20possibilit=C3=A9,=20elle=20est=20utilis=C3=A9e=20sur=20?= =?UTF-8?q?Cin=C3=A9-ma=20diff=C3=A9rence=20(Amar)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- formulaires/configurer_soyezcreateurs.html | 9 +++++++++ lang/soyezcreateursprive_ca.php | 2 ++ lang/soyezcreateursprive_de.php | 2 ++ lang/soyezcreateursprive_en.php | 2 ++ lang/soyezcreateursprive_fr.php | 2 ++ lang/soyezcreateursprive_sk.php | 2 ++ lang/soyezcreateursprive_uk.php | 2 ++ noisettes/agenda/agendathematique.html | 23 ++++++++++++++++++++++ noisettes/agenda/homeagenda.html | 2 +- noisettes/agenda/miniagenda_global.html | 2 +- rubrique.html | 5 +++++ 11 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 noisettes/agenda/agendathematique.html diff --git a/formulaires/configurer_soyezcreateurs.html b/formulaires/configurer_soyezcreateurs.html index 6654ca34..17838837 100755 --- a/formulaires/configurer_soyezcreateurs.html +++ b/formulaires/configurer_soyezcreateurs.html @@ -704,6 +704,15 @@ if (!function_exists('sc_ouinon_default')) { )] </[(#VAL{ul}|saisie_balise_structure_formulaire)]> </fieldset> + <fieldset> + <h3 class="legend"><:soyezcreateursprive:cfg_agendathematique:></h3> + <[(#VAL{ul}|saisie_balise_structure_formulaire)] class="editer-groupe"> + [(#SAISIE{oui_non,agendathematique, + label=<:soyezcreateursprive:cfg_agendathematique_label:>, + defaut=} + )] + </[(#VAL{ul}|saisie_balise_structure_formulaire)]> + </fieldset> <fieldset> <h3 class="legend"><:soyezcreateursprive:cfg_agenda_futurseul:></h3> <[(#VAL{ul}|saisie_balise_structure_formulaire)] class="editer-groupe"> diff --git a/lang/soyezcreateursprive_ca.php b/lang/soyezcreateursprive_ca.php index 8bbf3923..e8ac7a0c 100644 --- a/lang/soyezcreateursprive_ca.php +++ b/lang/soyezcreateursprive_ca.php @@ -37,6 +37,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'cfg_agenda_inscription' => 'Inscripció als esdeveniments', 'cfg_agenda_inscription_label' => 'Autoritzar que els visitants (registrats) s’inscriguin als esdeveniments', 'cfg_agendascolaire' => 'Agenda escolar', + 'cfg_agendathematique' => 'Publicació de l’agenda temà tica', + 'cfg_agendathematique_label' => 'Agenda temà tica (pla temà tica de les seccions i els articles de l’Agenda)', 'cfg_alaune_label' => 'Número de "La primera pà gina"', 'cfg_annuel' => 'Anual', 'cfg_anonymatglobal' => 'Anonimat Global', diff --git a/lang/soyezcreateursprive_de.php b/lang/soyezcreateursprive_de.php index d01a28e9..29fe8c0f 100644 --- a/lang/soyezcreateursprive_de.php +++ b/lang/soyezcreateursprive_de.php @@ -41,6 +41,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'cfg_agenda_inscription' => 'Veranstaltungen-Anmeldung', 'cfg_agenda_inscription_label' => 'Erlauben Sie (aufgezeichnete) Besuchern, sich für Veranstaltungen registrieren', 'cfg_agendascolaire' => 'Schulkalendar', + 'cfg_agendathematique' => 'Thematische Kalenderanzeige', + 'cfg_agendathematique_label' => 'Thematische Agenda (thematische Plan der Themen und Gegenstände der Tagesordnung)', 'cfg_alaune_label' => 'Titelseite', 'cfg_annuel' => 'Jährliche', 'cfg_anonymatglobal' => 'Globale Anonymität', diff --git a/lang/soyezcreateursprive_en.php b/lang/soyezcreateursprive_en.php index 69a363f2..7d5b330a 100644 --- a/lang/soyezcreateursprive_en.php +++ b/lang/soyezcreateursprive_en.php @@ -39,6 +39,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'cfg_agenda_inscription' => 'Events subscription', 'cfg_agenda_inscription_label' => 'Authorise (registered) visitors to subscribe to events', 'cfg_agendascolaire' => 'Academic agenda', + 'cfg_agendathematique' => 'Display the thematic agenda', + 'cfg_agendathematique_label' => 'Thematic agenda (thematic mac of section and articles of the agenda)', 'cfg_alaune_label' => 'Number of "Front page" items', 'cfg_annuel' => 'yearly', 'cfg_anonymatglobal' => 'Global anonymity', diff --git a/lang/soyezcreateursprive_fr.php b/lang/soyezcreateursprive_fr.php index 4c2ddb7a..53eb120f 100644 --- a/lang/soyezcreateursprive_fr.php +++ b/lang/soyezcreateursprive_fr.php @@ -54,6 +54,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'cfg_agenda_inscription' => 'Inscription aux événements', 'cfg_agenda_inscription_label' => 'Autoriser les visiteurs (enregistrés) à s’inscrire aux événements', 'cfg_agendascolaire' => 'Agenda scolaire', + 'cfg_agendathematique' => 'Affichage de l’agenda thématique', + 'cfg_agendathematique_label' => 'Agenda thématique (plan thématique des rubriques et articles de l’Agenda)', 'cfg_alaune_label' => 'Nombre de "À la une"', 'cfg_annuel' => 'Annuel', 'cfg_anonymatglobal' => 'Anonymat Global', diff --git a/lang/soyezcreateursprive_sk.php b/lang/soyezcreateursprive_sk.php index 7a426b13..a097612b 100644 --- a/lang/soyezcreateursprive_sk.php +++ b/lang/soyezcreateursprive_sk.php @@ -39,6 +39,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'cfg_agenda_inscription' => 'Prihlásenie sa na udalosti', 'cfg_agenda_inscription_label' => 'Oprávnenà (zaregistrovanÃ) návÅ¡tevnÃci na prihlásenie sa na udalosti', 'cfg_agendascolaire' => 'Akademický kalendár', + 'cfg_agendathematique' => 'ZobraziÅ¥ tematický kalendár', + 'cfg_agendathematique_label' => 'Thematic agenda (thematic mac of section and articles of the agenda)', 'cfg_alaune_label' => 'PoÄty položiek na hlavnej stránke', 'cfg_annuel' => 'roÄný', 'cfg_anonymatglobal' => 'Globálna anonymita', diff --git a/lang/soyezcreateursprive_uk.php b/lang/soyezcreateursprive_uk.php index 45e76c42..2d93a6d7 100644 --- a/lang/soyezcreateursprive_uk.php +++ b/lang/soyezcreateursprive_uk.php @@ -36,6 +36,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'cfg_agenda_inscription' => 'РеєÑÑ‚Ñ€Ð°Ñ†Ñ–Ñ Ð½Ð° події', 'cfg_agenda_inscription_label' => 'Дозволити відвідувачам (зареєÑтрованим) запиÑатиÑÑŒ на події', 'cfg_agendascolaire' => 'Шкільний щоденник', + 'cfg_agendathematique' => 'ÐÑ„Ñ–ÑˆÑƒÐ²Ð°Ð½Ð½Ñ ( Показ ) тематичного щоденника ', + 'cfg_agendathematique_label' => 'Тематичний щоденник (тематичний план рубрик та розділів щоденника)', 'cfg_alaune_label' => 'КількіÑÑ‚ÑŒ перших Ñторінок', 'cfg_annuel' => 'Річний', 'cfg_anonymatglobal' => 'Глобальна анонімніÑÑ‚ÑŒ', diff --git a/noisettes/agenda/agendathematique.html b/noisettes/agenda/agendathematique.html new file mode 100644 index 00000000..ebf3a8fa --- /dev/null +++ b/noisettes/agenda/agendathematique.html @@ -0,0 +1,23 @@ +#CACHE{3600} +<BOUCLE_rubrique_principal(RUBRIQUES){id_rubrique}> +<div class="texte"> +<main id="main"> +[(#CONFIG{soyezcreateurs_layout/positioncartouchetitre,contenu}|=={contenu}|oui) +<div class="cartouche"> +<div class="titrepage"><h1 class="#EDIT{titre}">[(#SET{lelogo,[(#LOGO_RUBRIQUE_NORMAL|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}})]})][<img class="logo_rubrique" src="(#GET{lelogo}|extraire_attribut{src})"[ width="(#GET{lelogo}|largeur)"][ height="(#GET{lelogo}|hauteur)"] alt="" />][(#TITRE)]</h1></div> +</div> +] + <div id="letexte" class="surlignable"> +[<div class="#EDIT{descriptif} descriptif">(#DESCRIPTIF)</div>] +[<div class="#EDIT{texte}">(#TEXTE)</div>] +[<div class="notes">(#NOTES)</div>] + +[(#INCLURE{fond=noisettes/plan/plan_branche,id_rubrique})] + </div><!-- Fin de #LeTexte --> +</main> +</div><!-- Fin de .texte --> + + + +</BOUCLE_rubrique_principal> +#FILTRE{mini_html} diff --git a/noisettes/agenda/homeagenda.html b/noisettes/agenda/homeagenda.html index ae4eec70..5c89c681 100644 --- a/noisettes/agenda/homeagenda.html +++ b/noisettes/agenda/homeagenda.html @@ -1,7 +1,7 @@ <B_agenda> <div id="homeagenda"> <BOUCLE_agenda(RUBRIQUES){titre_mot=Agenda}{par num titre}{racine}>[ -[<h2 class="#EDIT{titre}"[ title="(#DESCRIPTIF|supprimer_tags|attribut_html)"]><a href="[(#URL_RUBRIQUE)]">(#TITRE)</a></h2>] +[<h2 class="#EDIT{titre}"[ title="(#DESCRIPTIF|supprimer_tags|attribut_html)"]><a href="[(#URL_RUBRIQUE|parametre_url{calendrier,1})]">(#TITRE)</a></h2>] <div class="fond"> (#INCLURE{fond=noisettes/agenda/miniagenda_liste_prochains,id_rubrique}) </div><!-- fond --> diff --git a/noisettes/agenda/miniagenda_global.html b/noisettes/agenda/miniagenda_global.html index 1c7442b0..2c25c0e3 100644 --- a/noisettes/agenda/miniagenda_global.html +++ b/noisettes/agenda/miniagenda_global.html @@ -16,7 +16,7 @@ ] ] [(#ENV{id_rubrique}|oui) - [<h2[ title="(#INFO_DESCRIPTIF{rubrique, #ENV{id_rubrique}}|supprimer_tags|attribut_html)"]><a href="[(#URL_RUBRIQUE{#ENV{id_rubrique}})]">(#INFO_TITRE{rubrique, #ENV{id_rubrique}})</a></h2>] + [<h2[ title="(#INFO_DESCRIPTIF{rubrique, #ENV{id_rubrique}}|supprimer_tags|attribut_html)"]><a href="[(#URL_RUBRIQUE{#ENV{id_rubrique}}|parametre_url{calendrier,1})]">(#INFO_TITRE{rubrique, #ENV{id_rubrique}})</a></h2>] ] <table class="agenda" aria-hidden="true"> <caption> diff --git a/rubrique.html b/rubrique.html index 416df743..a426f162 100644 --- a/rubrique.html +++ b/rubrique.html @@ -13,7 +13,12 @@ {canonical=(#URL_RUBRIQUE|url_absolue)} > <BOUCLE_EstAgenda(HIERARCHIE){id_rubrique}{tout}{titre_mot=Agenda}{inverse}{0,1}> +[(#CONFIG{soyezcreateurs/agendathematique,}|=={#ENV{calendrier,on}}|oui) +<INCLURE{fond=noisettes/agenda/agendathematique,id_rubrique=#_rubrique_principal:ID_RUBRIQUE,env} /> +] +[(#CONFIG{soyezcreateurs/agendathematique,}|!={#ENV{calendrier,on}}|oui) <INCLURE{fond=noisettes/agenda/agendaliste,id_rubrique=#_rubrique_principal:ID_RUBRIQUE,date_ev,env} /> +] </BOUCLE_EstAgenda> <BOUCLE_TypeRubrique(HIERARCHIE){id_rubrique}{tout}{type_mot=_TypeRubrique}{inverse} {0,1}><BOUCLE_Mot_TypeRubrique(MOTS){type=_TypeRubrique}{id_rubrique}>[(#CHEMIN{noisettes/rubriques/typerubrique_#TITRE.html}|oui) -- GitLab