Changeset 32424
- Timestamp:
- Jan 23, 2021, 8:55:37 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/FCKEditor/fckeditor.php
r31984 r32424 1 1 <?php 2 2 3 add_event_handler(' get_admin_plugin_menu_links', 'load_fckeditor_script');3 add_event_handler('loc_end_admin', 'load_fckeditor_script'); 4 4 5 function load_fckeditor_script( $plugin_menu_links)5 function load_fckeditor_script() 6 6 { 7 7 global $page, $template, $conf; 8 8 9 if (!isset($page['page'])) return $plugin_menu_links;9 if (!isset($page['page'])) return true; 10 10 11 11 if (!isset($conf['fckeditor_toolbar_always_full'])) … … 80 80 $template->set_prefilter('plugin_admin_content', 'add_remove_button'); 81 81 } 82 elseif ($section == 'PersoFooter/admin.php') 83 { 84 $areas[] = 'perso_footer'; 85 $width = '100%'; 86 $height = '300px'; 87 $template->set_prefilter('plugin_admin_content', 'add_remove_button'); 88 } 82 89 } 83 90 … … 86 93 set_fckeditor_instance($areas, $toolbar, $width, $height); 87 94 } 88 return $plugin_menu_links; 95 89 96 } 90 97
Note: See TracChangeset
for help on using the changeset viewer.