'. t('FCKeditor is highly configurable. The most commonly used features are listed below. If you want to take a look at all available settings, open %fckconfig and then customize %fckeditor_config to your needs. This is also the only way to define new toolbar sets. It is advised to not edit %fckconfigjs because you may overwrite it accidentally when you update the editor.',
array(
'%fckconfig' => drupal_get_path('module', 'fckeditor') .'/fckeditor/fckconfig.js',
'%fckeditor_config' => drupal_get_path('module', 'fckeditor') .'/fckeditor.config.js',
'%fckconfigjs' => 'fckconfig.js',
)) .'
';
break;
case 'admin/settings/fckeditor/editg':
case 'admin/settings/fckeditor/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 in each profile.') .'
';
break;
case 'admin/settings/fckeditor':
$output =
'
'. t('The FCKeditor module allows Drupal to replace textarea fields with a rich text or !wysiwyg editor. This editor brings many of the powerful functionalities of known desktop editors like Word to the web. It\'s relatively lightweight and doesn\'t require any kind of installation on the client computer.',
array(
'!wysiwyg' => ''. t('WYSIWYG') .'',
)) .'
'.
'
'. t('More information about the editor is located at the !fckeditorlink. A small user guide is located at !userguidelink.',
array(
'!fckeditorlink' => l(t('FCKeditor homepage'), 'http://ckeditor.com'),
'!userguidelink' => l(t('FCKeditor userguide'), 'http://docs.cksource.com/FCKeditor_2.x/Users_Guide'),
)) .'
'.
'
'. t('Profiles can be defined based on user roles. A FCKeditor profile can define which pages receive this FCKeditor capability, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor functions. It is possible also to define the Global Profile that will hold values that will be appended to all other profiles.') .'
'.
'
'. t('Lastly, only users with the %accesspermission !permissionlink will be able to use FCKeditor.',
array(
'%accesspermission' => t('access fckeditor'),
'!permissionlink' => l(t('permission'), 'admin/user/permissions')
)) .'
';
break;
case 'admin/help#fckeditor':
$output = '
'. t('The FCKeditor module allows Drupal to replace textarea fields with a rich text or !wysiwyg editor. This editor brings many of the powerful functionalities of known desktop editors like Word to the web. It\'s relatively lightweight and doesn\'t require any kind of installation on the client computer.',
array(
'!wysiwyg' => ''. t('WYSIWYG') .'',
)) .'
';
$output .= '
'. t('More information about the editor is located at the !fckeditorlink. A small user guide is located at !userguidelink.',
array(
'!fckeditorlink' => l(t('FCKeditor homepage'), 'http://ckeditor.com'),
'!userguidelink' => l(t('FCKeditor userguide'), 'http://docs.cksource.com/FCKeditor_2.x/Users_Guide'),
)) .'
';
$output .= '
'. t('Configuration') .'
';
$output .= '';
$output .= '
'. t('Go to the !fckeditorlink and download the latest version of FCKeditor. Then uncompress the contents of the fckeditor directory of the downloaded file to %fckeditordir.',
array(
'!fckeditorlink' => l(t('FCKeditor homepage'), 'http://ckeditor.com/download'),
'%fckeditordir' => base_path() . drupal_get_path('module', 'fckeditor') .'/fckeditor/',
)) .'
';
$output .= '
'. t('Enable the module as usual from Drupal\'s admin pages.') .'
';
$output .= '
'. t('Grant permissions for use of FCKeditor in !adminpath. See the @sectionname section how to enable the file browser feature.',
array(
'!adminpath' => l(t('Administer') .' > '. t('User management') .' > '. t('Permissions'), 'admin/user/permissions'),
'@sectionname' => t('How to enable the built-in file browser'),
)) .'
';
$output .= '
'. t('Under !adminpath, adjust the fckeditor profiles. In each profile you can choose which textareas will be replaced by FCKeditor, select default toolbar and configure some more advanced settings.',
array(
'!adminpath' => l(t('Administer') .' > '. t('Site configuration') .' > '. t('FCKeditor'), 'admin/settings/fckeditor'),
)) .'
';
$output .= '
'. 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:',
array(
'!filterlink' => l(t('filters'), 'admin/settings/filters'),
)) .
' '. htmlspecialchars('