diff options
Diffstat (limited to 'tpl/changetag.html')
-rw-r--r-- | tpl/changetag.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tpl/changetag.html b/tpl/changetag.html index b0bd0d06..b22bddea 100644 --- a/tpl/changetag.html +++ b/tpl/changetag.html | |||
@@ -1,6 +1,8 @@ | |||
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | <head>{include="includes"}</head> | 3 | <head>{include="includes"} |
4 | {if="empty($GLOBALS['disablejquery'])"}<script src="inc/jquery.min.js#"></script><script src="inc/jquery-ui.min.js#"></script>{/if} | ||
5 | </head> | ||
4 | <body onload="document.changetag.fromtag.focus();"> | 6 | <body onload="document.changetag.fromtag.focus();"> |
5 | <div id="pageheader"> | 7 | <div id="pageheader"> |
6 | {include="page.header"} | 8 | {include="page.header"} |
@@ -12,5 +14,13 @@ | |||
12 | <script language="JavaScript">function confirmDeleteTag() { var agree=confirm("Are you sure you want to delete this tag from all links ?"); if (agree) return true ; else return false ; }</script> | 14 | <script language="JavaScript">function confirmDeleteTag() { var agree=confirm("Are you sure you want to delete this tag from all links ?"); if (agree) return true ; else return false ; }</script> |
13 | </div> | 15 | </div> |
14 | {include="page.footer"} | 16 | {include="page.footer"} |
17 | {if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"} | ||
18 | <script language="JavaScript"> | ||
19 | $(document).ready(function() | ||
20 | { | ||
21 | $('#fromtag').autocomplete({source:'{$source}?ws=singletag',minLength:1}); | ||
22 | }); | ||
23 | </script> | ||
24 | {/if} | ||
15 | </body> | 25 | </body> |
16 | </html> \ No newline at end of file | 26 | </html> \ No newline at end of file |