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}
6 <body onload=
"document.changetag.fromtag.focus();">
8 {
include="page.header"}
9 <form method=
"POST" action=
"" name=
"changetag" id=
"changetag">
10 <input type=
"hidden" name=
"token" value=
"{$token}">
11 Tag:
<input type=
"text" name=
"fromtag" id=
"fromtag">
12 <input type=
"text" name=
"totag" id=
"totag">
13 <input type=
"submit" name=
"renametag" value=
"Rename tag" class=
"bigbutton">
14 or
<input type=
"submit" name=
"deletetag" value=
"Delete tag" class=
"bigbutton" onClick=
"return confirmDeleteTag();"><br>(Case sensitive)
</form>
15 <script>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>
17 {
include="page.footer"}
18 {
if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"}
20 $(document).ready(function()
22 $('#fromtag').autocomplete({source:'{$source}?ws=singletag',minLength:
1});