Changeset 12333 for extensions/community/main.inc.php
- Timestamp:
- Oct 3, 2011, 2:18:46 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/community/main.inc.php
r11726 r12333 336 336 } 337 337 338 $row['name'] = strip_tags( 339 trigger_event( 340 'render_category_name', 341 $row['name'], 342 'ws_categories_getList' 343 ) 344 ); 338 if ($params['fullname']) 339 { 340 $row['name'] = strip_tags(get_cat_display_name_cache($row['uppercats'], null, false)); 341 } 342 else 343 { 344 $row['name'] = strip_tags( 345 trigger_event( 346 'render_category_name', 347 $row['name'], 348 'ws_categories_getList' 349 ) 350 ); 351 } 345 352 346 353 $row['comment'] = strip_tags( … … 564 571 community_update_cache_key(); 565 572 } 573 574 add_event_handler('init', 'community_uploadify_privacy_level'); 575 function community_uploadify_privacy_level() 576 { 577 if (script_basename() == 'uploadify' and !is_admin()) 578 { 579 $_POST['level'] = 16; 580 } 581 } 566 582 ?>
Note: See TracChangeset
for help on using the changeset viewer.