Last change
on this file since 20097 was
20097,
checked in by mistic100, 11 years ago
|
full compatibility with Gthumb+, improve some code
|
File size:
991 bytes
|
Rev | Line | |
---|
[16591] | 1 | <dt>{$block->get_title()}</dt> |
---|
| 2 | <dd> |
---|
[16698] | 3 | <p> |
---|
| 4 | {if $block->data.NB_COL == 0} |
---|
[20097] | 5 | {'You have no collection'|@translate} |
---|
[16698] | 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} |
---|
[20097] | 12 | <li> |
---|
| 13 | <a href="{$col.U_EDIT}" {if $col.active}style="font-weight:bold;"{/if} rel="nofollow">{$col.name}</a> |
---|
| 14 | {if $col.active}<i class="menuInfoCat">({'active'|@translate})</i> {/if} |
---|
| 15 | <span class="menuInfoCat">[<span {if $col.count_handler}class="nbImagesCollec"{/if}>{$col.nb_images}</span>]</span> |
---|
| 16 | </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.