Skip to content

Commit

Permalink
feat(login): add my contents to login
Browse files Browse the repository at this point in the history
  • Loading branch information
mrflos committed Mar 23, 2024
1 parent af458a2 commit 37ed852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/login/lang/login_fr.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
'LOGIN_PASSWORD_LOST_FOR' => 'Mot de passe perdu pour',
'LOGIN_NO_SIGNUP_IN_THIS_PERIOD' => 'Il n\'y a pas d\'inscription pour cette période.',
'LOGIN_MY_OPTIONS' => "Mes options",
'LOGIN_MY_CONTENTS' => "Mes contenus",

// actions/login.php
'LOGIN_COOKIES_ERROR' => 'Vous devez accepter les cookies pour pouvoir vous connecter.',
Expand Down
1 change: 1 addition & 0 deletions tools/login/templates/default.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{% block loginActionsPart1 %}
{{ PageMenuUser|raw }}
<li><a href="{{ profileurl }}" title="{{ _t('LOGIN_MODIFY_USER') }}">{{ _t('LOGIN_MODIFY_USER') }}</a></li>
<li><a href="{{ url({tag: "MesContenus"}) }}" title="{{ _t('LOGIN_MY_CONTENTS') }}">{{ _t('LOGIN_MY_CONTENTS') }}</a></li>
{% endblock %}
<li>
{% block logoutLink %}
Expand Down

0 comments on commit 37ed852

Please sign in to comment.