Removing obsolete references to readme files in source code
This commit is contained in:
parent
3bcd36d5ab
commit
37c335e3cc
31 changed files with 52 additions and 94 deletions
|
@ -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>',
|
||||
|
|
|
@ -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).',
|
||||
|
|
Reference in a new issue