Changeset 23767
- Timestamp:
- Jul 4, 2013, 3:05:21 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/FCKEditor/fckeditor.php
r16767 r23767 8 8 9 9 if (!isset($page['page'])) return $plugin_menu_links; 10 11 if (!isset($conf['fckeditor_toolbar_always_full'])) 12 { 13 $conf['fckeditor_toolbar_always_full'] = false; 14 } 10 15 11 16 $toolbar = 'Full'; … … 19 24 $areas[] = 'comment'; 20 25 $areas[] = 'mail_content'; 21 $toolbar = 'Basic';26 $toolbar = $conf['fckeditor_toolbar_always_full'] ? 'Full' : 'Basic'; 22 27 $template->set_prefilter('album_properties', 'add_remove_button'); 23 28 } … … 26 31 { 27 32 $areas[] = 'description'; 28 $toolbar = 'Basic';33 $toolbar = $conf['fckeditor_toolbar_always_full'] ? 'Full' : 'Basic'; 29 34 $template->set_prefilter('picture_modify', 'add_remove_button'); 30 35 } … … 33 38 { 34 39 $areas[] = 'send_customize_mail_content'; 35 $toolbar = 'Basic';40 $toolbar = $conf['fckeditor_toolbar_always_full'] ? 'Full' : 'Basic'; 36 41 $template->set_prefilter('notification_by_mail', 'add_remove_button'); 37 42 } … … 41 46 $areas[] = 'page_banner'; 42 47 $width = '70%'; 43 $toolbar = 'Basic';48 $toolbar = $conf['fckeditor_toolbar_always_full'] ? 'Full' : 'Basic'; 44 49 $template->set_prefilter('config', 'add_remove_button_banner'); 45 50 }
Note: See TracChangeset
for help on using the changeset viewer.