dec5fe9c69
Relates to https://github.com/shaarli/Shaarli/issues/613 Before: {loop="someVariable"} After: {loop="$someVariable"} Signed-off-by: VirtualTam <virtualtam@flibidi.net>
54 lines
1.6 KiB
HTML
54 lines
1.6 KiB
HTML
|
|
<div id="logo" title="Share your links !" onclick="document.location='?';"></div>
|
|
|
|
<div id="linkcount" class="nomobile">
|
|
{if="!empty($linkcount)"}{$linkcount} links{/if}<br>
|
|
{if="!empty($privateLinkcount)"}{$privateLinkcount} private links{/if}
|
|
</div>
|
|
|
|
<div id="menu">
|
|
<ul>
|
|
<li><span id="shaarli_title">
|
|
<a href="{$titleLink}">{$shaarlititle}</a>
|
|
</span>
|
|
</li>
|
|
|
|
{if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"}
|
|
{ignore} When called as a popup from bookmarklet, do not display menu. {/ignore}
|
|
{else}
|
|
<li><a href="?" class="nomobile">Home</a></li>
|
|
{if="isLoggedIn()"}
|
|
<li><a href="?do=logout">Logout</a></li>
|
|
<li><a href="?do=tools">Tools</a></li>
|
|
<li><a href="?do=addlink">Add link</a></li>
|
|
{elseif="$openshaarli"}
|
|
<li><a href="?do=tools">Tools</a></li>
|
|
<li><a href="?do=addlink">Add link</a></li>
|
|
{else}
|
|
<li><a href="?do=login">Login</a></li>
|
|
{/if}
|
|
<li><a href="{$feedurl}?do=rss{$searchcrits}" class="nomobile">RSS Feed</a></li>
|
|
{if="$showatom"}
|
|
<li><a href="{$feedurl}?do=atom{$searchcrits}" class="nomobile">ATOM Feed</a></li>
|
|
{/if}
|
|
<li><a href="?do=tagcloud">Tag cloud</a></li>
|
|
<li><a href="?do=picwall{$searchcrits}">Picture wall</a></li>
|
|
<li><a href="?do=daily">Daily</a></li>
|
|
{loop="$plugins_header.buttons_toolbar"}
|
|
{$value}
|
|
{/loop}
|
|
{/if}
|
|
</ul>
|
|
</div>
|
|
|
|
{if="!empty($plugin_errors) && isLoggedIn()"}
|
|
<ul class="errors">
|
|
{loop="$plugin_errors"}
|
|
<li>{$value}</li>
|
|
{/loop}
|
|
</ul>
|
|
{/if}
|
|
|
|
<div class="clear"></div>
|
|
|
|
|