]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - tpl/changetag.html
Merge pull request #28 from virtualtam/unify-css
[github/shaarli/Shaarli.git] / tpl / changetag.html
CommitLineData
45034273
SS
1<!DOCTYPE html>
2<html>
246e9b4e
SS
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>
45034273
SS
6<body onload="document.changetag.fromtag.focus();">
7<div id="pageheader">
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" style="margin-left:40px;"><input type="submit" name="renametag" value="Rename tag" class="bigbutton">
13 &nbsp;&nbsp;or&nbsp; <input type="submit" name="deletetag" value="Delete tag" class="bigbutton" onClick="return confirmDeleteTag();"><br>(Case sensitive)</form>
14<script language="JavaScript">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>
15</div>
16{include="page.footer"}
246e9b4e
SS
17{if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"}
18<script language="JavaScript">
19$(document).ready(function()
20{
21 $('#fromtag').autocomplete({source:'{$source}?ws=singletag',minLength:1});
22});
23</script>
24{/if}
45034273
SS
25</body>
26</html>