Last change
on this file since 27569 was
4503,
checked in by plg, 15 years ago
|
bug 1328: first specific implementation of the check_pwg_token for the
admin/tags page (all actions : add/edit/delete).
The "check_token" function was renammed into check_pwg_token because the
word "token" is too much generic.
|
-
Property svn:eol-style set to
LF
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.6 KB
|
Line | |
---|
1 | {* $Id: tags.tpl 4503 2009-12-15 23:22:49Z plg $ *} |
---|
2 | <div class="titrePage"> |
---|
3 | <h2>{'Manage tags'|@translate}</h2> |
---|
4 | </div> |
---|
5 | |
---|
6 | <form action="{$F_ACTION}" method="post"> |
---|
7 | <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}" /> |
---|
8 | |
---|
9 | {if isset($EDIT_TAGS_LIST)} |
---|
10 | <fieldset> |
---|
11 | <legend>{'Edit tags'|@translate}</legend> |
---|
12 | <input type="hidden" name="edit_list" value="{$EDIT_TAGS_LIST}" /> |
---|
13 | <table class="table2"> |
---|
14 | <tr class="throw"> |
---|
15 | <th>{'Current name'|@translate}</th> |
---|
16 | <th>{'New name'|@translate}</th> |
---|
17 | </tr> |
---|
18 | {foreach from=$tags item=tag} |
---|
19 | <tr> |
---|
20 | <td>{$tag.NAME}</td> |
---|
21 | <td><input type="text" name="tag_name-{$tag.ID}" value="{$tag.NAME}" /></td> |
---|
22 | </tr> |
---|
23 | {/foreach} |
---|
24 | </table> |
---|
25 | |
---|
26 | <p> |
---|
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 class="submit" type="submit" name="edit" value="{'Edit selected tags'|@translate}"/> |
---|
51 | <input class="submit" type="submit" name="delete" value="{'Delete selected tags'|@translate}" onclick="return confirm('{'Are you sure?'|@translate}');" {$TAG_INPUT_ENABLED}/> |
---|
52 | </p> |
---|
53 | </fieldset> |
---|
54 | |
---|
55 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.