From 98ccfaa6cc3e3b9220fd2f7c52abc82474f956b5 Mon Sep 17 00:00:00 2001 From: Dongsheng Cai Date: Fri, 10 Sep 2010 03:39:07 +0000 Subject: [PATCH] MDL-23308, hide form element label in course files management page --- files/coursefilesedit_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/coursefilesedit_form.php b/files/coursefilesedit_form.php index 4ef7ae79401..e5498dcec18 100644 --- a/files/coursefilesedit_form.php +++ b/files/coursefilesedit_form.php @@ -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); -- 2.43.0