aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/page.header.html
diff options
context:
space:
mode:
authorSeb Sauvage <sebsauvage@sebsauvage.net>2011-12-16 21:27:16 +0100
committerEmilien Klein <emilien@klein.st>2011-12-16 21:27:16 +0100
commit3433e5e8a84e3952502b79296f945e6dde2a7d75 (patch)
tree98fc646456708df7d3b133ed7f33835c1f1b059f /tpl/page.header.html
parent5112a433897d4d6507982b64bb07333b774ddb3a (diff)
downloadShaarli-3433e5e8a84e3952502b79296f945e6dde2a7d75.tar.gz
Shaarli-3433e5e8a84e3952502b79296f945e6dde2a7d75.tar.zst
Shaarli-3433e5e8a84e3952502b79296f945e6dde2a7d75.zip
Version 0.0.32 beta:
- Changed: HTML generation moved to RainTPL templates (in the tpl/ directory). - Added: Better check on URL parameters (patch by gege2061). - Changed: Better detection of HTTPS (patch by gege2061). - Changed: In RSS/ATOM feeds, the GUID is now the permalink instead of the final URL (patch by gege2061). - Changed: Jerrywham CSS patch included. - Changed: Multiple spaces are now respected in description. Thus you can use Shaarli as a personal pastebin (for posting source code, for example). I also added a max-height and overflow:auto so that content can be scrolled if too large. - Corrected: Tab order changed in login screen. - Corrected: Permalinks now work even if additional parameters have been added (eg. /?E8Yj2Q&utm_source=blablabla…) - Corrected: user.css is included only if the file is present (This prevent a useless CSS include which makes a harmless but useless 404 error.). - Removed: Page time generation was removed.
Diffstat (limited to 'tpl/page.header.html')
-rw-r--r--tpl/page.header.html24
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