MyShaarli/tpl/page.header.html

44 lines
1.3 KiB
HTML
Raw Normal View History

2013-02-26 10:09:41 +01:00
2015-03-11 00:13:23 +01:00
<div id="logo" title="Share your links !" onclick="document.location='?';"></div>
<div id="linkcount" class="nomobile">
{if="!empty($linkcount)"}{$linkcount} links{/if}
</div>
<div id="menu">
<ul>
<li><span id="shaarli_title">
<a href="{$titleLink}">{$shaarlititle|htmlspecialchars}</a>
</span>
</li>
2013-02-26 10:09:41 +01:00
{if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"}
{ignore} When called as a popup from bookmarklet, do not display menu. {/ignore}
{else}
2015-03-11 00:13:23 +01:00
<li><a href="?" class="nomobile">Home</a></li>
2013-02-26 10:09:41 +01:00
{if="isLoggedIn()"}
2015-03-11 00:13:23 +01:00
<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>
2013-02-26 10:09:41 +01:00
{elseif="$GLOBALS['config']['OPEN_SHAARLI']"}
2015-03-11 00:13:23 +01:00
<li><a href="?do=tools">Tools</a></li>
<li><a href="?do=addlink">Add link</a></li>
2013-02-26 10:09:41 +01:00
{else}
2015-03-11 00:13:23 +01:00
<li><a href="?do=login">Login</a></li>
2013-02-26 10:09:41 +01:00
{/if}
2015-03-11 00:13:23 +01:00
<li><a href="{$feedurl}?do=rss{$searchcrits}" class="nomobile">RSS Feed</a></li>
{if="$GLOBALS['config']['SHOW_ATOM']"}
2015-03-11 00:13:23 +01:00
<li><a href="{$feedurl}?do=atom{$searchcrits}" class="nomobile">ATOM Feed</a></li>
{/if}
2015-03-11 00:13:23 +01:00
<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>
2013-02-26 10:09:41 +01:00
{/if}
2015-03-11 00:13:23 +01:00
</ul>
</div>
<div class="clear"></div>
2013-02-26 10:09:41 +01:00