mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-16 21:41:31 +02:00
Fixed default parameter in configselect and updated 'Force off' lang string.
This commit is contained in:
committed by
Brendan Heywood
parent
1ef47a6233
commit
da18e31dab
@@ -34,6 +34,7 @@ $string['autostart'] = 'Auto start maintenance mode.';
|
||||
$string['autostart_help'] = 'If selected, when the outage starts it will automatically turn on Moodle maintenance mode.';
|
||||
$string['autostartoff'] = 'Default off';
|
||||
$string['autostarton'] = 'Default on';
|
||||
$string['autostartforcedoff'] = 'Force off';
|
||||
$string['builtinallowediplist'] = 'Builtin Allowed IP List';
|
||||
$string['builtinallowediplist_desc'] = 'A second allowed IP list which makes it easier to have some IPs forced in config.php and others editable in the UI';
|
||||
$string['clicreateexamples'] = "Create an outage starting in 10 seconds\n\n> php create.php -s=10";
|
||||
@@ -101,7 +102,6 @@ $string['defaultwarningdurationdescription'] = 'Default warning time (in minutes
|
||||
$string['description'] = 'Public Description';
|
||||
$string['description_help'] = 'A full description of the outage, publicly visible by all users.';
|
||||
$string['finish'] = 'Finish';
|
||||
$string['forceoff'] = 'Force off';
|
||||
$string['info15secondsbefore'] = '15 seconds before';
|
||||
$string['infoendofoutage'] = 'end of outage';
|
||||
$string['infofrom'] = 'From:';
|
||||
|
||||
@@ -47,11 +47,11 @@ if ($hassiteconfig) {
|
||||
'auth_outage/default_autostart',
|
||||
get_string('defaultoutageautostart', 'auth_outage'),
|
||||
get_string('defaultoutageautostartdescription', 'auth_outage'),
|
||||
'off',
|
||||
'0',
|
||||
[
|
||||
'0' => get_string('autostartoff', 'auth_outage'),
|
||||
'1' => get_string('autostarton', 'auth_outage'),
|
||||
'2' => get_string('forceoff', 'auth_outage'),
|
||||
'2' => get_string('autostartforcedoff', 'auth_outage'),
|
||||
]
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user