Changing headers

skala
Julio Montoya 16 years ago
parent 4a38cddcb4
commit 6af4b9bc50
  1. 27
      main/exercice/addlimits.php
  2. 2
      main/exercice/admin.php
  3. 21
      main/exercice/adminhp.php
  4. 19
      main/exercice/answer_admin.inc.php
  5. 19
      main/exercice/exercice_history.php
  6. 2
      main/exercice/exercise.class.php
  7. 27
      main/exercice/exercise.lib.php
  8. 2
      main/exercice/exercise_show.php
  9. 19
      main/exercice/feedback.php
  10. 21
      main/exercice/fill_blanks.class.php
  11. 4
      main/exercice/hotpotatoes.lib.php
  12. 2
      main/exercice/hotspot_actionscript.as.php
  13. 2
      main/exercice/hotspot_actionscript_admin.as.php
  14. 2
      main/exercice/hotspot_lang_conversion.php
  15. 2
      main/exercice/hotspot_save.inc.php
  16. 19
      main/exercice/savescores.php
  17. 2
      main/exercice/testheaderpage.php
  18. 19
      main/exercice/unique_answer.class.php

@ -1,7 +1,5 @@
<?php
/* For licensing terms, see /license.txt */
/**
* Adding limits
* @package chamilo.exercise
@ -9,26 +7,20 @@
* @version $Id: admin.php 10680 2007-01-11 21:26:23Z pcool $
*/
/*
-----------------------------------------------------------
including the global file
-----------------------------------------------------------
*/
include('../inc/global.inc.php');
require_once '../inc/global.inc.php';
/*
-----------------------------------------------------------
Including necessary files
-----------------------------------------------------------
*/
include('exercise.class.php');
include('question.class.php');
include('answer.class.php');
include_once(api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php');
require_once 'exercise.class.php';
require_once 'question.class.php';
require_once 'answer.class.php';
require_once api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php';
/*
-----------------------------------------------------------
Answer types
-----------------------------------------------------------
*/
define('UNIQUE_ANSWER', 1);
define('MULTIPLE_ANSWER', 2);
@ -38,27 +30,21 @@ define('FREE_ANSWER', 5);
define('MULTIPLE_ANSWER_COMBINATION', 9);
/*
-----------------------------------------------------------
Language
-----------------------------------------------------------
*/
// name of the language file that needs to be included
$language_file='exercice';
/*
-----------------------------------------------------------
section (for the tabs)
-----------------------------------------------------------
*/
$this_section=SECTION_COURSES;
api_protect_course_script();
/*
-----------------------------------------------------------
Table definitions
@todo: use the Database :: get_course_table functions
-----------------------------------------------------------
*/
$TBL_EXERCICE_QUESTION = Database::get_course_table(TABLE_QUIZ_TEST_QUESTION);
$TBL_EXERCICES = Database::get_course_table(TABLE_QUIZ_TEST);
@ -233,5 +219,4 @@ if (isset($_POST['ok'])) {
Database::query($query);
}
}
?>
?>

@ -41,7 +41,7 @@
* - $cancelAnswers : ask to cancel answer modifications
* - $buttonBack : ask to go back to the previous page in answers of type "Fill in blanks"
*
* @package dokeos.exercise
* @package chamilo.exercise
* @author Olivier Brouckaert
* @version $Id: admin.php 21662 2009-06-29 14:55:09Z iflorespaz $
*/

@ -1,26 +1,9 @@
<?php
/*
DOKEOS - elearning and course management software
For a full list of contributors, see documentation/credits.html
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See "documentation/licence.html" more details.
Contact:
Dokeos
Rue des Palais 44 Paleizenstraat
B-1030 Brussels - Belgium
Tel. +32 (2) 211 34 56
*/
/* For licensing terms, see /license.txt */
/**
* HotPotatoes administration.
* @package dokeos.exercise
* @package chamilo.exercise
* @author Istvan Mandak
* @version $Id: adminhp.php 20089 2009-04-24 21:12:54Z cvargas1 $
*/

