diff options
Diffstat (limited to 'tpl/page.footer.html')
-rw-r--r-- | tpl/page.footer.html | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tpl/page.footer.html b/tpl/page.footer.html index 3aa47ba6..8e5869c5 100644 --- a/tpl/page.footer.html +++ b/tpl/page.footer.html | |||
@@ -7,24 +7,3 @@ | |||
7 | {if="isLoggedIn()"} | 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> | 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} | 9 | {/if} |
10 | |||
11 | {if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"} | ||
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} | ||
21 | |||
22 | {if="empty($GLOBALS['disablejquery']) && isset($_GET['searchterm'])"} | ||
23 | <script src="inc/jquery.highlight.js#"></script> | ||
24 | <script language="JavaScript"> | ||
25 | $(document).ready(function() | ||
26 | { | ||
27 | $('#linklist li').highlight("{$search_crits}"); | ||
28 | }); | ||
29 | </script> | ||
30 | {/if} \ No newline at end of file | ||