67 lines
No EOL
2 KiB
HTML
67 lines
No EOL
2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
{include="includes"}
|
|
{if="empty($GLOBALS['disablejquery'])"}
|
|
<script src="inc/jquery.min.js#"></script>
|
|
<script src="inc/jquery-ui.min.js#"></script>
|
|
{/if}
|
|
</head>
|
|
<body>
|
|
<div id="pageheader">
|
|
{include="page.header"}
|
|
<form method="post" name="changetag" id="editlinkform">
|
|
<fieldset>
|
|
<legend>
|
|
Rename tag
|
|
</legend>
|
|
<p>
|
|
<label for="">Old tag :</label>
|
|
<input type="text" name="fromtag" class="fromtag" autofocus>
|
|
(Case sensitive)
|
|
</p>
|
|
<p>
|
|
<label>New tag :</label>
|
|
<input type="text" name="totag" class="fromtag">
|
|
</p>
|
|
<p class="submitButton">
|
|
<input type="submit" name="renametag" value="Rename tag" class="bigbutton">
|
|
</p>
|
|
</fieldset>
|
|
<fieldset>
|
|
<legend>
|
|
Delete tag
|
|
</legend>
|
|
<p>
|
|
<label for="">Tag :</label>
|
|
<input type="text" name="tagToDelete" class="fromtag">
|
|
(Case sensitive)
|
|
</p>
|
|
<p class="submitButton">
|
|
<input type="hidden" name="token" value="{$token}">
|
|
<input type="submit" name="deletetag" value="Delete tag" class="bigbutton" onClick="return confirmDeleteTag();">
|
|
</p>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
{include="page.footer"}
|
|
{if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"}
|
|
<script>
|
|
$(document).ready(function() {
|
|
$('.fromtag').autocomplete({
|
|
source : '{$source}?ws=singletag',
|
|
minLength : 1
|
|
});
|
|
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>
|
|
{/if}
|
|
</body>
|
|
</html> |