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.3 KB
|
Line | |
---|
1 | <div class="titrePage"> |
---|
2 | <h2>{'Waiting'|@translate} {$TABSHEET_TITLE}</h2> |
---|
3 | </div> |
---|
4 | |
---|
5 | <h3>{'User comments validation'|@translate}</h3> |
---|
6 | |
---|
7 | {if !empty($comments) } |
---|
8 | <form method="post" action="{$F_ACTION}"> |
---|
9 | |
---|
10 | {foreach from=$comments item=comment} |
---|
11 | <div class="comment"> |
---|
12 | <a class="illustration" href="{$comment.U_PICTURE}"><img src="{$comment.TN_SRC}"></a> |
---|
13 | <p class="commentHeader"><strong>{$comment.AUTHOR}</strong> - <em>{$comment.DATE}</em></p> |
---|
14 | <blockquote>{$comment.CONTENT}</blockquote> |
---|
15 | </div> |
---|
16 | <ul class="actions"> |
---|
17 | <li><label><input type="radio" name="action-{$comment.ID}" value="reject">{'Reject'|@translate}</label></li> |
---|
18 | <li><label><input type="radio" name="action-{$comment.ID}" value="validate">{'Validate'|@translate}</label></li> |
---|
19 | </ul> |
---|
20 | {/foreach} |
---|
21 | |
---|
22 | <p class="bottomButtons"> |
---|
23 | <input type="hidden" name="list" value="{$LIST}"> |
---|
24 | <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> |
---|
25 | <input class="submit" type="submit" name="validate-all" value="{'Validate All'|@translate}" {$TAG_INPUT_ENABLED}> |
---|
26 | <input class="submit" type="submit" name="reject-all" value="{'Reject All'|@translate}" {$TAG_INPUT_ENABLED}> |
---|
27 | <input class="submit" type="reset" value="{'Reset'|@translate}"> |
---|
28 | </p> |
---|
29 | |
---|
30 | </form> |
---|
31 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.