diff options
Diffstat (limited to 'tpl/default/page.header.html')
-rw-r--r-- | tpl/default/page.header.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html new file mode 100644 index 00000000..cce61ec4 --- /dev/null +++ b/tpl/default/page.header.html | |||
@@ -0,0 +1,59 @@ | |||
1 | |||
2 | <div id="logo" title="Share your links !" onclick="document.location='?';"></div> | ||
3 | |||
4 | <div id="linkcount" class="nomobile"> | ||
5 | {if="!empty($linkcount)"}{$linkcount} links{/if}<br> | ||
6 | {if="!empty($privateLinkcount)"}{$privateLinkcount} private links{/if} | ||
7 | </div> | ||
8 | |||
9 | <div id="menu"> | ||
10 | <ul> | ||
11 | <li><span id="shaarli_title"> | ||
12 | <a href="{$titleLink}">{$shaarlititle}</a> | ||
13 | </span> | ||
14 | </li> | ||
15 | |||
16 | {if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"} | ||
17 | {ignore} When called as a popup from bookmarklet, do not display menu. {/ignore} | ||
18 | {else} | ||
19 | <li><a href="?" class="nomobile">Home</a></li> | ||
20 | {if="isLoggedIn()"} | ||
21 | <li><a href="?do=logout">Logout</a></li> | ||
22 | <li><a href="?do=tools">Tools</a></li> | ||
23 | <li><a href="?do=addlink">Add link</a></li> | ||
24 | {elseif="$openshaarli"} | ||
25 | <li><a href="?do=tools">Tools</a></li> | ||
26 | <li><a href="?do=addlink">Add link</a></li> | ||
27 | {else} | ||
28 | <li><a href="?do=login">Login</a></li> | ||
29 | {/if} | ||
30 | <li><a href="{$feedurl}?do=rss{$searchcrits}" class="nomobile">RSS Feed</a></li> | ||
31 | {if="$showatom"} | ||
32 | <li><a href="{$feedurl}?do=atom{$searchcrits}" class="nomobile">ATOM Feed</a></li> | ||
33 | {/if} | ||
34 | <li><a href="?do=tagcloud">Tag cloud</a></li> | ||
35 | <li><a href="?do=picwall{$searchcrits}">Picture wall</a></li> | ||
36 | <li><a href="?do=daily">Daily</a></li> | ||
37 | {loop="$plugins_header.buttons_toolbar"} | ||
38 | <li><a | ||
39 | {loop="$value.attr"} | ||
40 | {$key}="{$value}" | ||
41 | {/loop}> | ||
42 | {$value.html} | ||
43 | </a></li> | ||
44 | {/loop} | ||
45 | {/if} | ||
46 | </ul> | ||
47 | </div> | ||
48 | |||
49 | {if="!empty($plugin_errors) && isLoggedIn()"} | ||
50 | <ul class="errors"> | ||
51 | {loop="$plugin_errors"} | ||
52 | <li>{$value}</li> | ||
53 | {/loop} | ||
54 | </ul> | ||
55 | {/if} | ||
56 | |||
57 | <div class="clear"></div> | ||
58 | |||
59 | |||