source: trunk/template/yoga/nbm.tpl @ 5021

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: 643 bytes
Line 
1
2<div id="content" class="content">
3  <div class="titrePage">
4    <ul class="categoryActions">
5      <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li>
6    </ul>
7    <h2>{'Notification'|@translate}</h2>
8  </div>
9
10  {if not empty($errors)}
11  <div class="errors">
12    <ul>
13      {foreach from=$errors item=error}
14      <li>{$error}</li>
15      {/foreach}
16    </ul>
17  </div>
18  {/if}
19
20  {if not empty($infos)}
21  <div class="infos">
22    <ul>
23      {foreach from=$infos item=info}
24      <li>{$info}</li>
25      {/foreach}
26    </ul>
27  </div>
28  {/if}
29
30</div>
Note: See TracBrowser for help on using the repository browser.