Removing obsolete references to readme files in source code

This commit is contained in:
Manuel Cillero 2017-10-03 23:20:11 +02:00
parent 3bcd36d5ab
commit 37c335e3cc
31 changed files with 52 additions and 94 deletions

View file

@ -424,7 +424,7 @@ function _ckeditor_requirements_ckfinder_config_check($profile_name) {
}
if (!$require_once_found) {
return t('You are using a feature that requires manual integration in the <code>config.php</code> file. Please read the "Installing CKFinder" section in the <code>!readme</code> file carefully and add a <code>require_once ...</code> statement to the <code>%ckfconfig</code> file.', array('%ckfconfig' => $config_path, '!readme' => l(t('README.txt'), $base_url . '/' . drupal_get_path('module', 'ckeditor') . '/README.txt', array('absolute' => TRUE))));
return t('You are using a feature that requires manual integration in the <code>config.php</code> file. Be carefull and add a <code>require_once ...</code> statement to the <code>%ckfconfig</code> file.', array('%ckfconfig' => $config_path));
}
if ($userfiles_absolute_path_line && $force_single_extension_line && (
@ -634,4 +634,4 @@ function ckeditor_update_6102() {
*/
function ckeditor_uninstall() {
drupal_uninstall_schema('ckeditor');
}
}

View file

@ -49,10 +49,9 @@ function ckeditor_admin_main() {
)
));
drupal_set_message(t(
'The CKEditor component is not installed correctly. Please go to the !ckeditorlink in order to download the latest version. After that you must extract the files to the !ckeditorpath or !librarypath directory and make sure that the !ckeditorfile or !ckeditorlibrary file exists. Refer to the !readme file for more information.',
'The CKEditor component is not installed correctly. Please go to the !ckeditorlink in order to download the latest version. After that you must extract the files to the !ckeditorpath or !librarypath directory and make sure that the !ckeditorfile or !ckeditorlibrary file exists.',
array(
'!ckeditorlink' => l(t('CKEditor homepage'), 'http://ckeditor.com/download'),
'!readme' => l(t('README.txt'), drupal_get_path('module', 'ckeditor') . '/README.txt', array('absolute' => TRUE)),
'!ckeditorpath' => '<code>' . $editor_path . '</code>',
'!ckeditorsubdir' => '<code>' . $editor_path . '/editor</code>',
'!ckeditorfile' => '<code>' . $editor_path . '/ckeditor.js</code>',

View file

@ -125,12 +125,7 @@ function ckeditor_help_delegate($path, $arg) {
)
) .
'<br /><code>'. htmlspecialchars('<a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tbody> <th> <tr> <td> <em> <b> <u> <i> <strong> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <embed> <object> <param> <strike> <caption> <iframe>') .'</code><br />';
$output .= t('<strong>Note:</strong> be careful when granting users access to create tags like %iframe. <br />If you are going to use CKEditor with the <strong>Filtered HTML</strong> input format, please read the "Setting up filters" section in the !readme file.',
array(
'!readme' => '<code>' . l('README.txt', drupal_get_path('module', 'ckeditor') .'/README.txt') . '</code>',
'%iframe' => '<iframe>'
)
) .
$output .= t('<strong>Note:</strong> be careful when granting users access to create tags like %iframe.') .
'</li>' .
'<li>'.
t('To have better control over line breaks, you should disable the <strong>%settingname</strong> setting in the chosen filter (recommended).',