aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/menubar_categories.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/template/menubar_categories.tpl')
-rw-r--r--themes/default/template/menubar_categories.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/template/menubar_categories.tpl b/themes/default/template/menubar_categories.tpl
index 65a149cff..c3c5b1c02 100644
--- a/themes/default/template/menubar_categories.tpl
+++ b/themes/default/template/menubar_categories.tpl
@@ -14,7 +14,7 @@
<ul>
{else}
</li>
- {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL}
+ {'</ul></li>'|@str_repeat:($ref_level-$cat.LEVEL)}
{/if}
<li {if $cat.SELECTED}class="selected"{/if}>
<a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a>
@@ -28,5 +28,5 @@
{/foreach}
{'</li></ul>'|@str_repeat:$ref_level}
- <p class="totalImages">{$pwg->l10n_dec('%d photo', '%d photos', $block->data.NB_PICTURE)}</p>
+ <p class="totalImages">{$block->data.NB_PICTURE|@translate_dec:'%d photo':'%d photos'}</p>
</dd>