moodle/mod/feedback/delete_item_form.php

32 lines
804 B
PHP
Raw Normal View History

<?php // $Id$
/**
* prints the form to confirm delete a completed
*
* @version $Id$
* @author Andreas Grabs
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package feedback
*/
require_once $CFG->libdir.'/formslib.php';
class mod_feedback_delete_item_form extends moodleform {
function definition() {
$mform =& $this->_form;
//headline
//$mform->addElement('header', 'general', '');
// hidden elements
$mform->addElement('hidden', 'id');
$mform->addElement('hidden', 'deleteitem');
$mform->addElement('hidden', 'confirmdelete');
//-------------------------------------------------------------------------------
// buttons
$this->add_action_buttons(true, get_string('yes'));
}
}
?>