MyShaarli/tpl/myShaarli/changetag.html

63 lines
2.7 KiB
HTML
Raw Permalink Normal View History

2013-02-26 10:09:41 +01:00
<!DOCTYPE html>
<html{if="$language !=='auto'"} lang=" {$language}"{/if}>
<head>
{include="includes"}
</head>
<body>
{include="page.header"}
<section>
<h2 class="window-title">{"Manage tags"|t}</h2>
<form method="POST" action="{$base_path}/admin/tags" name="changetag" id="changetag">
<label for="fromtag">{'Tag'|t}</label>
<input type="text" name="fromtag" aria-label="{'Tag'|t}" placeholder="{'Tag'|t}" value="{$fromtag}"
list="tagsList" autocomplete="off" class="awesomplete autofocus" data-minChars="1" id="fromtag">
<datalist id="tagsList">
{loop="$tags"}<option>{$key}</option>{/loop}
</datalist>
<label for="totag">{'New name'|t}</label>
<input type="text" name="totag" aria-label="{'New name'|t}" placeholder="{'New name'|t}" list="toTagsList"
autocomplete="off" class="awesomplete" data-minChars="1" id="totag">
<datalist id="toTagsList">
{loop="$tags"}<option>{$key}</option>{/loop}
</datalist>
<p><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false" role="presentation" class="icon">
<use href="{$asset_path}/sprites/default.svg#admonition-note"></use>
</svg> {'Case sensitive'|t}</p>
<input type="hidden" name="token" value="{$token}">
2017-12-15 12:16:50 +01:00
<input type="submit" value="{'Delete tag'|t}" name="deletetag" class="error confirm-delete" data-type="tag">
<input type="submit" value="{'Rename tag'|t}" name="renametag" class="success">
</form>
</section>
2023-05-25 11:13:43 +02:00
<section>
<h2 class="window-title">{"Change tags separator"|t}</h2>
<form method="POST" action="{$base_path}/admin/tags/change-separator" name="changeseparator" id="changeseparator">
<aside class="admonition adm-warning">
<header><svg viewBox="0 0 48 48" aria-hidden="true" focusable="false" role="presentation" class="icon warning">
<use href="{$asset_path}/sprites/default.svg#admonition-warning"></use>
</svg> Note</header>
{'Note that hashtags won\'t fully work with a non-whitespace separator.'|t}
</aside>
<p>
{'Your current tag separator is'|t}
<strong>&nbsp;{$tags_separator}&nbsp;</strong>{if="!empty($tags_separator_desc)"}
({$tags_separator_desc}){/if}
</p>
<label for="separator">{'New separator'|t}</label>
<input type="text" name="separator" placeholder="{'New separator'|t}" id="separator">
<input type="hidden" name="token" value="{$token}">
<input type="submit" value="{'Save'|t}" name="saveseparator">
</form>
</section>
{include="page.footer"}
</body>
</html>