diff options
Diffstat (limited to 'tpl/page.header.html')
-rw-r--r-- | tpl/page.header.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tpl/page.header.html b/tpl/page.header.html new file mode 100644 index 00000000..60fc1767 --- /dev/null +++ b/tpl/page.header.html | |||
@@ -0,0 +1,26 @@ | |||
1 | |||
2 | <div id="logo" title="Share your links !" onclick="document.location='?';"></div> | ||
3 | <div style="float:right; font-style:italic; color:#bbb; text-align:right; padding:0 5 0 0;" class="nomobile">Shaare your links...<br> | ||
4 | {if="!empty($linkcount)"}{$linkcount} links{/if}</div> | ||
5 | <span id="shaarli_title"><a href="?">{$shaarlititle}</a></span> | ||
6 | |||
7 | {if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"} | ||
8 | {ignore} When called as a popup from bookmarklet, do not display menu. {/ignore} | ||
9 | {else} | ||
10 | <a href="?" class="nomobile">Home</a> | ||
11 | {if="isLoggedIn()"} | ||
12 | <a href="?do=logout">Logout</a><a href="?do=tools">Tools</a><a href="?do=addlink"><b>Add link</b></a> | ||
13 | {elseif="$GLOBALS['config']['OPEN_SHAARLI']"} | ||
14 | <a href="?do=tools">Tools</a><a href="?do=addlink"><b>Add link</b></a> | ||
15 | {else} | ||
16 | <a href="?do=login">Login</a> | ||
17 | {/if} | ||
18 | <a href="{$feedurl}?do=rss{$searchcrits}" class="nomobile">RSS Feed</a> | ||
19 | <a href="{$feedurl}?do=atom{$searchcrits}" style="padding-left:10px;" class="nomobile">ATOM Feed</a> | ||
20 | <a href="?do=tagcloud">Tag cloud</a> | ||
21 | <a href="?do=picwall{$searchcrits}">Picture wall</a> | ||
22 | <a href="?do=daily">Daily</a> | ||
23 | {/if} | ||
24 | <div class="clear"></div> | ||
25 | |||
26 | |||