From: David Mudrak Date: Mon, 4 Jan 2010 17:44:07 +0000 (+0000) Subject: Renaming gradingform.php to edit_form.php X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ca68206ebd579081bdfe640e99159040a7d1990d;p=moodle.git Renaming gradingform.php to edit_form.php --- diff --git a/mod/workshop/grading/accumulative/gradingform.php b/mod/workshop/grading/accumulative/edit_form.php similarity index 97% rename from mod/workshop/grading/accumulative/gradingform.php rename to mod/workshop/grading/accumulative/edit_form.php index 8011374c3c..71f8d19c8b 100644 --- a/mod/workshop/grading/accumulative/gradingform.php +++ b/mod/workshop/grading/accumulative/edit_form.php @@ -27,7 +27,7 @@ defined('MOODLE_INTERNAL') || die(); require_once(dirname(dirname(dirname(__FILE__))).'/lib.php'); // module library -require_once(dirname(dirname(__FILE__)).'/gradingform.php'); // parent class definition +require_once(dirname(dirname(__FILE__)).'/edit_form.php'); // parent class definition /** diff --git a/mod/workshop/grading/gradingform.php b/mod/workshop/grading/edit_form.php similarity index 100% rename from mod/workshop/grading/gradingform.php rename to mod/workshop/grading/edit_form.php diff --git a/mod/workshop/grading/noerrors/gradingform.php b/mod/workshop/grading/noerrors/edit_form.php similarity index 98% rename from mod/workshop/grading/noerrors/gradingform.php rename to mod/workshop/grading/noerrors/edit_form.php index a59e469c0d..cc7403444f 100644 --- a/mod/workshop/grading/noerrors/gradingform.php +++ b/mod/workshop/grading/noerrors/edit_form.php @@ -27,7 +27,7 @@ defined('MOODLE_INTERNAL') || die(); require_once(dirname(dirname(dirname(__FILE__))).'/lib.php'); // module library -require_once(dirname(dirname(__FILE__)).'/gradingform.php'); // parent class definition +require_once(dirname(dirname(__FILE__)).'/edit_form.php'); // parent class definition /** diff --git a/mod/workshop/grading/strategy.php b/mod/workshop/grading/strategy.php index da2f2172cd..72feb70a17 100644 --- a/mod/workshop/grading/strategy.php +++ b/mod/workshop/grading/strategy.php @@ -119,7 +119,7 @@ abstract class workshop_base_strategy implements workshop_strategy { /** * Factory method returning an instance of an assessment form editor class * - * By default, the class is defined in grading/{strategy}/gradingform.php and is named + * By default, the class is defined in grading/{strategy}/edit_form.php and is named * workshop_edit_{strategy}_strategy_form * * @param $actionurl URL of form handler, defaults to auto detect the current url @@ -127,7 +127,7 @@ abstract class workshop_base_strategy implements workshop_strategy { public function get_edit_strategy_form($actionurl=null) { global $CFG; // needed because the included files use it - $strategyform = dirname(__FILE__) . '/' . $this->name . '/gradingform.php'; + $strategyform = dirname(__FILE__) . '/' . $this->name . '/edit_form.php'; if (file_exists($strategyform)) { require_once($strategyform); } else {