diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-03-13 01:43:45 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-03-13 01:43:45 +0000 |
commit | a6437b81e68d5b14ded9cd2eaed7f134999ab794 (patch) | |
tree | 19b4cb1e5bb320887641edb8d24bd56e369d37f4 /template/yoga/nbm.tpl | |
parent | 6f84eaf7cb10b0db6e82a3c85d998e60a3654c9a (diff) |
- changes to template to accomodate nbm (solved issue when we had same template filename with different root dirs)
- started some changes in mail templates
git-svn-id: http://piwigo.org/svn/trunk@2278 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/nbm.tpl | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/template/yoga/nbm.tpl b/template/yoga/nbm.tpl index 68643f4fb..b8d174839 100644 --- a/template/yoga/nbm.tpl +++ b/template/yoga/nbm.tpl @@ -1,32 +1,31 @@ -<!-- DEV TAG: not smarty migrated --> -<!-- $Id$ --> +{* $Id$ *} <div id="content"> <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{U_HOME}" title="{lang:Go through the gallery as a visitor}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li> + <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> </ul> - <h2>{lang:nbm_item_notification}</h2> + <h2>{'nbm_item_notification'|@translate}</h2> </div> - <!-- BEGIN errors --> + {if not empty($errors)} <div class="errors"> <ul> - <!-- BEGIN error --> - <li>{errors.error.ERROR}</li> - <!-- END error --> + {foreach from=$errors item=error} + <li>{$error}</li> + {/foreach} </ul> </div> - <!-- END errors --> + {/if} - <!-- BEGIN infos --> + {if not empty($infos)} <div class="infos"> <ul> - <!-- BEGIN info --> - <li>{infos.info.INFO}</li> - <!-- END info --> + {foreach from=$infos item=info} + <li>{$info}</li> + {/foreach} </ul> </div> - <!-- END infos --> + {/if} </div> |