Last change
on this file since 5021 was
5021,
checked in by nikrou, 14 years ago
|
Feature 1451 : localization with gettext
Use php-gettext (developpement version rev43, because of php5.3) as fallback
Use native language (english) instead of key for translation
Keep directory en_UK for english customization
Need some refactoring for plurals
Todo : managing plugins in the same way
|
-
Property svn:eol-style set to
LF
|
File size:
1.5 KB
|
Line | |
---|
1 | <div class="titrePage"> |
---|
2 | <h2>{'Manage tags'|@translate}</h2> |
---|
3 | </div> |
---|
4 | |
---|
5 | <form action="{$F_ACTION}" method="post"> |
---|
6 | |
---|
7 | {if isset($EDIT_TAGS_LIST)} |
---|
8 | <fieldset> |
---|
9 | <legend>{'Edit tags'|@translate}</legend> |
---|
10 | <input type="hidden" name="edit_list" value="{$EDIT_TAGS_LIST}"> |
---|
11 | <table class="table2"> |
---|
12 | <tr class="throw"> |
---|
13 | <th>{'Current name'|@translate}</th> |
---|
14 | <th>{'New name'|@translate}</th> |
---|
15 | </tr> |
---|
16 | {foreach from=$tags item=tag} |
---|
17 | <tr> |
---|
18 | <td>{$tag.NAME}</td> |
---|
19 | <td><input type="text" name="tag_name-{$tag.ID}" value="{$tag.NAME}"></td> |
---|
20 | </tr> |
---|
21 | {/foreach} |
---|
22 | </table> |
---|
23 | |
---|
24 | <p> |
---|
25 | <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> |
---|
26 | <input class="submit" type="reset" value="{'Reset'|@translate}"> |
---|
27 | </p> |
---|
28 | </fieldset> |
---|
29 | {/if} |
---|
30 | |
---|
31 | <fieldset> |
---|
32 | <legend>{'Add a tag'|@translate}</legend> |
---|
33 | |
---|
34 | <label> |
---|
35 | {'New tag'|@translate} |
---|
36 | <input type="text" name="add_tag"> |
---|
37 | </label> |
---|
38 | |
---|
39 | <p><input class="submit" type="submit" name="add" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}></p> |
---|
40 | </fieldset> |
---|
41 | |
---|
42 | <fieldset> |
---|
43 | <legend>{'Tag selection'|@translate}</legend> |
---|
44 | |
---|
45 | {$TAG_SELECTION} |
---|
46 | |
---|
47 | <p> |
---|
48 | <input class="submit" type="submit" name="edit" value="{'Edit selected tags'|@translate}"> |
---|
49 | <input class="submit" type="submit" name="delete" value="{'Are you sure?'|@translate}" onclick="return confirm('{'Are you sure?'|@translate}');" {$TAG_INPUT_ENABLED}> |
---|
50 | </p> |
---|
51 | </fieldset> |
---|
52 | |
---|
53 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.