source: extensions/UserCollections/template/menublock.tpl @ 27055

Last change on this file since 27055 was 25678, checked in by mistic100, 11 years ago

very big update for Piwigo 2.6

File size: 753 bytes
Line 
1<dt>{$block->get_title()}</dt>
2<dd>
3  <p>{strip}
4    {if $block->data.NB_COL == 0}
5      {'You have no collection'|translate}
6    {else}
7      <a href="{$block->data.U_LIST}">{$pwg->l10n_dec('You have %d collection', 'You have %d collections', $block->data.NB_COL)}</a>
8    {/if}
9  {/strip}</p>
10  {if $block->data.collections}
11  <ul>
12                {foreach from=$block->data.collections item=col}{strip}
13                <li>
14      <a href="{$col.u_edit}">{$col.name}</a>&nbsp;
15      <span class="menuInfoCat">[<span class="nbImagesCollec-{$col.id}">{$col.nb_images}</span>]</span>
16    </li>
17                {/strip}{/foreach}
18    {if isset($block->data.MORE)}<li class="menuInfoCat"><a href="{$block->data.U_LIST}">{'%d more...'|translate:$block->data.MORE}</a></li>{/if}
19        </ul>
20  {/if}
21</dd>
Note: See TracBrowser for help on using the repository browser.