|| (isset($_current_user) && $_current_user->isAuthor($_course_id))) {\r
\r
$tool_shortcuts[] = array(\r
- 'title' => _AT('export_content'), \r
- 'url' => $_base_href . 'home/imscc/ims_export.php?_cid='.$content_row['content_id'],\r
- 'icon' => $_base_href . 'images/download.png');\r
+ 'title' => _AT('export_content_in_cp'), \r
+ 'url' => $_base_href . 'home/ims/ims_export.php?_cid='.$content_row['content_id'],\r
+ 'icon' => $_base_href . 'themes/'.$_SESSION['prefs']['PREF_THEME'].'/images/export.png');\r
+ $tool_shortcuts[] = array(\r
+ 'title' => _AT('export_content_in_cc'), \r
+ 'url' => $_base_href . 'home/imscc/ims_export.php?_cid='.$content_row['content_id'].'&to_a4a=1',\r
+ 'icon' => $_base_href . 'themes/'.$_SESSION['prefs']['PREF_THEME'].'/images/export_cc.png');\r
}\r
\r
if (isset($_current_user) && $_current_user->isAuthor($_course_id)) {\r
foreach($resource['resource_type'][$uri] as $type_id){
$orig_access_mode[] = $this->getResourceNameById($type_id);
$savant->assign('orig_access_mode', $orig_access_mode);
- $xml_array[$id.' to '.$uri] = $savant->fetch(TR_INCLUDE_PATH.'classes/A4a/A4a.tmpl.php');
+ $xml_array[$id.' to '.$uri][] = $savant->fetch(TR_INCLUDE_PATH.'classes/A4a/A4a.tmpl.php');
}
}
} else {