You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
708 B
35 lines
708 B
<?php //$id: $
|
|
/**
|
|
* Script that acts like a controller for all SCORM-related queries
|
|
* @package dokeos.learnpath.scorm
|
|
* @author Yannick Warnier <ywarnier@beeznest.org>
|
|
*/
|
|
/**
|
|
* Script
|
|
*/
|
|
$my_action = (!empty($_REQUEST['action'])?$_REQUEST['action']:'');
|
|
if(empty($my_action)){
|
|
}else{
|
|
switch ($my_action){
|
|
case 'exportpath':
|
|
case 'exportscorm':
|
|
case 'deletepath':
|
|
case 'publishpath':
|
|
case 'editpath':
|
|
case 'add':
|
|
case 'editscorm':
|
|
case 'adminaction':
|
|
include('scorm_admin.php');
|
|
break;
|
|
case 'view':
|
|
case 'next':
|
|
case 'previous':
|
|
include('scorm_view.php');
|
|
break;
|
|
default:
|
|
include('scorm_view.php');
|
|
break;
|
|
}
|
|
exit();
|
|
}
|
|
?>
|
|
|