MyShaarli/tpl/vintage/page.header.html

60 lines
1.7 KiB
HTML
Raw Normal View History

2013-02-26 10:09:41 +01:00
<div id="logo" title="Share your links !" onclick="document.location='{$titleLink}';"></div>
2015-03-11 00:13:23 +01:00
<div id="linkcount" class="nomobile">
2016-05-11 00:05:22 +02:00
{if="!empty($linkcount)"}{$linkcount} links{/if}<br>
{if="!empty($privateLinkcount)"}{$privateLinkcount} private links{/if}
2015-03-11 00:13:23 +01:00
</div>
<div id="menu">
<ul>
<li><span id="shaarli_title">
<a href="{$titleLink}">{$shaarlititle}</a>
2015-03-11 00:13:23 +01:00
</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}
<li><a href="{$titleLink}" class="nomobile">Home</a></li>
{if="$is_logged_in"}
2020-05-16 12:55:29 +02:00
<li><a href="./logout">Logout</a></li>
2020-01-23 21:52:03 +01:00
<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>
2013-02-26 10:09:41 +01:00
{else}
2020-05-16 12:55:29 +02:00
<li><a href="./login">Login</a></li>
2013-02-26 10:09:41 +01:00
{/if}
<li><a href="{$feedurl}/feed-rss?{$searchcrits}" class="nomobile">RSS Feed</a></li>
{if="$showatom"}
<li><a href="{$feedurl}/feed-atom?{$searchcrits}" class="nomobile">ATOM Feed</a></li>
{/if}
<li><a href="./tag-cloud">Tag cloud</a></li>
<li><a href="./picture-wall{function="ltrim($searchcrits, '&')"}">Picture wall</a></li>
<li><a href="./daily">Daily</a></li>
{loop="$plugins_header.buttons_toolbar"}
<li><a
{loop="$value.attr"}
{$key}="{$value}"
{/loop}>
{$value.html}
</a></li>
{/loop}
2013-02-26 10:09:41 +01:00
{/if}
2015-03-11 00:13:23 +01:00
</ul>
</div>
{if="!empty($plugin_errors) && $is_logged_in"}
<ul class="errors">
{loop="$plugin_errors"}
<li>{$value}</li>
{/loop}
</ul>
{/if}
2015-03-11 00:13:23 +01:00
<div class="clear"></div>
2013-02-26 10:09:41 +01:00