MDL-23308, hide form element label in course files management page
authorDongsheng Cai <unoter@gmail.com>
Fri, 10 Sep 2010 03:39:07 +0000 (03:39 +0000)
committerDongsheng Cai <unoter@gmail.com>
Fri, 10 Sep 2010 03:39:07 +0000 (03:39 +0000)
files/coursefilesedit_form.php

index 4ef7ae7..e5498dc 100644 (file)
@@ -22,7 +22,7 @@ class coursefiles_edit_form extends moodleform {
         $mform =& $this->_form;
         $contextid = $this->_customdata['contextid'];
         $options = array('subdirs'=>1, 'maxfiles'=>-1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL);
-        $mform->addElement('filemanager', 'files_filemanager', get_string('files'), null, $options);
+        $mform->addElement('filemanager', 'files_filemanager', '', null, $options);
         $mform->addElement('hidden', 'contextid', $this->_customdata['contextid']);
         $this->set_data($this->_customdata['data']);
         $this->add_action_buttons(true);