Merge branch 'MDL-36104_master' of https://github.com/markn86/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2013-01-22 01:11:48 +01:00
commit 0aaf378cf9
4 changed files with 11 additions and 5 deletions

View File

@ -203,7 +203,9 @@ class assign_feedback_comments extends assign_feedback_plugin {
}
}
$mform->addElement('editor', 'assignfeedbackcomments_editor', '', null, null);
$mform->addElement('editor', 'assignfeedbackcomments_editor', html_writer::tag('span', $this->get_name(),
array('class' => 'accesshide')), null, null);
return true;
}

View File

@ -143,8 +143,8 @@ class assign_feedback_file extends assign_feedback_plugin {
'assignfeedback_file',
ASSIGNFEEDBACK_FILE_FILEAREA,
$gradeid);
$mform->addElement('filemanager', $elementname . '_filemanager', '', null, $fileoptions);
$mform->addElement('filemanager', $elementname . '_filemanager', html_writer::tag('span', $this->get_name(),
array('class' => 'accesshide')), null, $fileoptions);
return true;
}

View File

@ -166,7 +166,9 @@ class assign_submission_file extends assign_submission_plugin {
'assignsubmission_file',
ASSIGNSUBMISSION_FILE_FILEAREA,
$submissionid);
$mform->addElement('filemanager', 'files_filemanager', '', null, $fileoptions);
$mform->addElement('filemanager', 'files_filemanager', html_writer::tag('span', $this->get_name(),
array('class' => 'accesshide')), null, $fileoptions);
return true;
}

View File

@ -95,7 +95,9 @@ class assign_submission_onlinetext extends assign_submission_plugin {
'assignsubmission_onlinetext',
ASSIGNSUBMISSION_ONLINETEXT_FILEAREA,
$submissionid);
$mform->addElement('editor', 'onlinetext_editor', '', null, $editoroptions);
$mform->addElement('editor', 'onlinetext_editor', html_writer::tag('span', $this->get_name(),
array('class' => 'accesshide')), null, $editoroptions);
return true;
}