Changeset 11591


Ignore:
Timestamp:
07/01/11 23:14:04 (9 years ago)
Author:
mistic100
Message:

feature:2330 ability to hide the "new" icon for recent photos
correct a big mistake in var name

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/category_cats.inc.php

    r11285 r11591  
    330330    if ($conf['index_new_icon']) 
    331331    { 
    332       $row['icon_ts'] = get_icon($category['max_date_last'], $category['is_child_date_last']); 
     332      $tpl_var['icon_ts'] = get_icon($category['max_date_last'], $category['is_child_date_last']); 
    333333    } 
    334334 
  • trunk/include/category_default.inc.php

    r11285 r11591  
    129129  if ($conf['index_new_icon']) 
    130130  { 
    131     $row['icon_ts'] = get_icon($row['date_available']); 
     131    $tpl_var['icon_ts'] = get_icon($row['date_available']); 
    132132  } 
    133133 
Note: See TracChangeset for help on using the changeset viewer.