MDL-69031 tool_mobile: Add missing features that can be disabled in 3.9
This commit is contained in:
committed by
Andrew Nicols
parent
91b23a2caa
commit
01ec0ee85b
@@ -489,6 +489,7 @@ class api {
|
||||
'$mmSideMenuDelegate_mmaFiles' => new lang_string('files'),
|
||||
'$mmSideMenuDelegate_website' => new lang_string('webpage'),
|
||||
'$mmSideMenuDelegate_help' => new lang_string('help'),
|
||||
'CoreMainMenuDelegate_QrReader' => new lang_string('scanqrcode', 'tool_mobile'),
|
||||
),
|
||||
"$course" => array(
|
||||
'NoDelegate_CourseBlocks' => new lang_string('blocks'),
|
||||
@@ -527,6 +528,12 @@ class api {
|
||||
$features["$remoteaddons"] = $remoteaddonslist;
|
||||
}
|
||||
|
||||
if (!empty($availablemods['lti'])) {
|
||||
$ltidisplayname = $availablemods['lti']->displayname;
|
||||
$features["$ltidisplayname"]['CoreCourseModuleDelegate_AddonModLti:openInAppBrowser'] =
|
||||
new lang_string('openusingembeddedbrowser', 'tool_mobile');
|
||||
}
|
||||
|
||||
// Display OAuth 2 identity providers.
|
||||
if (is_enabled_auth('oauth2')) {
|
||||
$identityproviderslist = array();
|
||||
|
||||
@@ -105,6 +105,7 @@ $string['notificationssentnotifications'] = 'Notifications sent';
|
||||
$string['notificationscurrentactivedevices'] = 'Devices receiving notifications this month';
|
||||
$string['oauth2identityproviders'] = 'OAuth 2 identity providers';
|
||||
$string['offlineuse'] = 'Offline use';
|
||||
$string['openusingembeddedbrowser'] = 'Open using embedded browser';
|
||||
$string['pluginname'] = 'Moodle app tools';
|
||||
$string['pluginnotenabledorconfigured'] = 'Plugin not enabled or configured.';
|
||||
$string['qrcodedisabled'] = 'Access via QR code disabled';
|
||||
@@ -118,6 +119,7 @@ $string['qrcodetypeurl'] = 'QR code with site URL';
|
||||
$string['qrcodetypelogin'] = 'QR code with automatic login';
|
||||
$string['readingthisemailgettheapp'] = 'Reading this in an email? <a href="{$a}">Download the mobile app and receive notifications on your mobile device</a>.';
|
||||
$string['remoteaddons'] = 'Remote add-ons';
|
||||
$string['scanqrcode'] = 'Scan QR code';
|
||||
$string['selfsignedoruntrustedcertificatewarning'] = 'It seems that the HTTPS certificate is self-signed or not trusted. The mobile app will only work with trusted sites.';
|
||||
$string['setuplink'] = 'App download page';
|
||||
$string['setuplink_desc'] = 'URL of page with options to download the mobile app from the App Store and Google Play. The app download page link is displayed in the page footer and in a user\'s profile. Leave blank to not display a link.';
|
||||
|
||||
Reference in New Issue
Block a user