aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/menubar_identification.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-01-19 21:18:45 +0000
committerrvelices <rv-github@modusoptimus.com>2011-01-19 21:18:45 +0000
commit497fa40331bfc960d323cb5af69082e427102934 (patch)
tree23c14362bd9afb267bb21306c84b87f7e63aa88e /themes/default/template/menubar_identification.tpl
parent4a6f62bb8d456077986f32759a73c87664e49e96 (diff)
more compact html output
git-svn-id: http://piwigo.org/svn/trunk@8774 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/menubar_identification.tpl')
-rw-r--r--themes/default/template/menubar_identification.tpl25
1 files changed, 10 insertions, 15 deletions
diff --git a/themes/default/template/menubar_identification.tpl b/themes/default/template/menubar_identification.tpl
index 0f6591508..d368c2976 100644
--- a/themes/default/template/menubar_identification.tpl
+++ b/themes/default/template/menubar_identification.tpl
@@ -1,32 +1,29 @@
<dt>{'Identification'|@translate}</dt>
<dd>
+{strip}
{if isset($USERNAME)}
- <p>{'Hello'|@translate}&nbsp;{$USERNAME}&nbsp;!</p>
+ <p>{'Hello'|@translate} {$USERNAME} !</p>
{/if}
-
<ul>
{if isset($U_REGISTER)}
<li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li>
{/if}
-
{if isset($U_LOGIN)}
<li><a href="{$U_LOGIN}" rel="nofollow">{'Login'|@translate}</a></li>
{/if}
-
{if isset($U_LOGOUT)}
<li><a href="{$U_LOGOUT}">{'Logout'|@translate}</a></li>
{/if}
-
{if isset($U_PROFILE)}
<li><a href="{$U_PROFILE}" title="{'customize the appareance of the gallery'|@translate}">{'Customize'|@translate}</a></li>
{/if}
-
{if isset($U_ADMIN)}
<li><a href="{$U_ADMIN}" title="{'available for administrators only'|@translate}">{'Administration'|@translate}</a></li>
{/if}
</ul>
-
+{/strip}
{if isset($U_LOGIN)}
+{strip}
<form method="post" action="{$U_LOGIN}" id="quickconnect">
<fieldset>
<legend>{'Quick connect'|@translate}</legend>
@@ -35,35 +32,33 @@
<input type="text" name="username" id="username" value="" style="width:99%">
</div>
- <div><label for="password">{'Password'|@translate}</label>
- <br>
+ <div><label for="password">{'Password'|@translate}</label><br>
<input type="password" name="password" id="password" style="width:99%">
</div>
{if $AUTHORIZE_REMEMBERING}
<div><label for="remember_me">
- {'Auto login'|@translate}
- <input type="checkbox" name="remember_me" id="remember_me" value="1">
+ {'Auto login'|@translate} <input type="checkbox" name="remember_me" id="remember_me" value="1">
</label></div>
{/if}
<div>
<input type="hidden" name="redirect" value="{$smarty.server.REQUEST_URI|@urlencode}">
- <input class="submit" type="submit" name="login" value="{'Submit'|@translate}">
+ <input type="submit" name="login" value="{'Submit'|@translate}">
<span class="categoryActions">
{if isset($U_REGISTER)}
<a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" class="pwg-state-default pwg-button">
- <span class="pwg-icon pwg-icon-register">&nbsp;</span>
+ <span class="pwg-icon pwg-icon-register"> </span>
</a>
{/if}
<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 class="pwg-icon pwg-icon-lost-password"> </span>
</a>
</span>
</div>
</fieldset>
</form>
+{/strip}
{/if}
</dd>
-