- Timestamp:
- Jul 13, 2012, 12:09:19 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserCollections/template/menublock_user_collec.tpl
r16625 r16688 1 1 <dt>{$block->get_title()}</dt> 2 2 <dd> 3 {if $block->data.current} 4 {assign var="nb_images" value='<span class="nbImagesCollec">'|@cat:$block->data.current.NB_IMAGES|@cat:'</span>'} 5 <p>{'Current collection:'|@translate} <b>{$block->data.current.NAME}</b>, {'%d photos'|@translate|replace:'%d':'%s'|sprintf:$nb_images}</p> 6 <ul>{strip} 7 {foreach from=$block->data.links item=link} 8 <li><a href="{$link.URL}" title="{$link.TITLE}" rel="nofollow">{$link.NAME}</a></li> 3 <p><a href="{$block->data.U_LIST}">{'You have %d collections'|@translate|sprintf:$block->data.NB_COL}</a></p> 4 {if $block->data.collections} 5 <ul>{strip} 6 {foreach from=$block->data.collections item=col} 7 <li>{if $col.active} 8 <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> 9 {else} 10 <a href="{$col.U_EDIT}" rel="nofollow">{$col.name}</a> <span class="menuInfoCat">[{$col.nb_images}]</span> 11 {/if}</li> 9 12 {/foreach} 13 {if $block->data.MORE}<li class="menuInfoCat">{'%d more...'|@translate|sprintf:$block->data.MORE}</li>{/if} 10 14 {/strip}</ul> 11 {/if}12 <p><a href="{$block->data.U_ LIST}" rel="nofollow">{'See all my collections'|@translate}</a></p>15 {/if} 16 <p><a href="{$block->data.U_CREATE}" rel="nofollow">{'Create a new collection'|@translate}</a></p> 13 17 </dd>
Note: See TracChangeset
for help on using the changeset viewer.