Merge branch 'MDL-38934-master' of git://github.com/danpoltawski/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2013-04-09 02:47:51 +02:00
commit dba85495c1
2 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,7 @@ class gradingform_guide_editguide extends moodleform {
$form->setType('areaid', PARAM_INT);
$form->addElement('hidden', 'returnurl');
$form->setType('returnurl', PARAM_LOCALURL);
// Name.
$form->addElement('text', 'name', get_string('name', 'gradingform_guide'), array('size'=>52));

View File

@ -47,6 +47,7 @@ class gradingform_rubric_editrubric extends moodleform {
$form->setType('areaid', PARAM_INT);
$form->addElement('hidden', 'returnurl');
$form->setType('returnurl', PARAM_LOCALURL);
// name
$form->addElement('text', 'name', get_string('name', 'gradingform_rubric'), array('size'=>52));