[svn r17049] Hide debug icon for learning paths when not platform admin or test server mode (see FS#3281) by cvargas

skala
Yannick Warnier 17 years ago
parent 476934056e
commit 62cdc96b7b
  1. 2
      main/newscorm/lp_list.php

@ -343,7 +343,7 @@ if (is_array($flat_list))
}else{
$dsp_build = '<img src="../img/wizard_gray.gif" border="0" title="'.get_lang("Build").'">&nbsp;';
}
if($test_mode == 'test' or api_is_course_admin())
if($test_mode == 'test' or api_is_platform_admin())
{
if($details['lp_scorm_debug']==1){
$dsp_debug = '<a href="lp_controller.php?'.api_get_cidreq().'&action=switch_scorm_debug&lp_id='.$id.'">' .

Loading…
Cancel
Save