aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/editlink.html
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/editlink.html')
-rw-r--r--tpl/editlink.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/tpl/editlink.html b/tpl/editlink.html
index ad549137..4a2c30cc 100644
--- a/tpl/editlink.html
+++ b/tpl/editlink.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 6<body
5{if condition="$link.title==''"}onload="document.linkform.lf_title.focus();" 7{if condition="$link.title==''"}onload="document.linkform.lf_title.focus();"
6{elseif condition="$link.description==''"}onload="document.linkform.lf_description.focus();" 8{elseif condition="$link.description==''"}onload="document.linkform.lf_description.focus();"
@@ -30,5 +32,13 @@
30 </div> 32 </div>
31</div> 33</div>
32{include="page.footer"} 34{include="page.footer"}
35{if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"}
36<script language="JavaScript">
37$(document).ready(function()
38{
39 $('#lf_tags').autocomplete({source:'{$source}?ws=tags',minLength:1});
40});
41</script>
42{/if}
33</body> 43</body>
34</html> \ No newline at end of file 44</html> \ No newline at end of file