From 9518ee065d7bce702edd5af8ea60bd9d2067e109 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Tue, 10 Dec 2013 17:06:14 +0100 Subject: [PATCH] Fixing js/html errors see #6861 --- .../ajaxfilemanager/ajax_image_save.php | 3 - .../ajaxfilemanager/ajaxfilemanager.php | 110 ++++++------------ main/inc/lib/fckeditor/fckeditor.php | 2 +- 3 files changed, 36 insertions(+), 79 deletions(-) diff --git a/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/ajax_image_save.php b/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/ajax_image_save.php index 879cf0dcd5..d7356d84e8 100755 --- a/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/ajax_image_save.php +++ b/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/ajax_image_save.php @@ -168,6 +168,3 @@ if (isset($image) && is_object($image)) { echo $info; echo ",history:".(isset($history) && is_object($history) ? ($history->getNumRestorable()) : 0).""; echo "}"; - - -?> \ No newline at end of file diff --git a/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/ajaxfilemanager.php b/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/ajaxfilemanager.php index 7cd8258f03..750ddc4433 100644 --- a/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/ajaxfilemanager.php +++ b/main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/ajaxfilemanager.php @@ -55,8 +55,8 @@ if (!empty($_GET['view'])) { ?> - + + Ajax File Manager @@ -89,7 +89,7 @@ if (!empty($_GET['view'])) { var paths = {'root': '', 'root_title': ''}; - var shared_folder = ''; + var shared_folder = ''; - < - !--// problem does not refresh, does not synchronize with javascript --> var shared_folder_session = ''; - - < - !--// problem does not refresh, does not synchronize with javascript --> var shared_user_folder = ''; - var parentFolder = {}; @@ -159,8 +150,7 @@ if (!empty($_GET['view'])) { var warningCopyPaste = ''; var warningDel = ''; var warningNotDocSelected = ''; - //var noFileSelected = ' - ';// Chamilo + //var noFileSelected = '';// Chamilo var noFileSelected = '';// Chamilo var unselectAllText = ''; var selectAllText = ''; @@ -224,11 +214,9 @@ if (!empty($_GET['view'])) { - + - + @@ -243,7 +231,6 @@ if (!empty($_GET['view'])) {
-
" >   
+ ?> +
@@ -330,10 +307,8 @@ if (!empty($_GET['view'])) { if (CONFIG_LOAD_DOC_LATTER) { $currentPath = getCurrentFolderPath(); ?> -