|
|
|
@ -22,6 +22,7 @@ class DisplayGradebook |
|
|
|
|
$links[] = '<a href="'.Category::getUrl().'selectcat='.$selectcat.'">'. |
|
|
|
|
Display::return_icon('back.png', get_lang('Assessment home'), '', ICON_SIZE_MEDIUM) |
|
|
|
|
.'</a>'; |
|
|
|
|
if ('view_result' === $page) { |
|
|
|
|
if ((null != $evalobj->get_course_code()) && !$evalobj->has_results()) { |
|
|
|
|
$links[] = '<a href="gradebook_add_result.php?'.api_get_cidreq().'&selectcat='.$selectcat.'&selecteval='.$evalobj->get_id().'"> |
|
|
|
|
'.Display::return_icon('evaluation_rate.png', get_lang('Grade learners'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
|
|
@ -45,6 +46,7 @@ class DisplayGradebook |
|
|
|
|
} |
|
|
|
|
$links[] = '<a href="'.api_get_self().'?'.api_get_cidreq().'&print=&selecteval='.$evalobj->get_id().'" target="_blank">'. |
|
|
|
|
Display::return_icon('printer.png', get_lang('Print'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
$links[] = '<a href="gradebook_view_result.php?'.api_get_cidreq().'&selecteval='.Security::remove_XSS($_GET['selecteval']).'"> '. |
|
|
|
|
Display::return_icon('back.png', get_lang('Assessment home'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
|
|
@ -118,7 +120,7 @@ class DisplayGradebook |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
echo Display::toolbarAction('grade', $links); |
|
|
|
|
echo Display::toolbarGradeAction($links); |
|
|
|
|
echo $evalinfo; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|