|
|
@ -1950,23 +1950,31 @@ class learnpath |
|
|
|
if(empty($idBar)){ |
|
|
|
if(empty($idBar)){ |
|
|
|
$idBar='control-top'; |
|
|
|
$idBar='control-top'; |
|
|
|
} |
|
|
|
} |
|
|
|
if(empty($display)){ |
|
|
|
/* if(empty($display)){ |
|
|
|
$display='display:block'; |
|
|
|
$display='display:block'; |
|
|
|
} |
|
|
|
} */ |
|
|
|
$navbar = null; |
|
|
|
$navbar = null; |
|
|
|
$lp_id = $this->lp_id; |
|
|
|
$lp_id = $this->lp_id; |
|
|
|
$mycurrentitemid = $this->get_current_item_id(); |
|
|
|
$mycurrentitemid = $this->get_current_item_id(); |
|
|
|
|
|
|
|
|
|
|
|
if ($this->mode == 'fullscreen') { |
|
|
|
if ($this->mode == 'fullscreen') { |
|
|
|
$navbar = ' |
|
|
|
$navbar = ' |
|
|
|
<div id="'.$idBar.'" class="buttons well" style="'.$display.'"> |
|
|
|
<span id="'.$idBar.'" class="buttons"> |
|
|
|
<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 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"> |
|
|
|
<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> |
|
|
|
<span class="fa fa-info"></span><span class="sr-only">' . get_lang('Reporting') . '</span> |
|
|
|
<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> |
|
|
|
<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> |
|
|
|
<a class="icon-toolbar" id="scorm-previous" href="#" onclick="switch_item(' . $mycurrentitemid . ',\'previous\');return false;" title="previous"> |
|
|
|
</div>'; |
|
|
|
<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 = ' |
|
|
|
$navbar = ' |
|
|
|
<span id="'.$idBar.'" class="buttons text-right"> |
|
|
|
<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"> |
|
|
|
<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"> |
|
|
|