Last change
on this file since 5195 was
5195,
checked in by plg, 14 years ago
|
bug 1328: backport the pwg_token on trunk
bug 1329: backport the check_input_parameter on trunk
feature 1026: add pwg_token feature for edit/delete comment. Heavy refactoring
on this feature to make the code simpler and easier to maintain (I hope).
|
-
Property svn:eol-style set to
LF
|
File size:
1.6 KB
|
Line | |
---|
1 | <div class="titrePage"> |
---|
2 | <h2>{'Manage tags'|@translate}</h2> |
---|
3 | </div> |
---|
4 | |
---|
5 | <form action="{$F_ACTION}" method="post"> |
---|
6 | <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}" /> |
---|
7 | |
---|
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 class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> |
---|
27 | <input class="submit" type="reset" value="{'Reset'|@translate}"> |
---|
28 | </p> |
---|
29 | </fieldset> |
---|
30 | {/if} |
---|
31 | |
---|
32 | <fieldset> |
---|
33 | <legend>{'Add a tag'|@translate}</legend> |
---|
34 | |
---|
35 | <label> |
---|
36 | {'New tag'|@translate} |
---|
37 | <input type="text" name="add_tag"> |
---|
38 | </label> |
---|
39 | |
---|
40 | <p><input class="submit" type="submit" name="add" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}></p> |
---|
41 | </fieldset> |
---|
42 | |
---|
43 | <fieldset> |
---|
44 | <legend>{'Tag selection'|@translate}</legend> |
---|
45 | |
---|
46 | {$TAG_SELECTION} |
---|
47 | |
---|
48 | <p> |
---|
49 | <input class="submit" type="submit" name="edit" value="{'Edit selected tags'|@translate}"> |
---|
50 | <input class="submit" type="submit" name="delete" value="{'Delete selected tags'|@translate}" onclick="return confirm('{'Are you sure?'|@translate}');" {$TAG_INPUT_ENABLED}> |
---|
51 | </p> |
---|
52 | </fieldset> |
---|
53 | |
---|
54 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.