Rev | Line | |
---|
[16591] | 1 | <dt>{$block->get_title()}</dt> |
---|
| 2 | <dd> |
---|
[16698] | 3 | <p> |
---|
| 4 | {if $block->data.NB_COL == 0} |
---|
| 5 | {'You have no collection'|@translate|sprintf:$block->data.NB_COL} |
---|
| 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> |
---|
[16688] | 9 | {if $block->data.collections} |
---|
| 10 | <ul>{strip} |
---|
| 11 | {foreach from=$block->data.collections item=col} |
---|
| 12 | <li>{if $col.active} |
---|
| 13 | <a href="{$col.U_EDIT}" style="font-weight:bold;" rel="nofollow">{$col.name}</a> <i class="menuInfoCat">({'active'|@translate})</i> <span class="menuInfoCat">[<span class="nbImagesCollec">{$col.nb_images}</span>]</span> |
---|
| 14 | {else} |
---|
| 15 | <a href="{$col.U_EDIT}" rel="nofollow">{$col.name}</a> <span class="menuInfoCat">[{$col.nb_images}]</span> |
---|
| 16 | {/if}</li> |
---|
[16591] | 17 | {/foreach} |
---|
[16688] | 18 | {if $block->data.MORE}<li class="menuInfoCat">{'%d more...'|@translate|sprintf:$block->data.MORE}</li>{/if} |
---|
[16591] | 19 | {/strip}</ul> |
---|
[16688] | 20 | {/if} |
---|
| 21 | <p><a href="{$block->data.U_CREATE}" rel="nofollow">{'Create a new collection'|@translate}</a></p> |
---|
[16591] | 22 | </dd> |
---|
Note: See
TracBrowser
for help on using the repository browser.