aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl')
-rw-r--r--tpl/export.bookmarks.html10
-rw-r--r--tpl/export.html32
-rw-r--r--tpl/loginform.html46
-rw-r--r--tpl/page.footer.html4
-rw-r--r--tpl/page.header.html3
-rw-r--r--tpl/tagcloud.html4
6 files changed, 67 insertions, 32 deletions
diff --git a/tpl/export.bookmarks.html b/tpl/export.bookmarks.html
new file mode 100644
index 00000000..da733257
--- /dev/null
+++ b/tpl/export.bookmarks.html
@@ -0,0 +1,10 @@
1<!DOCTYPE NETSCAPE-Bookmark-file-1>
2<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
3<!-- This is an automatically generated file.
4 It will be read and overwritten.
5 Do Not Edit! -->{ignore}The RainTPL loop is formatted to avoid generating extra newlines{/ignore}
6<TITLE>{$pagetitle}</TITLE>
7<H1>Shaarli export of {$selection} bookmarks on {$date}</H1>
8<DL><p>{loop="links"}
9<DT><A HREF="{$value.url}" ADD_DATE="{$value.timestamp}" PRIVATE="{$value.private}" TAGS="{$value.taglist}">{$value.title}</A>{if="$value.description"}{$eol}<DD>{$value.description}{/if}{/loop}
10</DL><p>
diff --git a/tpl/export.html b/tpl/export.html
index 9d101db4..67c3d05f 100644
--- a/tpl/export.html
+++ b/tpl/export.html
@@ -2,15 +2,27 @@
2<html> 2<html>
3<head>{include="includes"}</head> 3<head>{include="includes"}</head>
4<body> 4<body>
5<div id="pageheader"> 5 <div id="pageheader">
6 {include="page.header"} 6 {include="page.header"}
7 <div id="toolsdiv"> 7 <div id="toolsdiv">
8 <a href="?do=export&amp;what=all"><b>Export all</b> <span>: Export all links</span></a><br><br> 8 <form method="GET">
9 <a href="?do=export&amp;what=public"><b>Export public</b> <span>: Export public links only</span></a><br><br> 9 <input type="hidden" name="do" value="export">
10 <a href="?do=export&amp;what=private"><b>Export private</b> <span>: Export private links only</span></a> 10 Selection:<br>
11 <div class="clear"></div> 11 <input type="radio" name="selection" value="all" checked="true"> All<br>
12 </div> 12 <input type="radio" name="selection" value="private"> Private<br>
13</div> 13 <input type="radio" name="selection" value="public"> Public<br>
14{include="page.footer"} 14 <br>
15 <input type="checkbox" name="prepend_note_url" id="prepend_note_url">
16 <label for="prepend_note_url">
17 Prepend note permalinks with this Shaarli instance's URL
18 <em>(useful to import bookmarks in a web browser)</em>
19 </label>
20 <br><br>
21 <input class="bigbutton" type="submit" value="Export">
22 </form>
23 <div class="clear"></div>
24 </div>
25 </div>
26 {include="page.footer"}
15</body> 27</body>
16</html> 28</html>
diff --git a/tpl/loginform.html b/tpl/loginform.html
index 678375fd..a49b42d3 100644
--- a/tpl/loginform.html
+++ b/tpl/loginform.html
@@ -1,26 +1,36 @@
1<!DOCTYPE html> 1<!DOCTYPE html>
2<html> 2<html>
3<head>{include="includes"}</head> 3<head>{include="includes"}</head>
4<body{if="ban_canLogin()"} onload="document.loginform.login.focus();"{/if}> 4<body
5{if="ban_canLogin()"}
6 {if="empty($username)"}
7 onload="document.loginform.login.focus();"
8 {else}
9 onload="document.loginform.password.focus();"
10 {/if}
11{/if}>
5<div id="pageheader"> 12<div id="pageheader">
6 {include="page.header"} 13 {include="page.header"}
7 14
8 <div id="headerform"> 15 <div id="headerform">
9{if="!ban_canLogin()"} 16 {if="!ban_canLogin()"}
10 You have been banned from login after too many failed attempts. Try later. 17 You have been banned from login after too many failed attempts. Try later.
11{else} 18 {else}
12 <form method="post" name="loginform"> 19 <form method="post" name="loginform">
13 <label for="login">Login: <input type="text" id="login" name="login" tabindex="1"></label> 20 <label for="login">Login: <input type="text" id="login" name="login" tabindex="1"
14 <label for="password">Password: <input type="password" id="password" name="password" tabindex="2"></label> 21 {if="!empty($username)"}value="{$username}"{/if}>
15 <input type="submit" value="Login" class="bigbutton" tabindex="4"> 22 </label>
16 <label for="longlastingsession"> 23 <label for="password">Password: <input type="password" id="password" name="password" tabindex="2">
17 <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="3"> 24 </label>
18 Stay signed in (Do not check on public computers)</label> 25 <input type="submit" value="Login" class="bigbutton" tabindex="4">
19 <input type="hidden" name="token" value="{$token}"> 26 <label for="longlastingsession">
20 {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if} 27 <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="3">
21 </form> 28 Stay signed in (Do not check on public computers)</label>
22{/if} 29 <input type="hidden" name="token" value="{$token}">
23 </div> 30 {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if}
31 </form>
32 {/if}
33 </div>
24</div> 34</div>
25 35
26{include="page.footer"} 36{include="page.footer"}
diff --git a/tpl/page.footer.html b/tpl/page.footer.html
index 195dada0..006d1d68 100644
--- a/tpl/page.footer.html
+++ b/tpl/page.footer.html
@@ -1,5 +1,7 @@
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 - <a href="doc/Home.html">Help/documentation</a> 2 <strong><a href="https://github.com/shaarli/Shaarli">Shaarli</a></strong>
3 - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community
4 - <a href="doc/Home.html" rel="nofollow">Help/documentation</a>
3 {loop="$plugins_footer.text"} 5 {loop="$plugins_footer.text"}
4 {$value} 6 {$value}
5 {/loop} 7 {/loop}
diff --git a/tpl/page.header.html b/tpl/page.header.html
index 52429f23..3a09ecd9 100644
--- a/tpl/page.header.html
+++ b/tpl/page.header.html
@@ -2,7 +2,8 @@
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 3
4<div id="linkcount" class="nomobile"> 4<div id="linkcount" class="nomobile">
5 {if="!empty($linkcount)"}{$linkcount} links{/if} 5 {if="!empty($linkcount)"}{$linkcount} links{/if}<br>
6 {if="!empty($privateLinkcount)"}{$privateLinkcount} private links{/if}
6</div> 7</div>
7 8
8<div id="menu"> 9<div id="menu">
diff --git a/tpl/tagcloud.html b/tpl/tagcloud.html
index 5891cd25..e449f293 100644
--- a/tpl/tagcloud.html
+++ b/tpl/tagcloud.html
@@ -12,8 +12,8 @@
12 12
13 <div id="cloudtag"> 13 <div id="cloudtag">
14 {loop="tags"} 14 {loop="tags"}
15 <span class="count">{$value.count}</span> 15 <span class="count">{$value.count}</span><a
16 <a href="?searchtags={$key|urlencode}" style="font-size:{$value.size}pt;">{$key}</a> 16 href="?searchtags={$key|urlencode}" style="font-size:{$value.size}em;">{$key}</a>
17 {loop="$value.tag_plugin"} 17 {loop="$value.tag_plugin"}
18 {$value} 18 {$value}
19 {/loop} 19 {/loop}