From 7cac0c4b2b588e5f123a63e47cb1565ff1c78767 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 1 Jun 2008 19:09:13 +0000 Subject: [PATCH] MDL-14679 fixed references to mod.html --- course/lib.php | 8 ++++---- course/moodleform_mod.php | 2 +- mod/README.txt | 2 +- mod/assignment/lib.php | 8 ++++---- mod/chat/lib.php | 4 ++-- mod/choice/lib.php | 4 ++-- mod/forum/lib.php | 4 ++-- mod/glossary/lib.php | 4 ++-- mod/hotpot/lib.php | 2 +- mod/label/lib.php | 4 ++-- mod/quiz/lib.php | 4 ++-- mod/resource/lib.php | 4 ++-- mod/scorm/lib.php | 6 +++--- mod/survey/lib.php | 4 ++-- mod/wiki/lib.php | 4 ++-- theme/chameleon/pix/mod/README.txt | 2 +- 16 files changed, 33 insertions(+), 33 deletions(-) diff --git a/course/lib.php b/course/lib.php index 42526b02dd..ff393bdd3b 100644 --- a/course/lib.php +++ b/course/lib.php @@ -2573,7 +2573,7 @@ function course_in_meta ($course) { /** - * Print standard form elements on module setup forms in mod/.../mod.html + * Print standard form elements on module setup forms in mod/.../mod_form.php */ function print_standard_coursemodule_settings($form, $features=null) { global $DB; @@ -2588,7 +2588,7 @@ function print_standard_coursemodule_settings($form, $features=null) { } /** - * Print groupmode form element on module setup forms in mod/.../mod.html + * Print groupmode form element on module setup forms in mod/.../mod_form.php */ function print_groupmode_setting($form, $course=NULL) { global $DB; @@ -2622,7 +2622,7 @@ function print_groupmode_setting($form, $course=NULL) { } /** - * Print groupmode form element on module setup forms in mod/.../mod.html + * Print groupmode form element on module setup forms in mod/.../mod_form.php */ function print_grouping_settings($form, $course=NULL) { global $DB; @@ -2662,7 +2662,7 @@ function print_grouping_settings($form, $course=NULL) { } /** - * Print visibility setting form element on module setup forms in mod/.../mod.html + * Print visibility setting form element on module setup forms in mod/.../mod_form.php */ function print_visible_setting($form, $course=NULL) { global $DB; diff --git a/course/moodleform_mod.php b/course/moodleform_mod.php index 974f0e146f..d0ea7acef5 100644 --- a/course/moodleform_mod.php +++ b/course/moodleform_mod.php @@ -2,7 +2,7 @@ require_once ($CFG->libdir.'/formslib.php'); /** * This class adds extra methods to form wrapper specific to be used for module - * add / update forms (mod/{modname}.mod_form.php replaces deprecated mod/{modname}/mod.html + * add / update forms (mod/{modname}.mod_form.php replaces deprecated mod/{modname}/mod_form.php * */ class moodleform_mod extends moodleform { diff --git a/mod/README.txt b/mod/README.txt index 5e54d21397..6dadbc92ba 100644 --- a/mod/README.txt +++ b/mod/README.txt @@ -6,7 +6,7 @@ These are main modules in Moodle, allowing various activities. Each of these modules contains a number of expected components: - mod.html: a form to setup/update a module instance + mod_form.php: a form to setup/update a module instance version.php: defines some meta-info and provides upgrading code diff --git a/mod/assignment/lib.php b/mod/assignment/lib.php index ca1d18abb9..12ca8e8286 100644 --- a/mod/assignment/lib.php +++ b/mod/assignment/lib.php @@ -332,13 +332,13 @@ class assignment_base { * Create a new assignment activity * * Given an object containing all the necessary data, - * (defined by the form in mod.html) this function + * (defined by the form in mod_form.php) this function * will create a new instance and return the id number * of the new instance. * The due data is added to the calendar * This is common to all assignment types. * - * @param $assignment object The data from the form on mod.html + * @param $assignment object The data from the form on mod_form.php * @return int The id of the assignment */ function add_instance($assignment) { @@ -414,12 +414,12 @@ class assignment_base { * Updates a new assignment activity * * Given an object containing all the necessary data, - * (defined by the form in mod.html) this function + * (defined by the form in mod_form.php) this function * will update the assignment instance and return the id number * The due date is updated in the calendar * This is common to all assignment types. * - * @param $assignment object The data from the form on mod.html + * @param $assignment object The data from the form on mod_form.php * @return int The assignment id */ function update_instance($assignment) { diff --git a/mod/chat/lib.php b/mod/chat/lib.php index 8eb40b4f98..c88b4fa4a1 100644 --- a/mod/chat/lib.php +++ b/mod/chat/lib.php @@ -24,7 +24,7 @@ $CHAT_DUMMY_DATA = "\n\n\n\n