|
|
@ -39,6 +39,9 @@ class mod_game_mod_form extends moodleform_mod { |
|
|
|
$mform->setDefault('type', $gamekind); |
|
|
|
$mform->setType('type', PARAM_ALPHA); |
|
|
|
|
|
|
|
$mform->addElement( 'hidden', 'gameversion', game_get_version()); |
|
|
|
$mform->setType('gameversion', PARAM_INT); |
|
|
|
|
|
|
|
$mform->addElement('header', 'general', get_string('general', 'form')); |
|
|
|
|
|
|
|
$mform->addElement('text', 'name', 'Name', array('size'=>'64')); |
|
|
|