parameter added
This commit is contained in:
parent
e30061d84c
commit
d15a4535c5
3 changed files with 5 additions and 1 deletions
|
@ -40,6 +40,9 @@ class block_timetable_edit_form extends block_edit_form {
|
|||
$mform->addElement('header', 'configheader', get_string('blocksettings', 'block'));
|
||||
|
||||
// Please keep in mind that all elements defined here must start with 'config_'.
|
||||
$mform->addElement('text', 'config_class', get_string('class', 'block_timetable'));
|
||||
$mform->setDefault('config_class', '');
|
||||
$mform->setType('config_class', PARAM_RAW);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,3 +28,4 @@ defined('MOODLE_INTERNAL') || die();
|
|||
$string['pluginname'] = 'timetable';
|
||||
$string['timetable:addinstance'] = 'add timetable';
|
||||
$string['timetable:addmyinstance'] = 'add timetable';
|
||||
$string['class'] = 'class';
|
||||
|
|
|
@ -26,7 +26,7 @@ defined('MOODLE_INTERNAL') || die();
|
|||
|
||||
$plugin->component = 'block_timetable';
|
||||
$plugin->release = '0.1.0';
|
||||
$plugin->version = 2020112101;
|
||||
$plugin->version = 2020120402;
|
||||
$plugin->requires = 2020061500;
|
||||
$plugin->maturity = MATURITY_ALPHA;
|
||||
$plugin->dependencies = [
|
||||
|
|
Loading…
Add table
Reference in a new issue