mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
c70ad9f736
I made a number of small tidy-ups to the contrib version before adding this here: - fixed some language string names - renamed a capability from deletecompleteds to deletesubmissions (can we use "submissions" everywhere?) - got rid of language packs (moved english to correct location) - deleted 'pics' type (it needs to be rewritten to use user files in moodledata) - moved changelog into README.txt - moved captcha font out of subdir - bumped version to today Thanks very much to Andreas Grabs for all your work on this module so far, and congratulations! :-)
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'));
|
|
|
|
}
|
|
}
|
|
?>
|