2013-02-26 10:09:41 +01:00
<!DOCTYPE html>
< html >
2013-09-25 21:27:50 +02:00
< head > {include="includes"}
{if="empty($GLOBALS['disablejquery'])"}< script src = "inc/jquery.min.js#" > < / script > < script src = "inc/jquery-ui.min.js#" > < / script > {/if}
< / head >
2013-02-26 10:09:41 +01:00
< body onload = "document.changetag.fromtag.focus();" >
< div id = "pageheader" >
{include="page.header"}
< form method = "POST" action = "" name = "changetag" id = "changetag" >
< input type = "hidden" name = "token" value = "{$token}" >
Tag: < input type = "text" name = "fromtag" id = "fromtag" >
2014-12-02 21:00:52 +01:00
< input type = "text" name = "totag" id = "totag" >
< input type = "submit" name = "renametag" value = "Rename tag" class = "bigbutton" >
2013-02-26 10:09:41 +01:00
or < input type = "submit" name = "deletetag" value = "Delete tag" class = "bigbutton" onClick = "return confirmDeleteTag();" > < br > (Case sensitive)< / form >
2015-01-08 15:09:46 +01:00
< 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 >
2013-02-26 10:09:41 +01:00
< / div >
{include="page.footer"}
2013-09-25 21:27:50 +02:00
{if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) & & empty($GLOBALS['disablejquery'])"}
2015-01-08 15:09:46 +01:00
< script >
2013-09-25 21:27:50 +02:00
$(document).ready(function()
{
$('#fromtag').autocomplete({source:'{$source}?ws=singletag',minLength:1});
});
< / script >
{/if}
2013-02-26 10:09:41 +01:00
< / body >
2014-12-02 21:00:52 +01:00
< / html >