mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 20:36:42 +01:00
32 lines
804 B
PHP
32 lines
804 B
PHP
|
<?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'));
|
||
|
|
||
|
}
|
||
|
}
|
||
|
?>
|