芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/mod/folder/edit_form.php
. /** * A moodle form to manage folder files * * @package mod_folder * @copyright 2010 Dongsheng Cai
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); require_once("$CFG->libdir/formslib.php"); class mod_folder_edit_form extends moodleform { function definition() { $mform = $this->_form; $data = $this->_customdata['data']; $options = $this->_customdata['options']; $mform->addElement('hidden', 'id', $data->id); $mform->setType('id', PARAM_INT); $mform->addElement('filemanager', 'files_filemanager', get_string('files'), null, $options); $submit_string = get_string('savechanges'); $this->add_action_buttons(true, $submit_string); $this->set_data($data); } }