piwigo/template/yoga/menubar.tpl
vdigital 01be744d07 Yoga has input[type="submit"] style addressability restored.
(Since Javascript/Rating it was not possible to change button without loosing rating stars).
p0w0 is fix for a new button display.

git-svn-id: http://piwigo.org/svn/trunk@1780 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-05 07:16:21 +00:00

151 lines
5 KiB
Smarty

<!-- $Id$ -->
<div id="menubar">
<!-- BEGIN links -->
<dl id="mbLinks">
<dt>{lang:Links}</dt>
<dd>
<ul>
<!-- BEGIN link -->
<li>
<a href="{links.link.URL}"
<!-- BEGIN new_window -->
onclick="window.open(this.href,
'{links.link.new_window.name}',
'{links.link.new_window.features}'
); return false;"
<!-- END new_window -->
>{links.link.LABEL}
</a>
</li>
<!-- END link -->
</ul>
</dd>
</dl>
<!-- END links -->
<!-- BEGIN start_filter -->
<a href="{start_filter.URL}" title="{lang:start_filter_hint}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/start_filter.png" class="button" alt="{lang:start_filter_hint}"></a>
<!-- END start_filter -->
<!-- BEGIN stop_filter -->
<a href="{stop_filter.URL}" title="{lang:stop_filter_hint}"><img src="{pwg_root}{themeconf:icon_dir}/stop_filter.png" class="button" alt="{lang:stop_filter_hint}"></a>
<!-- END stop_filter -->
<dl id="mbCategories">
<dt><a href="{U_HOME}">{lang:Categories}</a></dt>
<dd>
{MENU_CATEGORIES_CONTENT}
<p class="totalImages">{NB_PICTURE} {lang:total}</p>
</dd>
</dl>
<!-- BEGIN tags -->
<dl id="mbTags">
<dt>{lang:Related tags}</dt>
<dd>
<ul id="menuTagCloud">
<!-- BEGIN tag -->
<li>
<!-- BEGIN add -->
<a href="{tags.tag.add.URL}" title="{tags.tag.add.TITLE}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/add_tag.png" alt="+"></a>
<!-- END add -->
<a href="{tags.tag.URL}" class="{tags.tag.CLASS}" title="{tags.tag.TITLE}">{tags.tag.NAME}</a>
</li>
<!-- END tag -->
</ul>
</dd>
</dl>
<!-- END tags -->
<dl id="mbSpecial">
<dt>{lang:special_categories}</dt>
<dd>
<ul>
<!-- BEGIN special_cat -->
<li><a href="{special_cat.URL}" title="{special_cat.TITLE}" {special_cat.REL}>{special_cat.NAME}</a></li>
<!-- END special_cat -->
</ul>
</dd>
</dl>
<dl id="mbMenu">
<dt>{lang:title_menu}</dt>
<dd>
<!-- BEGIN summary -->
<!-- BEGIN quick_search -->
<form action="{pwg_root}qsearch.php" method="get" id="quicksearch">
<p>
<input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" />
</p>
</form>
<script type="text/javascript">var qsearch_prompt="{lang:search}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
<!-- END quick_search -->
<!-- END summary -->
<ul>
<!-- BEGIN summary -->
<li><a href="{summary.U_SUMMARY}" title="{summary.TITLE}" {summary.REL}>{summary.NAME}</a></li>
<!-- END summary -->
<!-- BEGIN upload -->
<li><a href="{upload.U_UPLOAD}">{lang:upload_picture}</a></li>
<!-- END upload -->
</ul>
</dd>
</dl>
<dl id="mbIdentification">
<dt>{lang:identification}</dt>
<dd>
<!-- BEGIN hello -->
<p>{lang:hello}&nbsp;{USERNAME}&nbsp;!</p>
<!-- END hello -->
<ul>
<!-- BEGIN register -->
<li><a href="{U_REGISTER}" title="{lang:Create a new account}" rel="nofollow">{lang:Register}</a></li>
<!-- END register -->
<!-- BEGIN login -->
<li><a href="{F_IDENTIFY}" rel="nofollow">{lang:Connection}</a></li>
<!-- END login -->
<!-- BEGIN logout -->
<li><a href="{U_LOGOUT}">{lang:logout}</a></li>
<!-- END logout -->
<!-- BEGIN profile -->
<li><a href="{U_PROFILE}" title="{lang:hint_customize}">{lang:customize}</a></li>
<!-- END profile -->
<!-- BEGIN admin -->
<li><a href="{U_ADMIN}" title="{lang:hint_admin}">{lang:admin}</a></li>
<!-- END admin -->
</ul>
<!-- BEGIN quickconnect -->
<form method="post" action="{F_IDENTIFY}" class="filter" id="quickconnect">
<fieldset>
<legend>{lang:Quick connect}</legend>
<label>
{lang:Username}
<input type="text" name="username" size="15" value="">
</label>
<label>
{lang:Password}
<input type="password" name="password" size="15">
</label>
<!-- BEGIN remember_me -->
<label>
{lang:remember_me}
<input type="checkbox" name="remember_me" value="1">
</label>
<!-- END remember_me -->
<p>
<input class="submit" type="submit" name="login" value="{lang:submit}">
</p>
<ul class="actions">
<li><a href="{U_LOST_PASSWORD}" title="{lang:Forgot your password?}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/lost_password.png" class="button" alt="{lang:Forgot your password?}"></a></li>
<!-- BEGIN register -->
<li><a href="{U_REGISTER}" title="{lang:Create a new account}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/register.png" class="button" alt="{lang:register}"/></a></li>
<!-- END register -->
</ul>
</fieldset>
</form>
<!-- END quickconnect -->
</dd>
</dl>
</div> <!-- menubar -->