c133612f32
Fixes shaarli/Shaarli#29 Style elements refactored as follows: - use existing ids and classes if possible, - else, define new ones and stick with the existing naming convention, - remove hardcoded style attributes from RainTPL templates. Exception: In tpl/tagcloud.html, the display size of each tag is computed at page generation. Signed-off-by: VirtualTam <virtualtam@flibidi.org>
27 lines
1.2 KiB
HTML
27 lines
1.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 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">
|
|
<input type="text" name="totag" id="totag">
|
|
<input type="submit" name="renametag" value="Rename tag" class="bigbutton">
|
|
or <input type="submit" name="deletetag" value="Delete tag" class="bigbutton" onClick="return confirmDeleteTag();"><br>(Case sensitive)</form>
|
|
<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>
|
|
</div>
|
|
{include="page.footer"}
|
|
{if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"}
|
|
<script language="JavaScript">
|
|
$(document).ready(function()
|
|
{
|
|
$('#fromtag').autocomplete({source:'{$source}?ws=singletag',minLength:1});
|
|
});
|
|
</script>
|
|
{/if}
|
|
</body>
|
|
</html>
|