New 'libraries' folder in root instalation directory

This commit is contained in:
Manuel Cillero 2017-08-08 18:24:12 +02:00
parent 05b6a91b0c
commit 006992b900
2267 changed files with 50 additions and 65 deletions

View file

@ -45,7 +45,7 @@ function ckeditor_admin_main() {
'Checking for !filename or !file.',
array(
'!filename' => '<code>' . $ckconfig_file . '</code>',
'!file' => '<code>sites/all/libraries/ckeditor/ckeditor.js</code>'
'!file' => '<code>libraries/ckeditor/ckeditor.js</code>'
)
));
drupal_set_message(t(
@ -56,8 +56,8 @@ function ckeditor_admin_main() {
'!ckeditorpath' => '<code>' . $editor_path . '</code>',
'!ckeditorsubdir' => '<code>' . $editor_path . '/editor</code>',
'!ckeditorfile' => '<code>' . $editor_path . '/ckeditor.js</code>',
'!ckeditorlibrary' => '<code>sites/all/libraries/ckeditor/ckeditor.js</code>',
'!librarypath' => '<code>sites/all/libraries/ckeditor</code>'
'!ckeditorlibrary' => '<code>libraries/ckeditor/ckeditor.js</code>',
'!librarypath' => '<code>libraries/ckeditor</code>'
)
), 'error');
drupal_set_message(t(
@ -1614,7 +1614,7 @@ function ckeditor_admin_global_profile_form($form_state, $mode = 'add') {
'!path' => '<code>' . ckeditor_path(FALSE) . '</code>',
'!base' => '<code>' . base_path() . '</code>',
'!files' => '<code>' . base_path() . $module_drupal_path . '</code>',
'!library' => '<code>' . base_path() . 'sites/all/libraries/</code>'
'!library' => '<code>' . base_path() . 'libraries/</code>'
)
),
'#required' => TRUE
@ -1656,7 +1656,7 @@ function ckeditor_admin_global_profile_form($form_state, $mode = 'add') {
'!l' => '<br /><code>%l</code>',
'!base' => '<code>' . base_path() . '</code>',
'!files' => '<code>' . base_path() . $module_drupal_path . '</code>' ,
'!library' => '<code>' . base_path() . 'sites/all/libraries/</code>'
'!library' => '<code>' . base_path() . 'libraries/</code>'
)
) .
'<br />' .
@ -1708,7 +1708,7 @@ function ckeditor_admin_global_profile_form($form_state, $mode = 'add') {
'!l' => '<br /><code>%l</code>',
'!base' => '<code>' . base_path() . '</code>',
'!files' => '<code>' . base_path() . $module_drupal_path . '</code>',
'!library' => '<code>' . base_path() . 'sites/all/libraries/</code>'
'!library' => '<code>' . base_path() . 'libraries/</code>'
)
) .
'<br />' .
@ -2322,4 +2322,4 @@ CKEDITOR.replace('editor', {
$html .= "</body>";
$html .= "</html>";
echo $html;
}
}