. /** * Transfer form * * @package tool * @subpackage dbtransfer * @copyright 2008 Petr Skoda * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die; require_once $CFG->libdir.'/formslib.php'; class database_export_form extends moodleform { function definition() { $mform = $this->_form; $mform->addElement('header', 'database', get_string('dbexport', 'tool_dbtransfer')); $mform->addElement('textarea', 'description', get_string('description'), array('rows'=>5, 'cols'=>60)); $this->add_action_buttons(false, get_string('exportdata', 'tool_dbtransfer')); } }