MDL-14493 First checkin of Feedback module into HEAD.
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! :-)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?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_completed_form extends moodleform {
|
||||
function definition() {
|
||||
$mform =& $this->_form;
|
||||
|
||||
//headline
|
||||
//$mform->addElement('header', 'general', '');
|
||||
|
||||
// hidden elements
|
||||
$mform->addElement('hidden', 'id');
|
||||
$mform->addElement('hidden', 'completedid');
|
||||
$mform->addElement('hidden', 'do_show');
|
||||
$mform->addElement('hidden', 'confirmdelete');
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
// buttons
|
||||
$this->add_action_buttons(true, get_string('yes'));
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user