|
|
|
@ -2685,18 +2685,18 @@ class learnpath { |
|
|
|
|
if ($this->get_lp_session_id() == api_get_session_id()) { |
|
|
|
|
$html .= '<div id="actions_lp" class="actions_lp">'; |
|
|
|
|
if ($display_action_links_with_icons) { |
|
|
|
|
$html .= '<div style = "text-align:center;">'; |
|
|
|
|
$html .= '<div class = "btn-group">'; |
|
|
|
|
$html .= "<a href='lp_controller.php?" . api_get_cidreq() . "&action=build&lp_id=" . $this->lp_id . "' target='_parent'>" . Display :: return_icon('build_learnpath.png', get_lang('Build'),'',ICON_SIZE_MEDIUM)."</a>"; |
|
|
|
|
$html .= "<a href='lp_controller.php?" . api_get_cidreq() . "&action=admin_view&lp_id=" . $this->lp_id . "' target='_parent'>" . Display :: return_icon('move_learnpath.png', get_lang('BasicOverview'),'',ICON_SIZE_MEDIUM)."</a>"; |
|
|
|
|
$html .= '<span>' . Display :: return_icon('view_remove_na.png', get_lang('Display'),'',ICON_SIZE_MEDIUM).'</span><br />'; |
|
|
|
|
//$html .= '<span>' . Display :: return_icon('view_remove_na.png', get_lang('Display'),'',ICON_SIZE_MEDIUM).'</span><br />'; |
|
|
|
|
$html .= '<a href="lp_controller.php?' . api_get_cidreq() . '">'. get_lang('ReturnToLPList') . '</a>'; |
|
|
|
|
$html .= '</div>'; |
|
|
|
|
} else { |
|
|
|
|
$html .= '<div style = "text-align:center;">'; |
|
|
|
|
$html .= "<a href='lp_controller.php?" . api_get_cidreq() . "&gradebook=$gradebook&action=build&lp_id=" . $this->lp_id . "' target='_parent'>" . get_lang('Build') . "</a>"; |
|
|
|
|
$html .= "<a href='lp_controller.php?" . api_get_cidreq() . "&action=admin_view&lp_id=" . $this->lp_id . "' target='_parent'>" . get_lang('BasicOverview') . "</a>"; |
|
|
|
|
$html .= '<span><b>' . get_lang('Display') . '</b></span><br />'; |
|
|
|
|
$html .= '<a href="lp_controller.php?' . api_get_cidreq() . '">'. get_lang('ReturnToLPList') . '</a>'; |
|
|
|
|
$html .= '<div class="btn-group">'; |
|
|
|
|
$html .= "<a class='btn' href='lp_controller.php?" . api_get_cidreq() . "&gradebook=$gradebook&action=build&lp_id=" . $this->lp_id . "' target='_parent'>" . get_lang('Build') . "</a>"; |
|
|
|
|
$html .= "<a class='btn' href='lp_controller.php?" . api_get_cidreq() . "&action=admin_view&lp_id=" . $this->lp_id . "' target='_parent'>" . get_lang('BasicOverview') . "</a>"; |
|
|
|
|
//$html .= '<span><b>' . get_lang('Display') . '</b></span><br />'; |
|
|
|
|
$html .= '<a class="btn" href="lp_controller.php?'.api_get_cidreq().'">'.get_lang('Back').'</a>'; |
|
|
|
|
$html .= '</div>'; |
|
|
|
|
} |
|
|
|
|
$html .= '</div>'; |
|
|
|
|