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