Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions formulaires/configurer_moncompte.html

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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

-->]
Expand Down
2 changes: 1 addition & 1 deletion menus/mon_compte.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
?>
<a href="#">#SESSION{nom}</a>
<ul>
<INCLURE{fond=listes/list_panels} />
<INCLURE{fond=inclure/moncompte/list_panels} />
<li><a href="#URL_LOGOUT{spip.php?page=sommaire}">Se déconnecter</a></li>
[(#AUTORISER{ecrire})<li><a href="#EVAL{_DIR_RESTREINT_ABS}"><:espace_prive:></a></li>]
</ul>
Expand Down
9 changes: 0 additions & 9 deletions moncompte/profil_modifier.html

This file was deleted.

4 changes: 4 additions & 0 deletions paquet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@
<utilise nom="autorite" compatibilite="[0.10.0;[" />
<utilise nom="commandes" compatibilite="[0.3.1;]" />
<utilise nom="notifavancees" compatibilite="[0.3.1;]" />

<chemin path=""/>
<chemin path="spip"/>
<chemin path="public"/>
</paquet>
File renamed without changes.
File renamed without changes.
11 changes: 6 additions & 5 deletions content/moncompte.html → public/content/moncompte.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@

https://contrib.spip.net/CacheLab-etend-la-balise-CACHE
-->]
#CACHE{5}
#SET{id_auteur,#AUTORISER{webmestre}|?{#ENV{id_auteur,#SESSION{id_auteur}},#SESSION{id_auteur}}}
<BOUCLE_auteur(AUTEURS){tous}{id_auteur=#GET{id_auteur}}>
<INCLURE{fond=moncompte/navigation,env}/>
<?php
include_spip('inc/session');
if (session_get('statut')){
?>
<div id="moncompte">
[(#ENV{panel}|oui)<INCLURE{fond=moncompte/#ENV{panel}}{id_auteur}{env}/>]
[(#ENV{panel}|non)<INCLURE{fond=moncompte/accueil}{id_auteur}{ajax}{env}/>]
</div>
</BOUCLE_auteur>
<?php }else{ ?>
<p class="alert">Vous n'êtes pas connecté</p>
#FORMULAIRE_LOGIN{#SELF}
<//B_auteur>
<?php } ?>
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

-->]
<ul class="navigation" id="nav-moncompte">
[(#INCLURE{fond=listes/list_panels,css=js-accordion})]
[(#INCLURE{fond=inclure/moncompte/list_panels,css=js-accordion})]
</ul>

<script type="application/x-javascript">
Expand Down
9 changes: 9 additions & 0 deletions public/moncompte/profil_modifier.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[(#REM)<!-- # Gestion du Profil


-->]
<h2>Modifier votre profil</h2>

#FORMULAIRE_EDITER_AUTEUR_PUBLIC{#SESSION{id_auteur},#GET{redirect},#ENV{associer_objet}}


File renamed without changes.
File renamed without changes.
File renamed without changes.