diff --git a/edit_form.php b/edit_form.php index 8fd0f8d..b634815 100755 --- a/edit_form.php +++ b/edit_form.php @@ -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); } } diff --git a/lang/en/block_timetable.php b/lang/en/block_timetable.php index 25780bf..6b14a68 100755 --- a/lang/en/block_timetable.php +++ b/lang/en/block_timetable.php @@ -28,3 +28,4 @@ defined('MOODLE_INTERNAL') || die(); $string['pluginname'] = 'timetable'; $string['timetable:addinstance'] = 'add timetable'; $string['timetable:addmyinstance'] = 'add timetable'; +$string['class'] = 'class'; diff --git a/version.php b/version.php index 57d2397..1bba05c 100755 --- a/version.php +++ b/version.php @@ -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 = [