MDL-79085 tool_mobile: give visible name to autologouttime config.
This commit is contained in:
@@ -36,6 +36,7 @@ $string['autologout'] = 'Enforce auto logout for your users';
|
||||
$string['autologout_desc'] = 'For security reasons, you can enforce automatic logout for your users when they leave or close the app, or it goes to background. Users will have to log in again when they return to the app.';
|
||||
$string['autologoutcustom'] = 'Custom time after users leave or close the app';
|
||||
$string['autologoutinmediate'] = 'Immediately after users leave or close the app';
|
||||
$string['autologouttime'] = 'Auto logout timer';
|
||||
$string['cachedef_plugininfo'] = 'This stores the list of plugins with mobile addons';
|
||||
$string['cachedef_subscriptiondata'] = 'This stores the Moodle app subscription information.';
|
||||
$string['clickheretolaunchtheapp'] = 'Click here if the app does not open automatically.';
|
||||
|
||||
@@ -111,7 +111,8 @@ if ($hassiteconfig) {
|
||||
new lang_string('autologout', 'tool_mobile'),
|
||||
new lang_string('autologout_desc', 'tool_mobile'), 0, $options));
|
||||
|
||||
$temp->add(new admin_setting_configduration('tool_mobile/autologouttime', '', '', DAYSECS));
|
||||
$temp->add(new admin_setting_configduration('tool_mobile/autologouttime',
|
||||
new lang_string('autologouttime', 'tool_mobile'), '', DAYSECS));
|
||||
$temp->hide_if('tool_mobile/autologouttime', 'tool_mobile/autologout', 'neq', tool_mobile\api::AUTOLOGOUT_CUSTOM);
|
||||
|
||||
$options = [
|
||||
|
||||
Reference in New Issue
Block a user