MDL-9696 used absolute path include in mod_forms

This commit is contained in:
skodak 2007-06-10 23:20:45 +00:00
parent d6dd21084b
commit 23a7718bd1
15 changed files with 16 additions and 16 deletions

View File

@ -1,5 +1,5 @@
<?php
require_once ('moodleform_mod.php');
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
class mod_assignment_mod_form extends moodleform_mod {

View File

@ -1,5 +1,5 @@
<?php
require_once ('moodleform_mod.php');
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
class mod_chat_mod_form extends moodleform_mod {

View File

@ -1,5 +1,5 @@
<?php
require_once ('moodleform_mod.php');
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
class mod_choice_mod_form extends moodleform_mod {

View File

@ -1,5 +1,5 @@
<?php
require_once ('moodleform_mod.php');
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
class mod_data_mod_form extends moodleform_mod {

View File

@ -1,5 +1,5 @@
<?php
require_once ('moodleform_mod.php');
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
class mod_exercise_mod_form extends moodleform_mod {

View File

@ -1,5 +1,5 @@
<?php
require_once ('moodleform_mod.php');
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
class mod_forum_mod_form extends moodleform_mod {

View File

@ -1,5 +1,5 @@
<?php
require_once ('moodleform_mod.php');
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
class mod_glossary_mod_form extends moodleform_mod {

View File

@ -1,5 +1,5 @@
<?php
require_once ('moodleform_mod.php');
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
class mod_journal_mod_form extends moodleform_mod {

View File

@ -1,5 +1,5 @@
<?php // $Id$
require_once ('moodleform_mod.php');
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
class mod_label_mod_form extends moodleform_mod {

View File

@ -8,7 +8,7 @@
* @package lesson
**/
require_once('moodleform_mod.php');
require_once($CFG->dirroot.'/course/moodleform_mod.php');
require_once('locallib.php');
class mod_lesson_mod_form extends moodleform_mod {

View File

@ -1,5 +1,5 @@
<?php
require_once ('moodleform_mod.php');
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
require_once("$CFG->dirroot/mod/quiz/locallib.php");

View File

@ -1,5 +1,5 @@
<?php
require_once ('moodleform_mod.php');
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
class mod_resource_mod_form extends moodleform_mod {
var $_resinstance;
@ -43,7 +43,7 @@ class mod_resource_mod_form extends moodleform_mod {
$mform->addElement('header', 'typedesc', get_string('resourcetype'.$type,'resource'));
$this->_resinstance->setup_elements($mform);
$this->standard_coursemodule_elements();
$this->standard_coursemodule_elements(false);
$this->add_action_buttons();
}

View File

@ -1,5 +1,5 @@
<?php
require_once ('moodleform_mod.php');
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
require_once($CFG->dirroot.'/mod/scorm/locallib.php');
class mod_scorm_mod_form extends moodleform_mod {

View File

@ -1,5 +1,5 @@
<?php
require_once ('moodleform_mod.php');
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
class mod_survey_mod_form extends moodleform_mod {

View File

@ -1,5 +1,5 @@
<?php
require_once ('moodleform_mod.php');
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
class mod_wiki_mod_form extends moodleform_mod {