[svn r15463] Notices & warnings msgs avoided

skala
Julio Montoya 17 years ago
parent 0bb266440d
commit 8767fc8dcb
  1. 21
      main/exercice/question.class.php
  2. 15
      main/newscorm/lp_controller.php

@ -22,20 +22,20 @@
* File containing the Question class.
* @package dokeos.exercise
* @author Olivier Brouckaert
* @version $Id: question.class.php 14272 2008-02-08 13:02:50Z elixir_inter $
* @version $Id: question.class.php 15463 2008-05-27 16:45:11Z juliomontoya $
*/
if(!class_exists('Question')):
// answer types
define(UNIQUE_ANSWER, 1);
define(MULTIPLE_ANSWER, 2);
define(FILL_IN_BLANKS, 3);
define(MATCHING, 4);
define(FREE_ANSWER, 5);
define(HOT_SPOT, 6);
define(HOT_SPOT_ORDER, 7);
define('UNIQUE_ANSWER', 1);
define('MULTIPLE_ANSWER', 2);
define('FILL_IN_BLANKS', 3);
define('MATCHING', 4);
define('FREE_ANSWER', 5);
define('HOT_SPOT', 6);
define('HOT_SPOT_ORDER', 7);
@ -868,8 +868,5 @@ abstract class Question
}
}
endif;
?>
?>

@ -10,11 +10,14 @@
*/
$debug = 0;
if($debug>0) error_log('New LP -+- Entered lp_controller.php -+-',0);
// name of the language file that needs to be included
if($_GET['action'] == 'export')
{ //only needed on export
$language_file[] = 'hotspot';
$language_file[] = 'exercice';
// name of the language file that needs to be included
if (isset($_GET['action']))
{
if($_GET['action'] == 'export')
{ //only needed on export
$language_file[] = 'hotspot';
$language_file[] = 'exercice';
}
}
$language_file[] = "course_home";
$language_file[] = "scormdocument";
@ -370,7 +373,7 @@ switch($_REQUEST['action'])
require('lp_edit_item.php');
}
else
{
{
require('lp_admin_view.php');
}
}

Loading…
Cancel
Save