-
Notifications
You must be signed in to change notification settings - Fork 1
/
edit_form.php
19 lines (13 loc) · 949 Bytes
/
edit_form.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
if (!defined('MOODLE_INTERNAL'))
die('Direct access to this script is forbidden.');
class block_moodleversion_edit_form extends block_edit_form {
function specific_definition($mform){
$mform->addElement('header','configheader', get_string('blocksettings', 'block'));
$mform->addElement('advcheckbox', 'config_phpversion', get_string('form_checkbox_php_version', 'block_moodleversion'), '', array('group' => 1), array(0, 1));
$mform->addElement('advcheckbox', 'config_mysqlversion', get_string('form_checkbox_mysql_version', 'block_moodleversion'), '', array('group' => 1), array(0, 1));
$mform->addElement('advcheckbox', 'config_phpextensions', get_string('form_checkbox_php_extensions', 'block_moodleversion'), '', array('group' => 1), array(0, 1));
$mform->addElement('advcheckbox', 'config_phpsettings', get_string('form_checkbox_php_settings', 'block_moodleversion'), '', array('group' => 1), array(0, 1));
}
}
?>