Changeset 5925


Ignore:
Timestamp:
Apr 20, 2010, 11:32:57 AM (10 years ago)
Author:
Gotcha
Message:

Correction link "Upload image" in menubar_categories.tpl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/sobre/template/menubar_categories.tpl

    r5628 r5925  
    2929      <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="(!)">
    3030      {/if}
     31          {if isset($block->data.U_UPLOAD)}
     32                <li>
     33                  <a href="{$block->data.U_UPLOAD}">{'Upload a picture'|@translate}</a>
     34                </li>
     35          {/if}
    3136  {assign var='ref_level' value=$cat.LEVEL}
    3237{/foreach}
    3338{'</li></ul>'|@str_repeat:$ref_level}
    3439
    35         {if isset($block->data.U_UPLOAD)}
    36         <ul>
    37                 <li>
    38                         <a href="{$block->data.U_UPLOAD}">{'Upload a picture'|@translate}</a>
    39                 </li>
    40         </ul>
    41         {/if}
     40
    4241        <p class="totalImages">{$pwg->l10n_dec('%d image', '%d images', $block->data.NB_PICTURE)}</p>
    4342</dd>
Note: See TracChangeset for help on using the changeset viewer.