858c5c2b43
Shaarli uses light Javascript in its normal operation, and some jQuery for some features (autocomplete in tags, QR-Code popup...). jQuery can be slow on small computers. An option has been added in configuration screen to disable javascript features which are hard on CPU. (Note that the Picture Wall is awfully heavy *without* jQuery.) (Side note: A *LOT* of users want Shaarli to work without javasript at all, if possible. That's why I try to use as few javascript as possible: It keeps Shaarli pages fast.)
20 lines
1.2 KiB
HTML
20 lines
1.2 KiB
HTML
<div id="footer">
|
|
<b><a href="http://sebsauvage.net/wiki/doku.php?id=php:shaarli">Shaarli {$version|htmlspecialchars}</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;">●</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()) && empty($GLOBALS['disablejquery'])"}
|
|
<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}
|