main/mySpace/course.php 1 location
|
@@ 103-107 (lines=5) @@
|
| 100 |
|
Display::return_icon('session.png', get_lang('Sessions'), array(), ICON_SIZE_MEDIUM), |
| 101 |
|
'session.php' |
| 102 |
|
); |
| 103 |
|
if (api_can_login_as($user_id)) { |
| 104 |
|
$link = '<a href="'.api_get_path(WEB_CODE_PATH).'admin/user_list.php?action=login_as&user_id='.$user_id.'&sec_token='.Security::get_existing_token().'">'. |
| 105 |
|
Display::return_icon('login_as.png', get_lang('LoginAs'), null, ICON_SIZE_MEDIUM).'</a> '; |
| 106 |
|
$menu_items[] = $link; |
| 107 |
|
} |
| 108 |
|
} |
| 109 |
|
|
| 110 |
|
$actionsLeft = $actionsRight = ''; |
main/survey/survey.lib.php 1 location
|
@@ 1983-1988 (lines=6) @@
|
| 1980 |
|
$result = Database::query($sql); |
| 1981 |
|
} |
| 1982 |
|
|
| 1983 |
|
if ($result !== false) { |
| 1984 |
|
$message = get_lang('SurveyUserAnswersHaveBeenRemovedSuccessfully').'<br /> |
| 1985 |
|
<a href="'.api_get_path(WEB_CODE_PATH).'survey/reporting.php?action=userreport&survey_id='.$survey_id.'">'. |
| 1986 |
|
get_lang('GoBack').'</a>'; |
| 1987 |
|
Display::display_confirmation_message($message, false); |
| 1988 |
|
} |
| 1989 |
|
} |
| 1990 |
|
|
| 1991 |
|
/** |
main/mySpace/myStudents.php 1 location
|
@@ 355-358 (lines=4) @@
|
| 352 |
|
echo '<a href="access_details.php?student=' . $student_id . '&course=' . $course_code . '&origin=' . $origin. '&cidReq='.$course_code.'&id_session='.$sessionId.'">'. |
| 353 |
|
Display :: return_icon('statistics.png', get_lang('AccessDetails'),'',ICON_SIZE_MEDIUM).'</a>'; |
| 354 |
|
} |
| 355 |
|
if (api_can_login_as($student_id)) { |
| 356 |
|
echo '<a href="'.api_get_path(WEB_CODE_PATH).'admin/user_list.php?action=login_as&user_id='.$student_id.'&sec_token='.$token.'">'. |
| 357 |
|
Display::return_icon('login_as.png', get_lang('LoginAs'), null, ICON_SIZE_MEDIUM).'</a> '; |
| 358 |
|
} |
| 359 |
|
|
| 360 |
|
echo Display::url( |
| 361 |
|
Display::return_icon('skill-badges.png', get_lang('AssignSkill'), null, ICON_SIZE_MEDIUM), |
main/document/document.php 1 location
|
@@ 1663-1668 (lines=6) @@
|
| 1660 |
|
} |
| 1661 |
|
|
| 1662 |
|
// Create new certificate |
| 1663 |
|
if ($is_certificate_mode) { |
| 1664 |
|
$actionsLeft .= Display::url( |
| 1665 |
|
Display::return_icon('new_certificate.png', get_lang('CreateCertificate'), '', ICON_SIZE_MEDIUM), |
| 1666 |
|
api_get_path(WEB_CODE_PATH).'document/create_document.php?'.api_get_cidreq().'&id='.$document_id.'&certificate=true&selectcat='.$selectcat |
| 1667 |
|
); |
| 1668 |
|
} |
| 1669 |
|
// File upload link |
| 1670 |
|
if ($is_certificate_mode) { |
| 1671 |
|
$actionsLeft .= Display::url( |