diff --git a/backup/cc/entities.class.php b/backup/cc/entities.class.php index 625d390bc3b26..e0737fdca1183 100644 --- a/backup/cc/entities.class.php +++ b/backup/cc/entities.class.php @@ -262,14 +262,14 @@ protected function get_all_files () { if (!empty($labels) && ($labels->length > 0)) { $tname = 'course_files'; $dpath = cc2moodle::$path_to_manifest_folder . DIRECTORY_SEPARATOR . $tname; - $rfpath = 'folder.gif'; + $rfpath = 'files.gif'; $fpath = $dpath . DIRECTORY_SEPARATOR . $rfpath; if (!file_exists($dpath)) { mkdir($dpath); } //copy the folder.gif file - $folder_gif = "{$CFG->dirroot}/pix/f/folder.gif"; + $folder_gif = "{$CFG->dirroot}/pix/i/files.gif"; copy($folder_gif, $fpath); $all_files[] = $rfpath; } diff --git a/backup/cc/entities11.class.php b/backup/cc/entities11.class.php index 9af9f3c89c0d5..e9873da72a604 100644 --- a/backup/cc/entities11.class.php +++ b/backup/cc/entities11.class.php @@ -62,13 +62,13 @@ protected function get_all_files () { if (!empty($labels) && ($labels->length > 0)) { $tname = 'course_files'; $dpath = cc2moodle::$path_to_manifest_folder . DIRECTORY_SEPARATOR . $tname; - $rfpath = 'folder.gif'; - $fpath = $dpath . DIRECTORY_SEPARATOR . 'folder.gif'; + $rfpath = 'files.gif'; + $fpath = $dpath . DIRECTORY_SEPARATOR . 'files.gif'; if (!file_exists($dpath)) { mkdir($dpath); } //copy the folder.gif file - $folder_gif = "{$CFG->dirroot}/pix/f/folder.gif"; + $folder_gif = "{$CFG->dirroot}/pix/i/files.gif"; copy($folder_gif, $fpath); $all_files[] = $rfpath; } diff --git a/backup/cc/entity.label.class.php b/backup/cc/entity.label.class.php index 6c27bf2b27b12..e8dfe82efcb14 100644 --- a/backup/cc/entity.label.class.php +++ b/backup/cc/entity.label.class.php @@ -52,7 +52,7 @@ private function create_node_course_modules_mod_label ($sheet_mod_label, $instan '[#date_now#]'); $title = isset($instance['title']) && !empty($instance['title']) ? $instance['title'] : 'Untitled'; - $content = "\"Folder\" {$title}"; + $content = "\"Folder\" {$title}"; $replace_values = array($instance['instance'], self::safexml($title), self::safexml($content),