blob: 438a5235273182c791f3e75f0c349361da2f696c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{include file='include/tag_selection.inc.tpl'}
<div class="titrePage">
<h2>{'Manage tags'|@translate}</h2>
</div>
<form action="{$F_ACTION}" method="post">
{if isset($EDIT_TAGS_LIST)}
<fieldset>
<legend>{'Edit tags'|@translate}</legend>
<input type="hidden" name="edit_list" value="{$EDIT_TAGS_LIST}">
<table class="table2">
<tr class="throw">
<th>{'Current name'|@translate}</th>
<th>{'New name'|@translate}</th>
</tr>
{foreach from=$tags item=tag}
<tr>
<td>{$tag.NAME}</td>
<td><input type="text" name="tag_name-{$tag.ID}" value="{$tag.NAME}"></td>
</tr>
{/foreach}
</table>
<p>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
<input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}>
<input class="submit" type="reset" value="{'Reset'|@translate}">
</p>
</fieldset>
{/if}
<fieldset>
<legend>{'Add a tag'|@translate}</legend>
<label>
{'New tag'|@translate}
<input type="text" name="add_tag">
</label>
<p><input class="submit" type="submit" name="add" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}></p>
</fieldset>
<fieldset>
<legend>{'Tag selection'|@translate}</legend>
{$TAG_SELECTION}
<p>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
<input class="submit" type="submit" name="edit" value="{'Edit selected tags'|@translate}">
<input class="submit" type="submit" name="delete" value="{'Delete selected tags'|@translate}" onclick="return confirm('{'Are you sure?'|@translate}');" {$TAG_INPUT_ENABLED}>
</p>
</fieldset>
</form>
|