Ignore:
Timestamp:
Jan 8, 2011, 5:34:17 PM (13 years ago)
Author:
grum
Message:

Release 1.4.0
Rewrite some JS
fix bug bug:1983

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/gally-default/template/mainpage_categories.tpl

    r6700 r8528  
    44  {foreach from=$category_thumbnails item=cat name=catloop}
    55  <li class="odd{if ($smarty.foreach.catloop.iteration-1) % 2 == 0}0{else}1{/if}">
    6     <div class="thumbnailCategory">
     6    <div class="thumbnailCategory"  onclick="window.location='{$cat.URL}';">
    77      <div class="illustration">
    8         <a href="{$cat.URL}">
     8
    99          <img {if isset($cat.EXTRA_CLASS)}class="{$cat.EXTRA_CLASS}"{/if} src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'shows images at the root of this category'|@translate}">
    10         </a>
     10
    1111      </div>
    1212      <div class="description">
    1313        <h3>
    14           <a href="{$cat.URL}">{$cat.NAME}</a>
     14          {$cat.NAME}
    1515            {if !empty($cat.icon_ts)}
    1616            <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="(!)">
Note: See TracChangeset for help on using the changeset viewer.