2013-02-26 10:09:41 +01:00
|
|
|
<!DOCTYPE html>
|
2025-04-18 10:57:05 +02:00
|
|
|
<html{if="$language !=='auto'"} lang=" {$language}"{/if}>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
{include="includes"}
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
{include="page.header"}
|
|
|
|
<section>
|
2024-12-19 17:14:38 +01:00
|
|
|
<h2 class="window-title">{"Manage tags"|t}</h2>
|
|
|
|
<form method="POST" action="{$base_path}/admin/tags" name="changetag" id="changetag">
|
2025-04-18 10:57:05 +02:00
|
|
|
|
|
|
|
<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>
|
2024-12-19 17:14:38 +01:00
|
|
|
<input type="hidden" name="token" value="{$token}">
|
2017-12-15 12:16:50 +01:00
|
|
|
|
2025-04-18 10:57:05 +02: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
|
|
|
|
2025-04-18 10:57:05 +02:00
|
|
|
<section>
|
2024-12-19 17:14:38 +01:00
|
|
|
<h2 class="window-title">{"Change tags separator"|t}</h2>
|
|
|
|
<form method="POST" action="{$base_path}/admin/tags/change-separator" name="changeseparator" id="changeseparator">
|
2025-04-18 10:57:05 +02:00
|
|
|
<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>
|
2024-12-19 17:14:38 +01:00
|
|
|
<p>
|
2025-04-18 10:57:05 +02:00
|
|
|
{'Your current tag separator is'|t}
|
|
|
|
<strong> {$tags_separator} </strong>{if="!empty($tags_separator_desc)"}
|
|
|
|
({$tags_separator_desc}){/if}
|
2024-12-19 17:14:38 +01:00
|
|
|
</p>
|
2025-04-18 10:57:05 +02:00
|
|
|
<label for="separator">{'New separator'|t}</label>
|
|
|
|
<input type="text" name="separator" placeholder="{'New separator'|t}" id="separator">
|
|
|
|
|
2024-12-19 17:14:38 +01:00
|
|
|
<input type="hidden" name="token" value="{$token}">
|
2025-04-18 10:57:05 +02:00
|
|
|
<input type="submit" value="{'Save'|t}" name="saveseparator">
|
2024-12-19 17:14:38 +01:00
|
|
|
</form>
|
2025-04-18 10:57:05 +02:00
|
|
|
</section>
|
|
|
|
{include="page.footer"}
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|