aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/page.header.html
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2017-01-06 11:40:54 +0100
committerGitHub <noreply@github.com>2017-01-06 11:40:54 +0100
commit7418f7cb60524c3bfc2f240386b5e3e7eb9b3257 (patch)
tree4b0c89c133ad1679c5db3a4f0f6b94079f776395 /tpl/default/page.header.html
parent93b1fe54fb99efff30eec0d405cc7319fbbc1f95 (diff)
parent01c6e32a02034ab119d83364c4648ce55d75543b (diff)
downloadShaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.tar.gz
Shaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.tar.zst
Shaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.zip
Merge pull request #732 from ArthurHoaro/feature/theme-manager
Theme manager: improvements
Diffstat (limited to 'tpl/default/page.header.html')
-rw-r--r--tpl/default/page.header.html59
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