diff --git a/phpgwapi/js/tinymce/jscripts/tiny_mce/plugins/filemanager/InsertFile/files.php b/phpgwapi/js/tinymce/jscripts/tiny_mce/plugins/filemanager/InsertFile/files.php index 6f7bcbe69b..25bb16b336 100644 --- a/phpgwapi/js/tinymce/jscripts/tiny_mce/plugins/filemanager/InsertFile/files.php +++ b/phpgwapi/js/tinymce/jscripts/tiny_mce/plugins/filemanager/InsertFile/files.php @@ -488,7 +488,7 @@ $view = new $classname; $params['parsed_time'] = $parsed_time = parse_time($time); $params['folderNb'] = $folderNb; $folders_body .= $view->folder_item($params); - $folderJSArray .= "['images/ext/folder_small.gif', '".sanitize2($entry)."', '".$MY_MESSAGES['folder']."', '".$parsed_time."'],\n"; + $folderJSArray .= "['". $GLOBALS['egw_info']['server']['webserver_url']. '/phpgwapi/templates/default/images/mime/folder_small.gif'. "', '".sanitize2($entry)."', '".$MY_MESSAGES['folder']."', '".$parsed_time."'],\n"; $folderNb++; } else { $entries_cnt++; diff --git a/phpgwapi/js/tinymce/jscripts/tiny_mce/plugins/filemanager/InsertFile/view_text.php b/phpgwapi/js/tinymce/jscripts/tiny_mce/plugins/filemanager/InsertFile/view_text.php index d07c53c37c..b8da2a7697 100644 --- a/phpgwapi/js/tinymce/jscripts/tiny_mce/plugins/filemanager/InsertFile/view_text.php +++ b/phpgwapi/js/tinymce/jscripts/tiny_mce/plugins/filemanager/InsertFile/view_text.php @@ -16,7 +16,7 @@ class view_text { function folder_item($params) { return '