]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/page.footer.html
Version 0.0.32 beta:
[github/shaarli/Shaarli.git] / tpl / page.footer.html
diff --git a/tpl/page.footer.html b/tpl/page.footer.html
new file mode 100644 (file)
index 0000000..80a000b
--- /dev/null
@@ -0,0 +1,20 @@
+<div id="footer">
+    <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>.
+</div>
+{if="$newversion"}
+    <div id="newversion"><span style="text-decoration:blink;">&#x25CF;</span> Shaarli {$newversion|htmlspecialchars} is <a href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli#download">available</a>.</div>
+{/if}
+{if="isLoggedIn()"}
+<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>
+{/if}
+
+{if="$GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()"}
+<script language="JavaScript">
+$(document).ready(function()
+{
+    $('#lf_tags').autocomplete({source:'{$source}?ws=tags',minLength:1});
+    $('#searchtags').autocomplete({source:'{$source}?ws=tags',minLength:1});
+    $('#fromtag').autocomplete({source:'{$source}?ws=singletag',minLength:1});
+});
+</script>
+{/if}