Ignore:
Timestamp:
Jul 12, 2008, 4:57:24 PM (16 years ago)
Author:
patdenice
Message:

Merge from branch-1_7 (r2432).

Add triggers for category name (render_category_name).
Add strip_tags for ALT attribute on category thumbnail.

File:
1 edited

Legend:

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

    r2356 r2433  
    289289      $option = str_repeat(' ',
    290290                           (3 * substr_count($category['global_rank'], '.')));
    291       $option.= '- '.$category['name'];
     291      $option.= '- ';
     292      $option.= strip_tags(
     293        trigger_event(
     294          'render_category_name',
     295          $category['name'],
     296          'display_select_categories'
     297          )
     298        );
    292299    }
    293300    $tpl_cats[ $category['id'] ] = $option;
Note: See TracChangeset for help on using the changeset viewer.