aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl')
-rw-r--r--tpl/page.footer.html2
-rw-r--r--tpl/page.header.html43
-rw-r--r--tpl/tools.html1
3 files changed, 31 insertions, 15 deletions
diff --git a/tpl/page.footer.html b/tpl/page.footer.html
index 448e9f8e..b2a2fcbb 100644
--- a/tpl/page.footer.html
+++ b/tpl/page.footer.html
@@ -1,5 +1,5 @@
1<div id="footer"> 1<div id="footer">
2 <b><a href="https://github.com/shaarli/Shaarli">Shaarli</a></b> - The personal, minimalist, super-fast, no-database delicious clone by the <a href="https://github.com/shaarli/Shaarli">Shaarli</a> community. 2 <b><a href="https://github.com/shaarli/Shaarli">Shaarli</a></b> - The personal, minimalist, super-fast, no-database delicious clone by the <a href="https://github.com/shaarli/Shaarli">Shaarli</a> community - <a href="doc/index.html">Help/documentation</a>
3</div> 3</div>
4{if="$newversion"} 4{if="$newversion"}
5 <div id="newversion"><span id="version_id">&#x25CF;</span> Shaarli {$newversion|htmlspecialchars} is <a href="https://github.com/shaarli/Shaarli/releases">available</a>.</div> 5 <div id="newversion"><span id="version_id">&#x25CF;</span> Shaarli {$newversion|htmlspecialchars} is <a href="https://github.com/shaarli/Shaarli/releases">available</a>.</div>
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
diff --git a/tpl/tools.html b/tpl/tools.html
index bf0539b1..e912f615 100644
--- a/tpl/tools.html
+++ b/tpl/tools.html
@@ -11,6 +11,7 @@
11 <a href="?do=import"><b>Import</b> <span>: Import Netscape html bookmarks (as exported from Firefox, Chrome, Opera, delicious...)</span></a> <br><br> 11 <a href="?do=import"><b>Import</b> <span>: Import Netscape html bookmarks (as exported from Firefox, Chrome, Opera, delicious...)</span></a> <br><br>
12 <a href="?do=export"><b>Export</b> <span>: Export Netscape html bookmarks (which can be imported in Firefox, Chrome, Opera, delicious...)</span></a><br><br> 12 <a href="?do=export"><b>Export</b> <span>: Export Netscape html bookmarks (which can be imported in Firefox, Chrome, Opera, delicious...)</span></a><br><br>
13 <a class="smallbutton" onclick="alert('Drag this link to your bookmarks toolbar, or right-click it and choose Bookmark This Link...');return false;" href="javascript:javascript:(function(){var%20url%20=%20location.href;var%20title%20=%20document.title%20||%20url;window.open('{$pageabsaddr}?post='%20+%20encodeURIComponent(url)+'&amp;title='%20+%20encodeURIComponent(title)+'&amp;description='%20+%20encodeURIComponent(document.getSelection())+'&amp;source=bookmarklet','_blank','menubar=no,height=390,width=600,toolbar=no,scrollbars=no,status=no,dialog=1');})();"><b>✚Shaare link</b></a> <a href="#" style="clear:none;"><span>&#x21D0; Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br>&nbsp;&nbsp;&nbsp;&nbsp;Then click "✚Shaare link" button in any page you want to share.</span></a><br><br> 13 <a class="smallbutton" onclick="alert('Drag this link to your bookmarks toolbar, or right-click it and choose Bookmark This Link...');return false;" href="javascript:javascript:(function(){var%20url%20=%20location.href;var%20title%20=%20document.title%20||%20url;window.open('{$pageabsaddr}?post='%20+%20encodeURIComponent(url)+'&amp;title='%20+%20encodeURIComponent(title)+'&amp;description='%20+%20encodeURIComponent(document.getSelection())+'&amp;source=bookmarklet','_blank','menubar=no,height=390,width=600,toolbar=no,scrollbars=no,status=no,dialog=1');})();"><b>✚Shaare link</b></a> <a href="#" style="clear:none;"><span>&#x21D0; Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br>&nbsp;&nbsp;&nbsp;&nbsp;Then click "✚Shaare link" button in any page you want to share.</span></a><br><br>
14 <a class="smallbutton" onclick="alert('Drag this link to your bookmarks toolbar, or right-click it and choose Bookmark This Link...');return false;" href="?private=1&post="><b>✚Add Note</b></a> <a href="#" style="clear:none;"><span>&#x21D0; Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br>&nbsp;&nbsp;&nbsp;&nbsp;Then click "✚Add Note" button anytime to start composing a (default private) Note (text post) to your Shaarli.</span></a><br><br>
14 <div class="clear"></div> 15 <div class="clear"></div>
15 </div> 16 </div>
16</div> 17</div>