Changeset 2079
- Timestamp:
- Aug 26, 2007, 1:10:12 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 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 ) -
trunk/index.php
r1932 r2079 297 297 'cat_infos.comment', 298 298 array( 299 'COMMENTS' => $page['comment'] 299 'COMMENTS' => 300 trigger_event('render_category_description', $page['comment']) 300 301 ) 301 302 ); -
trunk/language
-
Property
svn:ignore
set to
nl_NL.iso-8859-1
-
Property
svn:ignore
set to
-
trunk/picture.php
r2048 r2079 56 56 2 57 57 ); 58 // add default event handler for rendering element description 59 add_event_handler('render_element_description', 'nl2br'); 60 58 61 trigger_action('loc_begin_picture'); 59 62 … … 641 644 'legend', 642 645 array( 643 'COMMENT_IMG' => nl2br($picture['current']['comment']) 646 'COMMENT_IMG' => 647 trigger_event('render_element_description', 648 $picture['current']['comment']) 644 649 )); 645 650 $header_infos['COMMENT'] = strip_tags($picture['current']['comment']);
Note: See TracChangeset
for help on using the changeset viewer.