Ignore:
Timestamp:
Jun 19, 2013, 2:43:41 PM (11 years ago)
Author:
mistic100
Message:

all collections are "active", display a menu when adding to a collection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserCollections/template/menublock_user_collec.tpl

    r20097 r23361  
    1111                {foreach from=$block->data.collections item=col}
    1212                <li>
    13       <a href="{$col.U_EDIT}" {if $col.active}style="font-weight:bold;"{/if} rel="nofollow">{$col.name}</a>&nbsp;
    14       {if $col.active}<i class="menuInfoCat">({'active'|@translate})</i>&nbsp;{/if}
    15       <span class="menuInfoCat">[<span {if $col.count_handler}class="nbImagesCollec"{/if}>{$col.nb_images}</span>]</span>
     13      <a href="{$col.U_EDIT}" {*if $col.active}style="font-weight:bold;"{/if*} rel="nofollow">{$col.name}</a>&nbsp;
     14      {*if $col.active}<i class="menuInfoCat">({'active'|@translate})</i>&nbsp;{/if*}
     15      <span class="menuInfoCat">[<span class="nbImagesCollec-{$col.id}">{$col.nb_images}</span>]</span>
    1616    </li>
    1717                {/foreach}
    18     {if $block->data.MORE}<li class="menuInfoCat">{'%d more...'|@translate|sprintf:$block->data.MORE}</li>{/if}
     18    {if $block->data.MORE}<li class="menuInfoCat"><a href="{$block->data.U_LIST}">{'%d more...'|@translate|sprintf:$block->data.MORE}</a></li>{/if}
    1919        {/strip}</ul>
    2020  {/if}
Note: See TracChangeset for help on using the changeset viewer.