|
|
|
@ -2246,7 +2246,7 @@ class learnpath { |
|
|
|
|
//if(empty($parent)){$parent = $this->ordered_items[$this->items[$this->current]->get_previous_index()];} |
|
|
|
|
$html .= '<div class="inner_lp_toc">'."\n" ; |
|
|
|
|
if($_SESSION["is_courseAdmin"]==1){ |
|
|
|
|
$html.="<a href='lp_controller.php?cidReq=".$_SESSION['_cid']."&action=build&lp_id=".$this->lp_id."' style='font-size: 11px' target='_parent'>".mb_convert_encoding(get_lang("Build"),$this->encoding)."</a> <a style='font-size: 11px' href='lp_controller.php?cidReq=".$_SESSION['_cid']."&action=admin_view&lp_id=".$this->lp_id."' target='_parent'>".mb_convert_encoding(get_lang("BasicOverview"),$this->encoding)."</a> ".mb_convert_encoding(get_lang("Display"),$this->encoding)."<br><br>"; |
|
|
|
|
$html.="<a href='lp_controller.php?cidReq=".$_SESSION['_cid']."&action=build&lp_id=".$this->lp_id."' style='font-size: 11px' target='_parent'>".mb_convert_encoding(get_lang("Build"),$this->encoding)."</a>|<a style='font-size: 11px' href='lp_controller.php?cidReq=".$_SESSION['_cid']."&action=admin_view&lp_id=".$this->lp_id."' target='_parent'>".mb_convert_encoding(get_lang("BasicOverview"),$this->encoding)."</a>|".mb_convert_encoding(get_lang("Display"),$this->encoding)."<br><br>"; |
|
|
|
|
} |
|
|
|
|
// " onchange=\"javascript:document.getElementById('toc_$parent').focus();\">\n"; |
|
|
|
|
require_once('resourcelinker.inc.php'); |
|
|
|
@ -3605,7 +3605,7 @@ class learnpath { |
|
|
|
|
unset($this->arrMenu); |
|
|
|
|
|
|
|
|
|
if(api_is_allowed_to_edit()) |
|
|
|
|
$return .= '<p><a href="' .api_get_self(). '?cidReq=' . $_GET['cidReq'] . '&action=build&lp_id=' . $this->lp_id . '">'.get_lang("Advanced").'</a> '.get_lang("BasicOverview").' <a href="lp_controller.php?cidReq='.$_GET['cidReq'].'&action=view&lp_id='.$this->lp_id.'">'.get_lang("Display").'</a></p>'; |
|
|
|
|
$return .= '<p><a href="' .api_get_self(). '?cidReq=' . $_GET['cidReq'] . '&action=build&lp_id=' . $this->lp_id . '">'.get_lang("Advanced").'</a>|'.get_lang("BasicOverview").'|<a href="lp_controller.php?cidReq='.$_GET['cidReq'].'&action=view&lp_id='.$this->lp_id.'">'.get_lang("Display").'</a></p>'; |
|
|
|
|
|
|
|
|
|
$return .= '<table class="data_table">' . "\n"; |
|
|
|
|
|
|
|
|
|