[svn r12839] Added hotpotatoes form

Updated comments
skala
Yannick Warnier 19 years ago
parent 6edc0275f5
commit 2b4a61e6f0
  1. 17
      main/newscorm/lp_add_item.php

@ -25,12 +25,13 @@
*/ */
/** /**
============================================================================== ==============================================================================
* This is a learning path creation and player tool in Dokeos - previously learnpath_handler.php * This is a learning path creation and player tool in Dokeos - previously
* learnpath_handler.php
* *
* @author Patrick Cool * @author Patrick Cool
* @author Denes Nagy * @author Denes Nagy
* @author Roan Embrechts, refactoring and code cleaning * @author Roan Embrechts, refactoring and code cleaning
* @author Yannick Warnier <ywarnier@beeznest.org> - cleaning and update for new SCORM tool * @author Yannick Warnier <ywarnier@beeznest.org> - cleaning and update
* @package dokeos.learnpath * @package dokeos.learnpath
============================================================================== ==============================================================================
*/ */
@ -130,12 +131,6 @@ $therow=Database::fetch_array($result);
SHOWING THE ADMIN TOOLS SHOWING THE ADMIN TOOLS
==================================================*/ ==================================================*/
/*==================================================
prerequisites setting end
==================================================*/
$interbreadcrumb[]= array ("url"=>"lp_controller.php?action=list", "name"=> get_lang("_learning_path")); $interbreadcrumb[]= array ("url"=>"lp_controller.php?action=list", "name"=> get_lang("_learning_path"));
$interbreadcrumb[]= array ("url"=>api_get_self()."?action=build&lp_id=$learnpath_id", "name" => stripslashes("{$therow['name']}")); $interbreadcrumb[]= array ("url"=>api_get_self()."?action=build&lp_id=$learnpath_id", "name" => stripslashes("{$therow['name']}"));
@ -350,6 +345,12 @@ echo '<table cellpadding="0" cellspacing="0" class="lp_build">';
break; break;
case 'hotpotatoes':
echo $_SESSION['oLP']->display_hotpotatoes_form('add', 0, $_GET['file']);
break;
case 'quiz': case 'quiz':
echo $_SESSION['oLP']->display_quiz_form('add', 0, $_GET['file']); echo $_SESSION['oLP']->display_quiz_form('add', 0, $_GET['file']);

Loading…
Cancel
Save