[svn r11433] Enabled SCORM export link for dokeos paths

skala
Yannick Warnier 18 years ago
parent d218ae0076
commit a489436036
  1. 8
      main/newscorm/lp_list.php

@ -206,15 +206,15 @@ if (is_array($flat_list))
//export not available for normal lps yet
if($details['lp_type']==1){
$dsp_export = '<td align="center">' .
//"<a href='".$_SERVER['PHP_SELF']."?".api_get_cidreq()."&action=export&lp_id=$id'>" .
"<a href='".$_SERVER['PHP_SELF']."?".api_get_cidreq()."&action=export&lp_id=$id'>" .
"<img src=\"../img/cd_gray.gif\" border=\"0\" title=\"".get_lang('Export')."\">" .
//"</a>" .
"</a>" .
"";
}elseif($details['lp_type']==2){
$dsp_export = '<td align="center">' .
"<a href='".$_SERVER['PHP_SELF']."?".api_get_cidreq()."&action=export&lp_id=$id&export_name=".replace_dangerous_char($name,'strict').".zip'>" .
//"<a href='".$_SERVER['PHP_SELF']."?".api_get_cidreq()."&action=export&lp_id=$id&export_name=".replace_dangerous_char($name,'strict').".zip'>" .
"<img src=\"../img/cd.gif\" border=\"0\" title=\"".get_lang('Export')."\">" .
"</a>" .
//"</a>" .
"";
}else{
$dsp_export = '<td align="center">' .

Loading…
Cancel
Save