@ -128,8 +128,10 @@ function modify_filter($code,$url_params,$row)
global $charset;
global $charset;
return
return
'< a href = "course_information.php?code='.$code.'" > '.Display::return_icon('synthese_view.gif', get_lang('Info')).'< / 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.
// This is not the preferable way to go to the homepage. But for the moment the only one because the directory is not in the $row of the sortable table and
'< a href = "'.api_get_path(WEB_COURSE_PATH).$row[8].'/index.php" > '.Display::return_icon('course_home.gif', get_lang('CourseHomepage')).'< / a > '.
// visual code or code is not necessarily identical to $code
'< a href = "../course_home/course_home.php?cidReq='.$code.'" > '.Display::return_icon('course_home.gif', get_lang('CourseHomepage')).'< / a > '.
//'< a href = "'.api_get_path(WEB_COURSE_PATH).$row[11].'/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 = "../tracking/courseLog.php?cidReq='.$code.'" > '.Display::return_icon('statistics.gif', get_lang('Tracking')).'< / a > '.
'< a href = "course_edit.php?course_code='.$code.'" > '.Display::return_icon('edit.gif', get_lang('Edit')).'< / a > '.
'< a href = "course_edit.php?course_code='.$code.'" > '.Display::return_icon('edit.gif', get_lang('Edit')).'< / a > '.
'< a href = "course_list.php?delete_course='.$code.'" onclick = "javascript:if(!confirm('." ' " . addslashes ( api_htmlentities ( get_lang ( " ConfirmYourChoice " ) , ENT_QUOTES , $ charset ) ) . " ' " . ' ) ) return false ; " > '.Display::return_icon('delete.gif', get_lang('Delete')).'< / a > '.
'< a href = "course_list.php?delete_course='.$code.'" onclick = "javascript:if(!confirm('." ' " . addslashes ( api_htmlentities ( get_lang ( " ConfirmYourChoice " ) , ENT_QUOTES , $ charset ) ) . " ' " . ' ) ) return false ; " > '.Display::return_icon('delete.gif', get_lang('Delete')).'< / a > '.