From 9718128e0631c590bac3e77185b0841ef1b718d3 Mon Sep 17 00:00:00 2001 From: mistergraphx Date: Sun, 5 Jan 2020 08:27:51 +0100 Subject: [PATCH 1/6] changement de structure de fichier. suppression de la balise cache sur la page d'identification --- paquet.xml | 4 ++++ {breadcrumb => public/breadcrumb}/moncompte.html | 0 {content => public/content}/identification.html | 0 {content => public/content}/moncompte.html | 2 +- {moncompte => public/moncompte}/accueil.html | 0 {moncompte => public/moncompte}/navigation.html | 0 {moncompte => public/moncompte}/profil_modifier.html | 0 {moncompte => public/moncompte}/profil_newsletters.html | 0 {moncompte => public/moncompte}/profil_notifications.html | 0 {lang => spip/lang}/moncompte_fr.php | 0 {lang => spip/lang}/paquet-moncompte_fr.php | 0 {lang => spip/lang}/spip_fr.php | 0 12 files changed, 5 insertions(+), 1 deletion(-) rename {breadcrumb => public/breadcrumb}/moncompte.html (100%) rename {content => public/content}/identification.html (100%) rename {content => public/content}/moncompte.html (97%) rename {moncompte => public/moncompte}/accueil.html (100%) rename {moncompte => public/moncompte}/navigation.html (100%) rename {moncompte => public/moncompte}/profil_modifier.html (100%) rename {moncompte => public/moncompte}/profil_newsletters.html (100%) rename {moncompte => public/moncompte}/profil_notifications.html (100%) rename {lang => spip/lang}/moncompte_fr.php (100%) rename {lang => spip/lang}/paquet-moncompte_fr.php (100%) rename {lang => spip/lang}/spip_fr.php (100%) diff --git a/paquet.xml b/paquet.xml index f4ab1bf..6256a18 100755 --- a/paquet.xml +++ b/paquet.xml @@ -19,4 +19,8 @@ + + + + diff --git a/breadcrumb/moncompte.html b/public/breadcrumb/moncompte.html similarity index 100% rename from breadcrumb/moncompte.html rename to public/breadcrumb/moncompte.html diff --git a/content/identification.html b/public/content/identification.html similarity index 100% rename from content/identification.html rename to public/content/identification.html diff --git a/content/moncompte.html b/public/content/moncompte.html similarity index 97% rename from content/moncompte.html rename to public/content/moncompte.html index 28a63ee..d56d217 100755 --- a/content/moncompte.html +++ b/public/content/moncompte.html @@ -8,7 +8,7 @@ https://contrib.spip.net/CacheLab-etend-la-balise-CACHE -->] -#CACHE{5} +#CACHE{24*3600} #SET{id_auteur,#AUTORISER{webmestre}|?{#ENV{id_auteur,#SESSION{id_auteur}},#SESSION{id_auteur}}} diff --git a/moncompte/accueil.html b/public/moncompte/accueil.html similarity index 100% rename from moncompte/accueil.html rename to public/moncompte/accueil.html diff --git a/moncompte/navigation.html b/public/moncompte/navigation.html similarity index 100% rename from moncompte/navigation.html rename to public/moncompte/navigation.html diff --git a/moncompte/profil_modifier.html b/public/moncompte/profil_modifier.html similarity index 100% rename from moncompte/profil_modifier.html rename to public/moncompte/profil_modifier.html diff --git a/moncompte/profil_newsletters.html b/public/moncompte/profil_newsletters.html similarity index 100% rename from moncompte/profil_newsletters.html rename to public/moncompte/profil_newsletters.html diff --git a/moncompte/profil_notifications.html b/public/moncompte/profil_notifications.html similarity index 100% rename from moncompte/profil_notifications.html rename to public/moncompte/profil_notifications.html diff --git a/lang/moncompte_fr.php b/spip/lang/moncompte_fr.php similarity index 100% rename from lang/moncompte_fr.php rename to spip/lang/moncompte_fr.php diff --git a/lang/paquet-moncompte_fr.php b/spip/lang/paquet-moncompte_fr.php similarity index 100% rename from lang/paquet-moncompte_fr.php rename to spip/lang/paquet-moncompte_fr.php diff --git a/lang/spip_fr.php b/spip/lang/spip_fr.php similarity index 100% rename from lang/spip_fr.php rename to spip/lang/spip_fr.php From 6f3b232c9d3bbe48286da8958cbd039d207c7b16 Mon Sep 17 00:00:00 2001 From: mistergraphx Date: Sun, 5 Jan 2020 08:54:11 +0100 Subject: [PATCH 2/6] on remplace par du php la boucle qui conditionne l'affichage --- public/content/moncompte.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/public/content/moncompte.html b/public/content/moncompte.html index d56d217..7f1fa62 100755 --- a/public/content/moncompte.html +++ b/public/content/moncompte.html @@ -8,15 +8,16 @@ https://contrib.spip.net/CacheLab-etend-la-balise-CACHE -->] -#CACHE{24*3600} -#SET{id_auteur,#AUTORISER{webmestre}|?{#ENV{id_auteur,#SESSION{id_auteur}},#SESSION{id_auteur}}} - +
[(#ENV{panel}|oui)] [(#ENV{panel}|non)]
- +

Vous n'êtes pas connecté

#FORMULAIRE_LOGIN{#SELF} - + From c9ddd7215656f73276d28e42d52785d855839e95 Mon Sep 17 00:00:00 2001 From: mistergraphx Date: Sun, 5 Jan 2020 09:05:37 +0100 Subject: [PATCH 3/6] pas de config pour le moment --- formulaires/configurer_moncompte.html | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100755 formulaires/configurer_moncompte.html diff --git a/formulaires/configurer_moncompte.html b/formulaires/configurer_moncompte.html deleted file mode 100755 index e43352f..0000000 --- a/formulaires/configurer_moncompte.html +++ /dev/null @@ -1,22 +0,0 @@ -
- -

<:moncompte:cfg_titre_parametrages:>

- - [

(#ENV*{message_ok})

] - [

(#ENV*{message_erreur})

] - -
-
- #ACTION_FORMULAIRE{#ENV{action}} - -
    - [(#SAISIE{input, exemple, - label=<:moncompte:cfg_exemple:>, - explication=<:moncompte:cfg_exemple_explication:>})] -
- - -

 

-
-
-
\ No newline at end of file From 19ea8ab000b2dc045cb80567d2f249010c6f6a03 Mon Sep 17 00:00:00 2001 From: mistergraphx Date: Sun, 5 Jan 2020 09:06:45 +0100 Subject: [PATCH 4/6] doc indent --- listes/list_panels.html | 2 ++ public/moncompte/navigation.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/listes/list_panels.html b/listes/list_panels.html index bff2a74..2c4b0c4 100755 --- a/listes/list_panels.html +++ b/listes/list_panels.html @@ -2,6 +2,8 @@ Liste les panels ajoutés via la pipeline moncompte_ajouter_panel +Partagée entre le menu et la navigation de l'espace client + @param css - class de la liste -->] diff --git a/public/moncompte/navigation.html b/public/moncompte/navigation.html index d7764bd..a124f9b 100755 --- a/public/moncompte/navigation.html +++ b/public/moncompte/navigation.html @@ -14,7 +14,7 @@ -->]