|
@@ -231,14 +231,22 @@ function get_course_data_by_session($from, $number_of_items, $column, $direction
|
|
|
function modify_filter($code)
|
|
|
{
|
|
|
$icourse = api_get_course_info($code);
|
|
|
+
|
|
|
return
|
|
|
- '<a href="course_information.php?code='.$code.'">'.Display::return_icon('synthese_view.gif', get_lang('Info')).'</a> '.
|
|
|
- //'<a href="../course_home/course_home.php?cidReq='.$code.'">'.Display::return_icon('course_home.gif', get_lang('CourseHomepage')).'</a> '. // This is not the preferable way to go to the homepage.
|
|
|
- '<a href="'.api_get_path(WEB_COURSE_PATH).$icourse['path'].'/index.php">'.Display::return_icon('course_home.gif', get_lang('CourseHomepage')).'</a> '.
|
|
|
- '<a href="../tracking/courseLog.php?cidReq='.$code.'">'.Display::return_icon('statistics.gif', get_lang('Tracking')).'</a> '.
|
|
|
- '<a href="course_edit.php?id='.$icourse['real_id'].'">'.Display::return_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL).'</a> '.
|
|
|
- '<a href="../coursecopy/backup.php?cidReq='.$code.'">'.Display::return_icon('backup.gif', get_lang('CreateBackup')).'</a> '.
|
|
|
- '<a href="course_list.php?delete_course='.$code.'" onclick="javascript: if (!confirm('."'".addslashes(api_htmlentities(get_lang('ConfirmYourChoice'), ENT_QUOTES))."'".')) return false;">'.Display::return_icon('delete.png', get_lang('Delete'), array(), ICON_SIZE_SMALL).'</a>';
|
|
|
+ '<a href="course_information.php?code='.$code.'">'.
|
|
|
+ Display::return_icon('synthese_view.gif', get_lang('Info')).'</a> '.
|
|
|
+ //'<a href="../course_home/course_home.php?cidReq='.$code.'">'.
|
|
|
+ //Display::return_icon('course_home.gif', get_lang('CourseHomepage')).'</a> '. // This is not the preferable way to go to the homepage.
|
|
|
+ '<a href="'.api_get_path(WEB_COURSE_PATH).$icourse['path'].'/index.php">'.
|
|
|
+ Display::return_icon('course_home.gif', get_lang('CourseHomepage')).'</a> '.
|
|
|
+ '<a href="../tracking/courseLog.php?cidReq='.$code.'">'.
|
|
|
+ Display::return_icon('statistics.gif', get_lang('Tracking')).'</a> '.
|
|
|
+ '<a href="course_edit.php?id='.$icourse['real_id'].'">'.
|
|
|
+ Display::return_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL).'</a> '.
|
|
|
+ '<a href="../coursecopy/create_backup.php?cidReq='.$code.'">'.
|
|
|
+ Display::return_icon('backup.gif', get_lang('CreateBackup')).'</a> '.
|
|
|
+ '<a href="course_list.php?delete_course='.$code.'" onclick="javascript: if (!confirm('."'".addslashes(api_htmlentities(get_lang('ConfirmYourChoice'), ENT_QUOTES))."'".')) return false;">'.
|
|
|
+ Display::return_icon('delete.png', get_lang('Delete'), array(), ICON_SIZE_SMALL).'</a>';
|
|
|
}
|
|
|
|
|
|
/**
|