skala
cfasanando 15 years ago
commit 896c6dddf8
  1. 2
      main/mySpace/myStudents.php
  2. 12
      main/newscorm/learnpath.class.php

@ -210,7 +210,7 @@ if (!empty ($_GET['student'])) {
// Actions bar
echo '<div class="actions">';
echo '<a href="javascript: void(0);" onclick="javascript: window.print();"><img src="../img/printmgr.gif">&nbsp;' . get_lang('Print') . '</a>';
echo '<a href="' . api_get_self() . '?' . Security :: remove_XSS($_SERVER['QUERY_STRING']) . '&export=csv"><img src="../img/excel.gif">&nbsp;' . get_lang('ExportAsCSV') . '</a>';
echo '<a href="' . api_get_self() . '?' . Security :: remove_XSS($_SERVER['QUERY_STRING']) . '&export=csv"><img src="../img/csv.gif">&nbsp;' . get_lang('ExportAsCSV') . '</a>';
if (!empty ($info_user['email'])) {
$send_mail = Display :: return_icon('send_mail.gif', get_lang('SendMail')) . ' ' . Display :: encrypted_mailto_link($info_user['email'], get_lang('SendMail'));
} else {

@ -2760,15 +2760,19 @@ class learnpath {
if ($this->get_lp_session_id()==api_get_session_id()) {
$html .= '<div class="actions_lp">';
if ($display_action_links_with_icons) {
$html .= '<a href="lp_controller.php?' . api_get_cidreq() . '">'. get_lang('CourseList') . '</a>';
$html .= '<div style = "text-align:center;">';
$html .= "<a href='lp_controller.php?" . api_get_cidreq() . "&amp;action=build&amp;lp_id=" . $this->lp_id . "' target='_parent'>" . Display :: return_icon('learnpath_build.gif', get_lang('Build')) . ' ' . get_lang('Build') . "</a>";
$html .= "<a href='lp_controller.php?" . api_get_cidreq() . "&amp;action=admin_view&amp;lp_id=" . $this->lp_id . "' target='_parent'>" . Display :: return_icon('learnpath_organize.gif', get_lang('BasicOverview')) . ' ' . get_lang('BasicOverview') . "</a>";
$html .= '<span>' . Display :: return_icon('learnpath_view_na.gif', get_lang("Display")) . ' <b>' . get_lang("Display") . '</b></span>';
$html .= '<span>' . Display :: return_icon('learnpath_view_na.gif', get_lang("Display")) . ' <b>' . get_lang("Display") . '</b></span><br />';
$html .= '<a href="lp_controller.php?' . api_get_cidreq() . '">'. get_lang('ReturnToLPList') . '</a>';
$html .= '</div>';
} else {
$html .= '<a href="lp_controller.php?' . api_get_cidreq() . '">'. get_lang('CourseList') . '</a>';
$html .= '<div style = "text-align:center;">';
$html .= "<a href='lp_controller.php?" . api_get_cidreq() . "&amp;gradebook=$gradebook&amp;action=build&amp;lp_id=" . $this->lp_id . "' target='_parent'>" . get_lang('Build') . "</a>";
$html .= "<a href='lp_controller.php?" . api_get_cidreq() . "&amp;action=admin_view&amp;lp_id=" . $this->lp_id . "' target='_parent'>" . get_lang('BasicOverview') . "</a>";
$html .= '<span><b>' . get_lang('Display') . '</b></span>';
$html .= '<span><b>' . get_lang('Display') . '</b></span><br />';
$html .= '<a href="lp_controller.php?' . api_get_cidreq() . '">'. get_lang('ReturnToLPList') . '</a>';
$html .= '</div>';
}
$html .= '</div>';
}

Loading…
Cancel
Save