2008-08-28 00:32:39 +00:00
<dt>
2008-10-11 10:17:25 +00:00
{ if isset ( $U_START_FILTER ) }
2010-03-02 14:54:22 +00:00
<a href=" { $U_START_FILTER } " title=" { 'display only recently posted images' | @ translate } " rel="nofollow"><img src=" { $ROOT_URL } { $themeconf.icon_dir } /start_filter.png" class="button" alt="start filter"></a>
2008-10-11 10:17:25 +00:00
{ /if }
{ if isset ( $U_STOP_FILTER ) }
2010-03-02 14:54:22 +00:00
<a href=" { $U_STOP_FILTER } " title=" { 'return to the display of all images' | @ translate } "><img src=" { $ROOT_URL } { $themeconf.icon_dir } /stop_filter.png" class="button" alt="stop filter"></a>
2008-10-11 10:17:25 +00:00
{ /if }
2008-08-28 00:32:39 +00:00
<a href=" { $block - > data . U_CATEGORIES } "> { 'Categories' | @ translate } </a>
</dt>
<dd>
2009-03-04 21:49:21 +00:00
{ assign var = 'ref_level' value = 0 }
{ foreach from = $block - > data . MENU_CATEGORIES item = cat }
{ if $cat.LEVEL > $ref_level }
<ul>
{ else }
</li>
{ '</ul></li>' | @ str_repeat : $ref_level - $cat.LEVEL }
{ /if }
<li { if $cat.SELECTED } class="selected" { /if } >
<a href=" { $cat.URL } " { if $cat.IS_UPPERCAT } rel="up" { /if } title=" { $cat.TITLE } "> { $cat.NAME } </a>
{ if $cat.count_images > 0 }
<span class=" { if $cat.nb_images > 0 } menuInfoCat { else } menuInfoCatByChild { /if } " title=" { $cat.TITLE } ">[ { $cat.count_images } ]</span>
{ /if }
2009-03-11 17:25:26 +00:00
{ if ! empty ( $cat.icon_ts ) }
2009-03-11 19:41:21 +00:00
<img title=" { $cat.icon_ts.TITLE } " src=" { $ROOT_URL } { $themeconf.icon_dir } /recent { if $cat.icon_ts.IS_CHILD_DATE } _by_child { /if } .png" class="icon" alt="(!)">
2009-03-11 17:25:26 +00:00
{ /if }
2009-03-04 21:49:21 +00:00
{ assign var = 'ref_level' value = $cat.LEVEL }
{ /foreach }
{ '</li></ul>' | @ str_repeat : $ref_level }
2008-08-28 00:32:39 +00:00
{ if isset ( $block - > data . U_UPLOAD ) }
<ul>
<li>
2010-03-02 14:54:22 +00:00
<a href=" { $block - > data . U_UPLOAD } "> { 'Upload a picture' | @ translate } </a>
2008-08-28 00:32:39 +00:00
</li>
</ul>
{ /if }
<p class="totalImages"> { $pwg - > l10n_dec ( '%d element' , '%d elements' , $block - > data . NB_PICTURE ) } </p>
</dd>