]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/page.footer.html
Removed jQuery from almost all pages
[github/shaarli/Shaarli.git] / tpl / page.footer.html
index 3aa47ba651aa8241e2e72b5acf2d06215af3459d..8e5869c567711d12aec0b6c3aac17782aabe93bf 100644 (file)
@@ -7,24 +7,3 @@
 {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}
-
-{if="empty($GLOBALS['disablejquery']) && isset($_GET['searchterm'])"}
-<script src="inc/jquery.highlight.js#"></script>
-<script language="JavaScript">
-$(document).ready(function()
-{
-       $('#linklist li').highlight("{$search_crits}");
-});
-</script>
-{/if}
\ No newline at end of file