MDL-14493 First checkin of Feedback module into HEAD.
[moodle.git] / mod / feedback / delete_item_form.php
1 <?php // $Id$
2 /**
3 * prints the form to confirm delete a completed
4 *
5 * @version $Id$
6 * @author Andreas Grabs
7 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
8 * @package feedback
9 */
11 require_once $CFG->libdir.'/formslib.php';
13 class mod_feedback_delete_item_form extends moodleform {
14     function definition() {
15         $mform =& $this->_form;
17         //headline
18         //$mform->addElement('header', 'general', '');
19         
20         // hidden elements
21         $mform->addElement('hidden', 'id');
22         $mform->addElement('hidden', 'deleteitem');
23         $mform->addElement('hidden', 'confirmdelete');
25         //-------------------------------------------------------------------------------
26         // buttons
27         $this->add_action_buttons(true, get_string('yes'));
29     }
30 }
31 ?>