]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - tpl/page.header.html
LinkDB: update datastore method names
[github/shaarli/Shaarli.git] / tpl / page.header.html
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"}
40 {if="$key!='html'"}
41 {$key}="{$value}"
42 {/if}
43 {/loop}>
44 {$value.html}
45 </a></li>
46 {/loop}
47 {/if}
48 </ul>
49 </div>
50
51 {if="!empty($plugin_errors) && isLoggedIn()"}
52 <ul class="errors">
53 {loop="$plugin_errors"}
54 <li>{$value}</li>
55 {/loop}
56 </ul>
57 {/if}
58
59 <div class="clear"></div>
60
61