2013-02-26 10:09:41 +01:00
|
|
|
|
2017-05-03 19:13:29 +02: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">
|
2015-06-11 13:53:27 +02:00
|
|
|
<a href="{$titleLink}">{$shaarlititle}</a>
|
2015-03-11 00:13:23 +01:00
|
|
|
</span>
|
|
|
|
</li>
|
2015-07-15 11:47:12 +02:00
|
|
|
|
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}
|
2017-05-03 19:13:29 +02:00
|
|
|
<li><a href="{$titleLink}" class="nomobile">Home</a></li>
|
2018-04-18 23:45:05 +02:00
|
|
|
{if="$is_logged_in"}
|
2023-05-24 11:35:15 +02:00
|
|
|
<li><a href="{$base_path}/admin/logout">Logout</a></li>
|
|
|
|
<li><a href="{$base_path}/admin/tools">Tools</a></li>
|
|
|
|
<li><a href="{$base_path}/admin/add-shaare">Add link</a></li>
|
2016-05-18 21:48:24 +02:00
|
|
|
{elseif="$openshaarli"}
|
2023-05-24 11:35:15 +02:00
|
|
|
<li><a href="{$base_path}/admin/tools">Tools</a></li>
|
|
|
|
<li><a href="{$base_path}/admin/add-shaare">Add link</a></li>
|
2013-02-26 10:09:41 +01:00
|
|
|
{else}
|
2023-05-24 11:35:15 +02:00
|
|
|
<li><a href="{$base_path}/login">Login</a></li>
|
2013-02-26 10:09:41 +01:00
|
|
|
{/if}
|
2023-05-24 11:35:15 +02:00
|
|
|
<li><a href="{$feedurl}/feed/rss?{$searchcrits}" class="nomobile">RSS Feed</a></li>
|
2016-05-18 21:48:24 +02:00
|
|
|
{if="$showatom"}
|
2023-05-24 11:35:15 +02:00
|
|
|
<li><a href="{$feedurl}/feed/atom?{$searchcrits}" class="nomobile">ATOM Feed</a></li>
|
2014-10-23 17:47:30 +02:00
|
|
|
{/if}
|
2023-05-24 11:35:15 +02:00
|
|
|
<li><a href="{$base_path}/tags/cloud">Tag cloud</a></li>
|
|
|
|
<li><a href="{$base_path}/picture-wall{function="ltrim($searchcrits, '&')"}">Picture wall</a></li>
|
|
|
|
<li><a href="{$base_path}/daily">Daily</a></li>
|
2015-07-15 11:47:12 +02:00
|
|
|
{loop="$plugins_header.buttons_toolbar"}
|
2016-12-01 11:38:21 +01:00
|
|
|
<li><a
|
|
|
|
{loop="$value.attr"}
|
|
|
|
{$key}="{$value}"
|
|
|
|
{/loop}>
|
|
|
|
{$value.html}
|
|
|
|
</a></li>
|
2015-07-15 11:47:12 +02:00
|
|
|
{/loop}
|
2013-02-26 10:09:41 +01:00
|
|
|
{/if}
|
2015-03-11 00:13:23 +01:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2018-04-18 23:45:05 +02:00
|
|
|
{if="!empty($plugin_errors) && $is_logged_in"}
|
2015-11-08 13:22:44 +01:00
|
|
|
<ul class="errors">
|
2016-10-16 17:41:08 +02:00
|
|
|
{loop="$plugin_errors"}
|
2015-11-08 13:22:44 +01:00
|
|
|
<li>{$value}</li>
|
|
|
|
{/loop}
|
|
|
|
</ul>
|
|
|
|
{/if}
|
2015-03-11 00:13:23 +01:00
|
|
|
|
2023-05-24 11:35:15 +02:00
|
|
|
{if="!empty($global_errors)"}
|
|
|
|
<ul class="errors">
|
|
|
|
{loop="$global_errors"}
|
|
|
|
<li>{$value}</li>
|
|
|
|
{/loop}
|
|
|
|
</ul>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if="!empty($global_warnings)"}
|
|
|
|
<ul class="warnings">
|
|
|
|
{loop="$global_warnings"}
|
|
|
|
<li>{$value}</li>
|
|
|
|
{/loop}
|
|
|
|
</ul>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if="!empty($global_successes)"}
|
|
|
|
<ul class="successes">
|
|
|
|
{loop="$global_successes"}
|
|
|
|
<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
|
|
|
|
|
|
|
|