Changeset 2079 for trunk/include/category_cats.inc.php
- Timestamp:
- Aug 26, 2007, 1:10:12 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_cats.inc.php
r1971 r2079 218 218 update_cats_with_filtered_data($categories); 219 219 } 220 221 // add default event handler for rendering category literal description 222 add_event_handler('render_category_literal_description', 223 create_function('$d', 224 'return strip_tags($d, \'<a><br><p><b><i><small><strong><font>\');')); 225 220 226 trigger_action('loc_begin_index_category_thumbnails', $categories); 221 227 if ($conf['subcatify']) … … 225 231 foreach ($categories as $category) 226 232 { 227 $comment = strip_tags(@$category['comment'], '<a><br><p><b><i><small><strong><font>');228 233 if ($page['section']=='recent_cats') 229 234 { … … 258 263 '<br />' 259 264 ), 260 'DESCRIPTION' => @$comment, 265 'DESCRIPTION' => 266 trigger_event('render_category_literal_description', 267 trigger_event('render_category_description', 268 @$category['comment'])), 261 269 'NAME' => $name, 262 270 )
Note: See TracChangeset
for help on using the changeset viewer.