MyShaarli/tpl/myShaarli/page.header.html

24 lines
1.1 KiB
HTML
Raw Normal View History

2015-07-17 11:28:43 +02:00
<div id="logo" title="Share your links !" onclick="document.location='?';"></div>
<div id="linkcount" class="nomobile">
Shaare
{if="!empty($linkcount)"}{$linkcount}{/if} links
</div>
<span id="shaarli_title"><a href="{$titleLink}">{$shaarlititle|htmlspecialchars}</a></span>
2013-02-26 10:09:41 +01:00
{if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"}
2015-07-17 11:28:43 +02:00
{ignore} When called as a popup from bookmarklet, do not display menu. {/ignore}
2013-02-26 10:09:41 +01:00
{else}
2015-07-17 11:28:43 +02:00
<a href="?" class="nomobile">Home</a>
{if="isLoggedIn()"}
<a href="?do=logout">Logout</a><a href="?do=tools">Tools</a><a href="?do=addlink"><b>Add link</b></a>
{elseif="$GLOBALS['config']['OPEN_SHAARLI']"}
<a href="?do=tools">Tools</a><a href="?do=addlink"><b>Add link</b></a>
{else}
<a href="?do=login">Login</a>
{/if}
<a href="{$feedurl}?do=rss{$searchcrits}" class="nomobile">RSS Feed</a>
<a href="{$feedurl}?do=atom{$searchcrits}" style="padding-left:10px;" class="nomobile">ATOM Feed</a>
<a href="?do=tagcloud">Tag cloud</a>
<a href="?do=picwall{$searchcrits}">Picture wall</a>
<a href="?do=daily">Daily</a>
2013-02-26 10:09:41 +01:00
{/if}
2015-07-17 11:28:43 +02:00
<div class="clear"></div>