aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/identification.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-01-12 20:50:46 +0000
committerrvelices <rv-github@modusoptimus.com>2012-01-12 20:50:46 +0000
commit6a115001ba122c2084e28353e025f7c8c5f62335 (patch)
treeb6c15c78fc725c9d87ce7ded08d67e6d612fc362 /themes/default/template/identification.tpl
parent65590487d4f07d81a3e47899c2454df187d3f23a (diff)
bug 2553 hide menubar/register on indentification page if gallery is locked or guest_access is false
git-svn-id: http://piwigo.org/svn/trunk@12878 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/default/template/identification.tpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/themes/default/template/identification.tpl b/themes/default/template/identification.tpl
index ecdff0bb1..7f6d53091 100644
--- a/themes/default/template/identification.tpl
+++ b/themes/default/template/identification.tpl
@@ -1,5 +1,5 @@
{if isset($MENUBAR)}{$MENUBAR}{/if}
-<div id="content" class="content">
+<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
<div class="titrePage">
<ul class="categoryActions">
@@ -47,16 +47,18 @@
<input tabindex="4" type="submit" name="login" value="{'Submit'|@translate}">
</p>
- <p>
+ <p>
{if isset($U_REGISTER)}
<a href="{$U_REGISTER}" title="{'Register'|@translate}" class="pwg-state-default pwg-button">
<span class="pwg-icon pwg-icon-register">&nbsp;</span><span>{'Register'|@translate}</span>
</a>
{/if}
+{if isset($U_LOST_PASSWORD)}
<a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" class="pwg-state-default pwg-button">
<span class="pwg-icon pwg-icon-lost-password">&nbsp;</span><span>{'Forgot your password?'|@translate}</span>
</a>
- </p>
+{/if}
+ </p>
</form>