diff options
author | rvelices <rv-github@modusoptimus.com> | 2013-06-23 18:39:31 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2013-06-23 18:39:31 +0000 |
commit | b93085c7fbd1ee625354f612b3af62d2dcb90402 (patch) | |
tree | 42b33391f9ef7f36836934fb4afa44c6555b91d6 /admin/themes/default/template | |
parent | 67d736e3fd0399399e554c53503a2b24f50e5a70 (diff) |
Smarty3 added 'translate_dec' compilermodifier (generated code is a lot better than $pwg->l10n_dec)
git-svn-id: http://piwigo.org/svn/trunk@23476 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template')
-rw-r--r-- | admin/themes/default/template/tags.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/themes/default/template/tags.tpl b/admin/themes/default/template/tags.tpl index aabd36b20..09d000c86 100644 --- a/admin/themes/default/template/tags.tpl +++ b/admin/themes/default/template/tags.tpl @@ -150,7 +150,7 @@ $("#searchInput").on( "keydown", function() { {/if} <ul class="tagSelection"> {foreach from=$all_tags item=tag} - <li>{capture name='showInfo'}<b>{$tag.name}</b> ({$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}) <br> <a href="{$tag.U_VIEW}">{'View in gallery'|@translate}</a> | <a href="{$tag.U_EDIT}">{'Manage photos'|@translate}</a>{if !empty($tag.alt_names)}<br>{$tag.alt_names}{/if}{/capture} + <li>{capture name='showInfo'}<b>{$tag.name}</b> ({$tag.counter|@translate_dec:'%d photo':'%d photos'}) <br> <a href="{$tag.U_VIEW}">{'View in gallery'|@translate}</a> | <a href="{$tag.U_EDIT}">{'Manage photos'|@translate}</a>{if !empty($tag.alt_names)}<br>{$tag.alt_names}{/if}{/capture} <a class="icon-info-circled-1 showInfo" title="{$smarty.capture.showInfo|@htmlspecialchars}"></a> <label> <input type="checkbox" name="tags[]" value="{$tag.id}"> {$tag.name} |