aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorMiloš Jovanović <mjovanovic@gmail.com>2015-03-10 18:13:23 -0500
committernodiscc <nodiscc@gmail.com>2015-03-11 19:19:04 +0100
commit4aca798e47fcaa6daf90c43714111dc4d15e1f04 (patch)
tree1c5b24b76c04319771de1722001fd5e35679a24b /tpl
parent610bf4186a1406e7aa852681b09c8cb788443e0b (diff)
downloadShaarli-4aca798e47fcaa6daf90c43714111dc4d15e1f04.tar.gz
Shaarli-4aca798e47fcaa6daf90c43714111dc4d15e1f04.tar.zst
Shaarli-4aca798e47fcaa6daf90c43714111dc4d15e1f04.zip
added menu div and cleaned up code
Diffstat (limited to 'tpl')
-rw-r--r--tpl/page.header.html43
1 files changed, 29 insertions, 14 deletions
diff --git a/tpl/page.header.html b/tpl/page.header.html
index 17c0c75c..0fd65e40 100644
--- a/tpl/page.header.html
+++ b/tpl/page.header.html
@@ -1,28 +1,43 @@
1 1
2 <div id="logo" title="Share your links !" onclick="document.location='?';"></div> 2<div id="logo" title="Share your links !" onclick="document.location='?';"></div>
3 <div id="linkcount" class="nomobile">Shaare your links...<br> 3
4 {if="!empty($linkcount)"}{$linkcount} links{/if}</div> 4<div id="linkcount" class="nomobile">
5 <span id="shaarli_title"><a href="{$titleLink}">{$shaarlititle|htmlspecialchars}</a></span> 5 {if="!empty($linkcount)"}{$linkcount} links{/if}
6</div>
7
8<div id="menu">
9 <ul>
10 <li><span id="shaarli_title">
11 <a href="{$titleLink}">{$shaarlititle|htmlspecialchars}</a>
12 </span>
13 </li>
6 14
7{if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"} 15{if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"}
8 {ignore} When called as a popup from bookmarklet, do not display menu. {/ignore} 16 {ignore} When called as a popup from bookmarklet, do not display menu. {/ignore}
9{else} 17{else}
10 <a href="?" class="nomobile">Home</a> 18<li><a href="?" class="nomobile">Home</a></li>
11 {if="isLoggedIn()"} 19 {if="isLoggedIn()"}
12 <a href="?do=logout">Logout</a><a href="?do=tools">Tools</a><a href="?do=addlink"><b>Add link</b></a> 20 <li><a href="?do=logout">Logout</a></li>
21 <li><a href="?do=tools">Tools</a></li>
22 <li><a href="?do=addlink">Add link</a></li>
13 {elseif="$GLOBALS['config']['OPEN_SHAARLI']"} 23 {elseif="$GLOBALS['config']['OPEN_SHAARLI']"}
14 <a href="?do=tools">Tools</a><a href="?do=addlink"><b>Add link</b></a> 24 <li><a href="?do=tools">Tools</a></li>
25 <li><a href="?do=addlink">Add link</a></li>
15 {else} 26 {else}
16 <a href="?do=login">Login</a> 27 <li><a href="?do=login">Login</a></li>
17 {/if} 28 {/if}
18 <a href="{$feedurl}?do=rss{$searchcrits}" class="nomobile">RSS Feed</a> 29 <li><a href="{$feedurl}?do=rss{$searchcrits}" class="nomobile">RSS Feed</a></li>
19 {if="$GLOBALS['config']['SHOW_ATOM']"} 30 {if="$GLOBALS['config']['SHOW_ATOM']"}
20 <a href="{$feedurl}?do=atom{$searchcrits}" class="nomobile">ATOM Feed</a> 31 <li><a href="{$feedurl}?do=atom{$searchcrits}" class="nomobile">ATOM Feed</a></li>
21 {/if} 32 {/if}
22 <a href="?do=tagcloud">Tag cloud</a> 33 <li><a href="?do=tagcloud">Tag cloud</a></li>
23 <a href="?do=picwall{$searchcrits}">Picture wall</a> 34 <li><a href="?do=picwall{$searchcrits}">Picture wall</a></li>
24 <a href="?do=daily">Daily</a> 35 <li><a href="?do=daily">Daily</a></li>
25{/if} 36{/if}
26 <div class="clear"></div> 37 </ul>
38</div>
39
40
41<div class="clear"></div>
27 42
28 43