|
|
|
@ -1950,23 +1950,31 @@ class learnpath |
|
|
|
|
if(empty($idBar)){ |
|
|
|
|
$idBar='control-top'; |
|
|
|
|
} |
|
|
|
|
if(empty($display)){ |
|
|
|
|
/* if(empty($display)){ |
|
|
|
|
$display='display:block'; |
|
|
|
|
} |
|
|
|
|
} */ |
|
|
|
|
$navbar = null; |
|
|
|
|
$lp_id = $this->lp_id; |
|
|
|
|
$mycurrentitemid = $this->get_current_item_id(); |
|
|
|
|
|
|
|
|
|
if ($this->mode == 'fullscreen') { |
|
|
|
|
$navbar = ' |
|
|
|
|
<div id="'.$idBar.'" class="buttons well" style="'.$display.'"> |
|
|
|
|
<a href="lp_controller.php?action=stats&'.api_get_cidreq(true).'&lp_id='.$lp_id.'" onclick="window.parent.API.save_asset();return true;" target="content_name_blank" title="stats" id="stats_link"><img border="0" src="../img/btn_stats.png" title="' . get_lang('Reporting') . '"></a> |
|
|
|
|
<a id="scorm-previous" href="#" onclick="switch_item(' . $mycurrentitemid . ',\'previous\');return false;" title="previous"><img border="0" src="../img/btn_previous.png" title="' . get_lang('ScormPrevious') . '"></a> |
|
|
|
|
<a id="scorm-next" href="#" onclick="switch_item(' . $mycurrentitemid . ',\'next\');return false;" title="next" ><img border="0" src="../img/btn_next.png" title="' . get_lang('ScormNext') . '"></a>. |
|
|
|
|
<a href="lp_controller.php?action=mode&mode=embedded" target="_top" title="embedded mode"><img border="0" src="../img/view_choose.gif" title="'.get_lang('ScormExitFullScreen').'"></a> |
|
|
|
|
</div>'; |
|
|
|
|
<span id="'.$idBar.'" class="buttons"> |
|
|
|
|
<a class="icon-toolbar" href="lp_controller.php?action=stats&'.api_get_cidreq(true).'&lp_id='.$lp_id.'" onclick="window.parent.API.save_asset();return true;" target="content_name" title="stats" id="stats_link"> |
|
|
|
|
<span class="fa fa-info"></span><span class="sr-only">' . get_lang('Reporting') . '</span> |
|
|
|
|
</a> |
|
|
|
|
<a class="icon-toolbar" id="scorm-previous" href="#" onclick="switch_item(' . $mycurrentitemid . ',\'previous\');return false;" title="previous"> |
|
|
|
|
<span class="fa fa-chevron-left"></span><span class="sr-only">' . get_lang('ScormPrevious') . '</span> |
|
|
|
|
</a> |
|
|
|
|
<a class="icon-toolbar" id="scorm-next" href="#" onclick="switch_item(' . $mycurrentitemid . ',\'next\');return false;" title="next"> |
|
|
|
|
<span class="fa fa-chevron-right"></span><span class="sr-only">' . get_lang('ScormNext') . '</span> |
|
|
|
|
</a> |
|
|
|
|
<a class="icon-toolbar" id="view-embedded" href="lp_controller.php?action=mode&mode=embedded" target="_top" title="embedded mode"> |
|
|
|
|
<span class="fa fa-columns"></span><span class="sr-only">' . get_lang('ScormExitFullScreen') . '</span> |
|
|
|
|
</a> |
|
|
|
|
</span>'; |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
} else { |
|
|
|
|
$navbar = ' |
|
|
|
|
<span id="'.$idBar.'" class="buttons text-right"> |
|
|
|
|
<a class="icon-toolbar" href="lp_controller.php?action=stats&'.api_get_cidreq(true).'&lp_id='.$lp_id.'" onclick="window.parent.API.save_asset();return true;" target="content_name" title="stats" id="stats_link"> |
|
|
|
|