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

Last change on this file since 23668 was 23551, checked in by mistic100, 11 years ago

many corrections & optimizations + remove useless code + clean

File size: 883 bytes
Line 
1<dt>{$block->get_title()}</dt>
2<dd>
3  <p>
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}</p>
9  {if $block->data.collections}
10  <ul>{strip}
11                {foreach from=$block->data.collections item=col}
12                <li>
13      <a href="{$col.u_edit}" rel="nofollow">{$col.name}</a>&nbsp;
14      <span class="menuInfoCat">[<span class="nbImagesCollec-{$col.id}">{$col.nb_images}</span>]</span>
15    </li>
16                {/foreach}
17    {if isset($block->data.MORE)}<li class="menuInfoCat"><a href="{$block->data.U_LIST}">{'%d more...'|@translate|sprintf:$block->data.MORE}</a></li>{/if}
18        {/strip}</ul>
19  {/if}
20  <p><a href="{$block->data.U_CREATE}" rel="nofollow">{'Create a new collection'|@translate}</a></p>
21</dd>
Note: See TracBrowser for help on using the repository browser.