aboutsummaryrefslogblamecommitdiffhomepage
path: root/tpl/vintage/changetag.html
blob: 6ef60252d32394b1b5a5760c9abbacb829e90ec0 (plain) (tree)
1
2
3
4
5
6
7
8

               
                          
       


                                                   
                                                                                             


















                                                                                                                                             
                                                                                                                                                                             


                       
       
<!DOCTYPE html>
<html>
<head>{include="includes"}
</head>
<body onload="document.changetag.fromtag.focus();">
<div id="pageheader">
	{include="page.header"}
	<form method="POST" action="{$base_path}/admin/tags" name="changetag" id="changetag">
        <input type="hidden" name="token" value="{$token}">
        <div>
            <label for="fromtag">Tag:</label>
        </div>
        <div>
            <input type="text" name="fromtag" id="fromtag" list="tagsList" autocomplete="off" class="awesomplete" data-minChars="1"  />
            <datalist id="tagsList">
                {loop="$tags"}<option>{$key}</option>{/loop}
            </datalist>
        </div>

        <div>
            <input type="text" name="totag" id="totag">
            <input type="submit" name="renametag" value="Rename tag" class="bigbutton">
	&nbsp;&nbsp;or&nbsp; <input type="submit" name="deletetag" value="Delete tag" class="bigbutton" onClick="return confirmDeleteTag();">
        </div>
    </form>
    <div class="clear white">(Case sensitive)</div>
</div>
<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>
</div>
{include="page.footer"}
</body>
</html>