Last change
on this file since 6323 was
5987,
checked in by plg, 14 years ago
|
bug 1631: the pwg_token was missing on default tag administration screen.
|
-
Property svn:eol-style set to
LF
|
File size:
1.7 KB
|
Line | |
---|
1 | {include file='include/tag_selection.inc.tpl'} |
---|
2 | |
---|
3 | <div class="titrePage"> |
---|
4 | <h2>{'Manage tags'|@translate}</h2> |
---|
5 | </div> |
---|
6 | |
---|
7 | <form action="{$F_ACTION}" method="post"> |
---|
8 | {if isset($EDIT_TAGS_LIST)} |
---|
9 | <fieldset> |
---|
10 | <legend>{'Edit tags'|@translate}</legend> |
---|
11 | <input type="hidden" name="edit_list" value="{$EDIT_TAGS_LIST}"> |
---|
12 | <table class="table2"> |
---|
13 | <tr class="throw"> |
---|
14 | <th>{'Current name'|@translate}</th> |
---|
15 | <th>{'New name'|@translate}</th> |
---|
16 | </tr> |
---|
17 | {foreach from=$tags item=tag} |
---|
18 | <tr> |
---|
19 | <td>{$tag.NAME}</td> |
---|
20 | <td><input type="text" name="tag_name-{$tag.ID}" value="{$tag.NAME}"></td> |
---|
21 | </tr> |
---|
22 | {/foreach} |
---|
23 | </table> |
---|
24 | |
---|
25 | <p> |
---|
26 | <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> |
---|
27 | <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> |
---|
28 | <input class="submit" type="reset" value="{'Reset'|@translate}"> |
---|
29 | </p> |
---|
30 | </fieldset> |
---|
31 | {/if} |
---|
32 | |
---|
33 | <fieldset> |
---|
34 | <legend>{'Add a tag'|@translate}</legend> |
---|
35 | |
---|
36 | <label> |
---|
37 | {'New tag'|@translate} |
---|
38 | <input type="text" name="add_tag"> |
---|
39 | </label> |
---|
40 | |
---|
41 | <p><input class="submit" type="submit" name="add" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}></p> |
---|
42 | </fieldset> |
---|
43 | |
---|
44 | <fieldset> |
---|
45 | <legend>{'Tag selection'|@translate}</legend> |
---|
46 | |
---|
47 | {$TAG_SELECTION} |
---|
48 | |
---|
49 | <p> |
---|
50 | <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> |
---|
51 | <input class="submit" type="submit" name="edit" value="{'Edit selected tags'|@translate}"> |
---|
52 | <input class="submit" type="submit" name="delete" value="{'Delete selected tags'|@translate}" onclick="return confirm('{'Are you sure?'|@translate}');" {$TAG_INPUT_ENABLED}> |
---|
53 | </p> |
---|
54 | </fieldset> |
---|
55 | |
---|
56 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.