diff options
Diffstat (limited to 'tpl/page.footer.html')
-rw-r--r-- | tpl/page.footer.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tpl/page.footer.html b/tpl/page.footer.html new file mode 100644 index 00000000..80a000bb --- /dev/null +++ b/tpl/page.footer.html | |||
@@ -0,0 +1,20 @@ | |||
1 | <div id="footer"> | ||
2 | <b><a href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli">Shaarli {$version}</a></b> - The personal, minimalist, super-fast, no-database delicious clone. By <a href="http://sebsauvage.net" target="_blank">sebsauvage.net</a>. Theme by <a href="http://blog.idleman.fr" target="_blank">idleman.fr</a>. | ||
3 | </div> | ||
4 | {if="$newversion"} | ||
5 | <div id="newversion"><span style="text-decoration:blink;">●</span> Shaarli {$newversion|htmlspecialchars} is <a href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli#download">available</a>.</div> | ||
6 | {/if} | ||
7 | {if="isLoggedIn()"} | ||
8 | <script language="JavaScript">function confirmDeleteLink() { var agree=confirm("Are you sure you want to delete this link ?"); if (agree) return true ; else return false ; }</script> | ||
9 | {/if} | ||
10 | |||
11 | {if="$GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()"} | ||
12 | <script language="JavaScript"> | ||
13 | $(document).ready(function() | ||
14 | { | ||
15 | $('#lf_tags').autocomplete({source:'{$source}?ws=tags',minLength:1}); | ||
16 | $('#searchtags').autocomplete({source:'{$source}?ws=tags',minLength:1}); | ||
17 | $('#fromtag').autocomplete({source:'{$source}?ws=singletag',minLength:1}); | ||
18 | }); | ||
19 | </script> | ||
20 | {/if} | ||