diff --git a/CHANGELOG.txt b/CHANGELOG.txt index cec30a25d0ab0ebbcd256fcc0146f0a74ed45498..32cced40d5b372b46a98a7df84ead05340d3f9cd 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,8 @@ $Id$ +-- 2009-07-28 version 6.x-2.x-dev +* Fixed a number of spelling mistakes + -- 2009-07-25 version 6.x-2.x-dev * #366431 Don't process textareas with #access = false * #409038 %u wild card does not work in private folders diff --git a/README.txt b/README.txt index 757c985fc0717c9b7e5036ba222bba4f8254ca98..1477bebfe43e17a798efe9fb1248d41b99a7a3f5 100644 --- a/README.txt +++ b/README.txt @@ -180,7 +180,7 @@ directory on the server and add new content to that directory 2. Locate file named settings.php inside your drupal directory (usually sites/default/settings.php) and set $cookie_domain variable to the - appropiate domain (remember to uncomment that line). If you not do this, + appropriate domain (remember to uncomment that line). If you not do this, FCKeditor will claim that file browser is disabled 3. Enabling file uploads is a security risk. That's why you have to grant a diff --git a/fckeditor.admin.inc b/fckeditor.admin.inc index 469896f773427ffe163cd84227415a843bbfe0db..eeb051be4ddf594907bc10fee9060a3cd066a47e 100644 --- a/fckeditor.admin.inc +++ b/fckeditor.admin.inc @@ -582,7 +582,7 @@ function fckeditor_admin_profile_form($form_state, $profile = NULL) { '#default_value' => !empty($profile->settings['css_path']) ? $profile->settings['css_path'] : "", '#size' => 40, '#maxlength' => 255, - '#description' => t('Enter path to CSS file (Example: "css/editor.css") or a list of css files seperated by a comma (Example: "/themes/garland/style.css,http://example.com/style.css"). Make sure to select "Define css" above.
Available placeholders:
%h - host name (!host).
%t - path to theme (!theme).', array('!host' => base_path(), '!theme' => base_path() . path_to_theme() .'/')) + '#description' => t('Enter path to CSS file (Example: "css/editor.css") or a list of css files separated by a comma (Example: "/themes/garland/style.css,http://example.com/style.css"). Make sure to select "Define css" above.
Available placeholders:
%h - host name (!host).
%t - path to theme (!theme).', array('!host' => base_path(), '!theme' => base_path() . path_to_theme() .'/')) ); $form['css']['css_style'] = array( @@ -969,7 +969,7 @@ function fckeditor_admin_global_profile_form($form_state, $mode = 'add') { '#default_value' => $current_private_dir, '#size' => 40, '#maxlength' => 255, - '#description' => t('The path relative to the location of the private directory where FCKeditor should store uploaded files.') .'
'. t('Warning: FCKeditor does not implement any kind of access protection on files available in this location. All files stored in the directory defined above might be accessible by unathenticated users if there is no information about the file in the Drupal\'s database.') .'
'. t('System path to the private folder is: !system_path.', array('!system_path' => realpath(file_directory_path()) . DIRECTORY_SEPARATOR)) .'
'. t('Available wildcard characters:
%u - User ID.') .'
'. t('Current path: !path', array('!path' => $current_private_dir .' ('. file_create_path($current_private_dir) .')')), + '#description' => t('The path relative to the location of the private directory where FCKeditor should store uploaded files.') .'
'. t('Warning: FCKeditor does not implement any kind of access protection on files available in this location. All files stored in the directory defined above might be accessible by unauthenticated users if there is no information about the file in the Drupal\'s database.') .'
'. t('System path to the private folder is: !system_path.', array('!system_path' => realpath(file_directory_path()) . DIRECTORY_SEPARATOR)) .'
'. t('Available wildcard characters:
%u - User ID.') .'
'. t('Current path: !path', array('!path' => $current_private_dir .' ('. file_create_path($current_private_dir) .')')), ); } diff --git a/fckeditor.help.inc b/fckeditor.help.inc index 7bc329922d31ef5d4b78c1dff153febcfe2fad6f..78fa00218bbb7b1b59770a4052759aa05c9ee7f9 100644 --- a/fckeditor.help.inc +++ b/fckeditor.help.inc @@ -112,7 +112,7 @@ function fckeditor_help_delegate($path, $arg) { $output .= ' '. t('To enable file browsing you need to edit the connector configuration file in your fckeditor module directory, the file should be in %config.', array('%config' => base_path() . drupal_get_path('module', 'fckeditor') ."/fckeditor/editor/filemanager/connectors/php/config.php")); $output .= ' '. t('In this file you will need to enable the file browser by adding one line that includes a file with the special authentication function for Drupal ("filemanager.config.php").') .'
'. t('Add this code:
!code1
straight below this line:
!code2
The config.php file also holds some other important settings, please take a look at it and adjust it to your needs (optional).', array('!code1' => ' require_once \'../../../../../filemanager.config.php\';', '!code2' => " \$Config['UserFilesAbsolutePath'] = '' ;")); $output .= ''; - $output .= '
  • '. t('Locate file named "settings.php" inside your drupal directory (usually "sites/default/settings.php") and set $cookie_domain variable to the appropiate domain (remember to uncomment that line). If you not do this, FCKeditor will claim that file browser is disabled.') .'
  • '; + $output .= '
  • '. t('Locate file named "settings.php" inside your drupal directory (usually "sites/default/settings.php") and set $cookie_domain variable to the appropriate domain (remember to uncomment that line). If you not do this, FCKeditor will claim that file browser is disabled.') .'
  • '; $output .= '
  • '. t('Enabling file uploads is a security risk. That\'s why you have to grant a separate permission to enable the file browser to certain groups (assign the "allow fckeditor file uploads" permissions).', array('!link' => url('admin/user/permissions'))) .'
  • '; $output .= '
  • '. t('Lastly, adjust the "File browser settings" for each profile: set "File browser type" to "Built-in filebrowser".', array('!profile' => url('admin/settings/fckeditor'))) .'
  • '; $output .= '';