Merge branch 'MDL-36104_m23' of https://github.com/markn86/moodle into MOODLE_23_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2013-01-22 01:20:06 +01:00
4 changed files with 11 additions and 7 deletions
+3 -1
View File
@@ -141,7 +141,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;
}
+2 -2
View File
@@ -94,8 +94,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;
}
+3 -2
View File
@@ -150,9 +150,10 @@ class assign_submission_file extends assign_submission_plugin {
$fileoptions = $this->get_file_options();
$submissionid = $submission ? $submission->id : 0;
$data = file_prepare_standard_filemanager($data, 'files', $fileoptions, $this->assignment->get_context(), '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;
}
@@ -90,9 +90,10 @@ class assign_submission_onlinetext extends assign_submission_plugin {
}
$data = file_prepare_standard_editor($data, 'onlinetext', $editoroptions, $this->assignment->get_context(), '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;
}