') { $ckeditor_url = ckeditor_path('url'); $is_url = true; } $do_not_touch_configjs = ''; if (!$is_url) { $do_not_touch_configjs = '

' . t('It is recommended to not edit the !ckeditor_config_file (!ckeditor_config_path) configuration file that is distributed with CKEditor, because you may overwrite it accidentally when you update the editor.', array( '!ckeditor_config_path' => '' . $ckeditor_url . '/config.js', '!ckeditor_config_file' => 'config.js', ) ) . '

'; } switch ($path) { case 'admin/config/content/help#description': $output = t('Enables the use of CKEditor (a rich text WYSIWYG editor) instead of plain text fields.'); break; case 'admin/config/content/ckeditor/edit/%': case 'admin/config/content/ckeditor/add': $output = '

' . t('CKEditor is highly configurable. The most commonly used features are listed below. You can also adjust CKEditor to your needs by changing the !ckeditor_module_config configuration file.', array( '!ckeditor_module_config' => '' . ckeditor_module_path('local') . '/ckeditor.config.js', ) ) . '

'.$do_not_touch_configjs; break; case 'admin/config/content/ckeditor/editg': case 'admin/config/content/ckeditor/add': $output = '

' . t('The Global Profile allows you to define settings that are common for all profiles. Values defined in other profiles will be appended to the global configuration. This way you can avoid repeating some of the settings that are usually the same for each profile.') . '

'; break; case 'admin/config/content/ckeditor': $output = '

' . t('The CKEditor module allows Drupal to replace textarea fields with CKEditor. CKEditor is an online rich text editor that can be embedded inside web pages. It is a !wysiwyg editor which means that the text edited in it looks as similar as possible to the results end users will see after the document gets published. It brings to the Web popular editing features found in desktop word processors such as Microsoft Word and OpenOffice.org Writer. CKEditor is truly lightweight and does not require any kind of installation on the client computer.', array( '!wysiwyg' => '' . t('WYSIWYG') . '', ) ) . '

' . t('Useful links: !ckeditorlink | !devguidelink | !userguidelink.', array( '!ckeditorlink' => l(t('CKEditor website'), 'http://ckeditor.com'), '!devguidelink' => l(t('CKEditor for Drupal 7 Documentation'), 'http://docs.cksource.com/CKEditor_for_Drupal/Open_Source/Drupal_7'), '!userguidelink' => l(t('User\'s Guide'), 'http://docs.cksource.com/CKEditor_3.x/Users_Guide') ) ) . '

' . t('Profiles are linked with input format types. A CKEditor profile defines which buttons are available in the editor, how the editor is displayed, and a few other editor functions. The Global Profile stores some general information about CKEditor.') . '

'; break; case 'admin/help#ckeditor': $output = '

' . t('Introduction') . '

' . '

' . t('The CKEditor module allows Drupal to replace textarea fields with CKEditor. CKEditor is an online rich text editor that can be embedded inside web pages. It is a !wysiwyg editor which means that the text edited in it looks as similar as possible to the results end users will see after the document gets published. It brings to the Web popular editing features found in desktop word processors such as Microsoft Word and OpenOffice.org Writer. CKEditor is truly lightweight and does not require any kind of installation on the client computer.', array( '!wysiwyg' => '' . t('WYSIWYG') . '', ) ) . '

' . '

' . t('Useful links: !ckeditorlink | !devguidelink | !userguidelink.', array( '!ckeditorlink' => l(t('CKEditor website'), 'http://ckeditor.com'), '!devguidelink' => l(t('CKEditor for Drupal 7 Documentation'), 'http://docs.cksource.com/CKEditor_for_Drupal/Open_Source/Drupal_7'), '!userguidelink' => l(t('User\'s Guide'), 'http://docs.cksource.com/CKEditor_3.x/Users_Guide') ) ) . '

' . '

' . t('Configuration') . '

' . '
    ' . '
  1. ' . t('CKEditor profiles can be configured in the !adminpath section. Profiles determine which options are available to users based on the input format system.', array( '!adminpath' => '' . l(t('Administration panel') . ' > ' . t('Configuration') . ' > ' . t('Content Authoring') . ' > ' . t('CKEditor'), 'admin/config/content/ckeditor') . '' ) ) . '
  2. ' . '
  3. ' . t('For the Rich Text Editing to work you also need to configure your !filterlink for the users that may access Rich Text Editing. Either grant those users Full HTML access or use the following list of tags in the HTML filter:', array( '!filterlink' => l(t('filters'), 'admin/config/content/formats') ) ) . '
    ' . htmlspecialchars('




      1.  
        ') . '
        ' . t('Note: be careful when granting users access to create tags like %iframe.
        If you are going to use CKEditor with the Filtered HTML input format, please read the "Setting up filters" section in the !readme file.', array( '%iframe' => '