Changeset 11285 for trunk/include
- Timestamp:
- Jun 9, 2011, 10:34:48 PM (13 years ago)
- Location:
- trunk/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_cats.inc.php
r9365 r11285 307 307 'TN_SRC' => $thumbnail_src_of[$category['representative_picture_id']], 308 308 'TN_ALT' => strip_tags($category['name']), 309 'icon_ts' => get_icon($category['max_date_last'], $category['is_child_date_last']),310 309 311 310 'URL' => make_index_url( … … 329 328 'NAME' => $name, 330 329 ); 330 if ($conf['index_new_icon']) 331 { 332 $row['icon_ts'] = get_icon($category['max_date_last'], $category['is_child_date_last']); 333 } 331 334 332 335 if ($conf['display_fromto']) -
trunk/include/category_default.inc.php
r8728 r11285 111 111 'TN_ALT' => $row['file'], 112 112 'TN_TITLE' => get_thumbnail_title($row), 113 'icon_ts' => get_icon($row['date_available']),114 113 'URL' => $url, 115 114 … … 128 127 true:false, /* lack of include/functions_picture.inc.php */ 129 128 ); 129 if ($conf['index_new_icon']) 130 { 131 $row['icon_ts'] = get_icon($row['date_available']); 132 } 130 133 131 134 if ($user['show_nb_hits']) -
trunk/include/functions_category.inc.php
r11155 r11285 51 51 function get_categories_menu() 52 52 { 53 global $page, $user, $filter ;53 global $page, $user, $filter, $conf; 54 54 55 55 $query = ' … … 111 111 $row['name'], 112 112 'get_categories_menu' 113 ),113 ), 114 114 'TITLE' => get_display_images_count( 115 115 $row['nb_images'], … … 118 118 false, 119 119 ' / ' 120 ),120 ), 121 121 'URL' => make_index_url(array('category' => $row)), 122 122 'LEVEL' => substr_count($row['global_rank'], '.') + 1, 123 'icon_ts' => get_icon($row['max_date_last'], $child_date_last),124 123 'SELECTED' => $selected_category['id'] == $row['id'] ? true : false, 125 124 'IS_UPPERCAT' => $selected_category['id_uppercat'] == $row['id'] ? true : false, 126 ) 127 ); 125 ) 126 ); 127 if ($conf['index_new_icon']) 128 { 129 $row['icon_ts'] = get_icon($row['max_date_last'], $child_date_last); 130 } 128 131 array_push($cats, $row); 129 132 if ($row['id']==@$page['category']['id']) //save the number of subcats for later optim
Note: See TracChangeset
for help on using the changeset viewer.