|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Variables | |
| $courseid = optional_param('id', 0, PARAM_INT) | |
| $action = optional_param('action', '', PARAM_ALPHA) | |
| $strscale = get_string('scale') | |
| Make sure they can even access this course. | |
| $strstandardscale = get_string('scalesstandard') | |
| $strcustomscales = get_string('scalescustom') | |
| $strname = get_string('name') | |
| $strdelete = get_string('delete') | |
| $stredit = get_string('edit') | |
| $srtcreatenewscale = get_string('scalescustomcreate') | |
| $strused = get_string('used') | |
| switch($action) if(!$courseid) | $table = new html_table() |
| $table2 = new html_table() | |
| $heading = '' | |
| if($courseid and $scales=grade_scale::fetch_all_local($courseid)) if($scales=grade_scale::fetch_all_global()) | if ($courseid) |
| $action = optional_param('action', '', PARAM_ALPHA) |
| $srtcreatenewscale = get_string('scalescustomcreate') |
| $strcustomscales = get_string('scalescustom') |
| $strdelete = get_string('delete') |
| $stredit = get_string('edit') |
| $strname = get_string('name') |
| $strscale = get_string('scale') |
| $strstandardscale = get_string('scalesstandard') |
| $strused = get_string('used') |
| $table2 = new html_table() |
| if ($courseid and $scales=grade_scale::fetch_all_local($courseid)) if ($scales=grade_scale::fetch_all_global()) if($courseid) |