Changeset 2432
- Timestamp:
- Jul 12, 2008, 4:27:22 PM (16 years ago)
- Location:
- branches/branch-1_7
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_7/admin/cat_list.php
r2307 r2432 242 242 'categories.category', 243 243 array( 244 'NAME' => $category['name'], 244 'NAME' => 245 trigger_event( 246 'render_category_name', 247 $category['name'], 248 'admin_cat_list' 249 ), 245 250 'ID' => $category['id'], 246 251 'RANK' => $category['rank']*10, -
branches/branch-1_7/include/category_cats.inc.php
r2331 r2432 186 186 foreach ($categories as $category) 187 187 { 188 $category['name'] = trigger_event( 189 'render_category_name', 190 $category['name'], 191 'subcatify_category_name' 192 ); 193 188 194 if ($page['section']=='recent_cats') 189 195 { … … 201 207 array( 202 208 'SRC' => $thumbnail_src_of[$category['representative_picture_id']], 203 'ALT' => $category['name'],209 'ALT' => strip_tags($category['name']), 204 210 'TITLE' => l10n('hint_category'), 205 211 'ICON' => $icon_ts, … … 250 256 foreach ($categories as $category) 251 257 { 258 $category['name'] = trigger_event( 259 'render_category_name', 260 $category['name'], 261 'thumbnail_category_name' 262 ); 263 252 264 $template->assign_block_vars( 253 265 'thumbnails.line.thumbnail', 254 266 array( 255 267 'IMAGE' => $thumbnail_src_of[ $category['representative_picture_id'] ], 256 'IMAGE_ALT' => $category['name'],268 'IMAGE_ALT' => strip_tags($category['name']), 257 269 'IMAGE_TITLE' => get_display_images_count 258 270 ( -
branches/branch-1_7/include/functions_category.inc.php
r2118 r2432 297 297 $option = str_repeat(' ', 298 298 (3 * substr_count($category['global_rank'], '.'))); 299 $option.= '- '.$category['name']; 299 $option.= '- '; 300 $option.= strip_tags( 301 trigger_event( 302 'render_category_name', 303 $category['name'], 304 'display_select_categories' 305 ) 306 ); 300 307 } 301 308 -
branches/branch-1_7/include/functions_html.inc.php
r2354 r2432 248 248 'get_cat_display_name wrong type for category ', E_USER_WARNING 249 249 ); 250 251 $cat['name'] = trigger_event( 252 'render_category_name', 253 $cat['name'], 254 'get_cat_display_name' 255 ); 256 250 257 if ($is_first) 251 258 { … … 322 329 $cat = $cache['cat_names'][$category_id]; 323 330 331 $cat['name'] = trigger_event( 332 'render_category_name', 333 $cat['name'], 334 'get_cat_display_name_cache' 335 ); 336 324 337 if ($is_first) 325 338 { … … 434 447 $menu.= ' rel="up"'; 435 448 } 436 $menu.= ' title="'.$title.'">'.$category['name'].'</a>'; 449 $menu.= ' title="'.$title.'">'; 450 $menu.= trigger_event( 451 'render_category_name', 452 $category['name'], 453 'get_html_menu_category' 454 ); 455 $menu.= '</a>'; 437 456 438 457 if ( $category['count_images']>0 )
Note: See TracChangeset
for help on using the changeset viewer.