@ -1,22 +1,5 @@
<?php
/*
DOKEOS - elearning and course management software
For a full list of contributors, see documentation/credits.html
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See "documentation/licence.html" more details.
Contact:
Dokeos
Rue des Palais 44 Paleizenstraat
B-1030 Brussels - Belgium
Tel. +32 (2) 211 34 56
*/
/* For licensing terms, see /license.txt */
/**
* This script allows to manage answers. It is included from the script admin.php

@ -1,22 +1,5 @@
<?php
/*
DOKEOS - elearning and course management software
For a full list of contributors, see documentation/credits.html
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See "documentation/licence.html" more details.
Contact:
Dokeos
Rue du Corbeau, 108
B-1030 Brussels - Belgium
info@dokeos.com
*/
/* For licensing terms, see /license.txt */
/**
* Exercise list: This script shows the list of exercises for administrators and students.

@ -1,5 +1,5 @@
<?php
/* For licensing terms, see /dokeos_license.txt */
/* For licensing terms, see /license.txt */
/**
* Exercise class: This class allows to instantiate an object of type Exercise

@ -1,28 +1,5 @@
<?php // $Id: exercise.lib.php 22247 2009-07-20 15:57:25Z ivantcholakov $
/*
==============================================================================
Dokeos - elearning and course management software
Copyright (c) 2004-2008 Dokeos SPRL
Copyright (c) 2003 Ghent University (UGent)
Copyright (c) 2001 Universite catholique de Louvain (UCL)
Copyright (c) various contributors
For a full list of contributors, see "credits.txt".
The full license can be read in "license.txt".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See the GNU General Public License for more details.
Contact address: Dokeos, rue du Corbeau, 108, B-1030 Brussels, Belgium
Mail: info@dokeos.com
==============================================================================
*/
<?php
/* For licensing terms, see /license.txt */
/**
* Exercise library

@ -5,7 +5,7 @@
* @package chamilo.exercise
* @author Julio Montoya Armas Added switchable fill in blank option added
* @version $Id: exercise_show.php 22256 2009-07-20 17:40:20Z ivantcholakov $
*
* @package chamilo.exercise
* @todo remove the debug code and use the general debug library
* @todo use the Database:: functions
* @todo small letters for table variables

@ -1,22 +1,5 @@
<?php
/*
DOKEOS - elearning and course management software
For a full list of contributors, see documentation/credits.html
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See "documentation/licence.html" more details.
Contact:
Dokeos
Rue des Palais 44 Paleizenstraat
B-1030 Brussels - Belgium
Tel. +32 (2) 211 34 56
*/
/* For licensing terms, see /license.txt */
// Note by Ivan Tcholakov, 14-JUL-2009: I can't see where this file is used. Is it obsolete?
/**

@ -1,24 +1,5 @@
<?php
/*
==============================================================================
Dokeos - elearning and course management software
Copyright (c) 2004-2008 Dokeos SPRL
For a full list of contributors, see "credits.txt".
The full license can be read in "license.txt".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See the GNU General Public License for more details.
Contact address: Dokeos, rue du Corbeau, 108, B-1030 Brussels, Belgium
Mail: info@dokeos.com
==============================================================================
*/
/* For licensing terms, see /license.txt */
/**

@ -1,8 +1,8 @@
<?php //$id: $
/* For licensing terms, see /dokeos_license.txt */
/* For licensing terms, see /license.txt */
/**
* Code library for HotPotatoes integration.
* @package dokeos.exercise
* @package chamilo.exercise
* @author Istvan Mandak (original author)
*/
$dbTable = Database::get_course_table(TABLE_DOCUMENT);

@ -1,5 +1,5 @@
<?php //$id:$
/* For licensing terms, see /dokeos_license.txt */
/* For licensing terms, see /license.txt */
//error_log(__FILE__);
/**
* This file generates the ActionScript variables code used by the HotSpot .swf

@ -1,5 +1,5 @@
<?php //$id:$
/* For licensing terms, see /dokeos_license.txt */
/* For licensing terms, see /license.txt */
//error_log(__FILE__);
/**
* This file generates the ActionScript variables code used by the HotSpot .swf

@ -1,5 +1,5 @@
<?php //$id:$
/* For licensing terms, see /dokeos_license.txt */
/* For licensing terms, see /license.txt */
//error_log(__FILE__);
/**
* Hotspot languae conversion

@ -1,5 +1,5 @@
<?php //$id:$
/* For licensing terms, see /dokeos_license.txt */
/* For licensing terms, see /license.txt */
//error_log(__FILE__);
/**
*

@ -1,22 +1,5 @@
<?php
/*
DOKEOS - elearning and course management software
For a full list of contributors, see documentation/credits.html
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See "documentation/licence.html" more details.
Contact:
Dokeos
Rue des Palais 44 Paleizenstraat
B-1030 Brussels - Belgium
Tel. +32 (2) 211 34 56
*/
/* For licensing terms, see /license.txt */
/**
* Saving the scores.

@ -1,5 +1,5 @@
<?php //$id: $
/* For licensing terms, see /dokeos_license.txt */
/* For licensing terms, see /license.txt */
/**
* Code library for HotPotatoes integration.
* @package dokeos.exercise

@ -1,22 +1,5 @@
<?php
/*
DOKEOS - elearning and course management software
For a full list of contributors, see documentation/credits.html
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See "documentation/licence.html" more details.
Contact:
Dokeos
Rue des Palais 44 Paleizenstraat
B-1030 Brussels - Belgium
Tel. +32 (2) 211 34 56
*/
/* For licensing terms, see /license.txt */
/**
* File containing the UNIQUE_ANSWER class.

Loading…
Cancel
Save