Changeset 1134 for branches/branch-1_6/include/category_subcats.inc.php
- Timestamp:
- Apr 8, 2006, 9:40:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_6/include/category_subcats.inc.php
r1132 r1134 133 133 get_thumbnail_src($row['path'], @$row['tn_ext']); 134 134 } 135 135 136 136 if ($conf['subcatify']) 137 137 { … … 143 143 144 144 $template->assign_block_vars('categories', array()); 145 145 146 146 foreach ($categories as $category) 147 147 { … … 153 153 'TITLE' => $lang['hint_category'], 154 154 'ICON' => get_icon(@$category['date_last']), 155 155 156 156 'URL' => make_index_url( 157 157 array( … … 166 166 ); 167 167 } 168 168 169 169 $template->assign_var_from_handle('CATEGORIES', 'mainpage_categories'); 170 170 } … … 176 176 // current row displayed 177 177 $row_number = 0; 178 178 179 179 foreach ($categories as $category) 180 180 { … … 186 186 'IMAGE_TITLE' => $lang['hint_category'], 187 187 'IMAGE_TS' => get_icon(@$category['date_last']), 188 188 189 189 'U_IMG_LINK' => make_index_url( 190 190 array( 191 191 'category' => $category['category'], 192 'cat_name' => $category['name'], 192 193 ) 193 194 ), … … 202 203 ) 203 204 ); 204 205 205 206 // create a new line ? 206 207 if (++$row_number == $user['nb_image_line'])
Note: See TracChangeset
for help on using the changeset viewer.