aboutsummaryrefslogtreecommitdiffstats
path: root/extensions/Mageia/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@netscape.net>2016-02-24 00:43:00 +0100
committerFrédéric Buclin <LpSolit@netscape.net>2016-02-24 00:43:00 +0100
commit9f4329cfd4ccf1e3030e131299a028df4a6c30df (patch)
treedbf70060cd59dbe33685bb18e597ef0e23f7dca6 /extensions/Mageia/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl
parentbb909eae7218de25805d80a442c6c59e89760df9 (diff)
downloadbugs-9f4329cfd4ccf1e3030e131299a028df4a6c30df.tar
bugs-9f4329cfd4ccf1e3030e131299a028df4a6c30df.tar.gz
bugs-9f4329cfd4ccf1e3030e131299a028df4a6c30df.tar.bz2
bugs-9f4329cfd4ccf1e3030e131299a028df4a6c30df.tar.xz
bugs-9f4329cfd4ccf1e3030e131299a028df4a6c30df.zip
Import Mageia extension - version 5.0
Diffstat (limited to 'extensions/Mageia/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl')
-rw-r--r--extensions/Mageia/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl23
1 files changed, 23 insertions, 0 deletions
diff --git a/extensions/Mageia/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl b/extensions/Mageia/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl
new file mode 100644
index 000000000..675af49f1
--- /dev/null
+++ b/extensions/Mageia/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl
@@ -0,0 +1,23 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% UNLESS user.id %]
+ [% UNLESS Param('createemailregexp') AND user.authorizer.user_can_create_account %]
+ <li id="new_account_container[% qs_suffix FILTER html %]">
+ <span class="separator">| </span>
+ <a href="https://identity.mageia.org/register">New&nbsp;Account</a>
+ </li>
+ [% END %]
+
+ [% UNLESS user.authorizer.can_change_password %]
+ <li id="forgot_container[% qs_suffix FILTER html %]">
+ <span class="separator">| </span>
+ <a href="https://identity.mageia.org/forgot_password">Forgot Password</a>
+ </li>
+ [% END %]
+[% END %]