]> git.mjollnir.org Git - moodle.git/commitdiff
Renaming gradingform.php to edit_form.php
authorDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 17:44:07 +0000 (17:44 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 17:44:07 +0000 (17:44 +0000)
mod/workshop/grading/accumulative/edit_form.php [moved from mod/workshop/grading/accumulative/gradingform.php with 97% similarity]
mod/workshop/grading/edit_form.php [moved from mod/workshop/grading/gradingform.php with 100% similarity]
mod/workshop/grading/noerrors/edit_form.php [moved from mod/workshop/grading/noerrors/gradingform.php with 98% similarity]
mod/workshop/grading/strategy.php

similarity index 97%
rename from mod/workshop/grading/accumulative/gradingform.php
rename to mod/workshop/grading/accumulative/edit_form.php
index 8011374c3c503130ee35e47c52eb0b200c5bb273..71f8d19c8b28d6f87eb0f616ee5aa7280e0ea677 100644 (file)
@@ -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
 
 
 /**
similarity index 98%
rename from mod/workshop/grading/noerrors/gradingform.php
rename to mod/workshop/grading/noerrors/edit_form.php
index a59e469c0d190d0228b6af9eb653f1fc4c75ee38..cc7403444fdaaa9874eb1797675aadc0fc9a0462 100644 (file)
@@ -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
 
 
 /**
index da2f2172cd4f2e6493448e783135088c280af320..72feb70a178a90e776641dd0101f9b76b7aecfc7 100644 (file)
@@ -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 {