Skip to content

Commit

Permalink
MDL-59285 tool_mobile: new setting for mobile app setup url
Browse files Browse the repository at this point in the history
  • Loading branch information
lameze committed Jun 23, 2017
1 parent f4a2d69 commit 6dfb4ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin/tool/mobile/lang/en/tool_mobile.php
Expand Up @@ -62,12 +62,15 @@
$string['loginintheembeddedbrowser'] = 'Via an embedded browser (for SSO plugins)';
$string['mainmenu'] = 'Main menu';
$string['mobileapp'] = 'Mobile app';
$string['mobileappenabled'] = 'This moodle site has mobile app access enabled. You can use moodle mobile app to access the content of your courses and much more. Click <a href="{$a}">here</a> for more information';
$string['mobileappearance'] = 'Mobile appearance';
$string['mobileauthentication'] = 'Mobile authentication';
$string['mobilecssurl'] = 'CSS';
$string['mobilefeatures'] = 'Mobile features';
$string['mobilesettings'] = 'Mobile settings';
$string['pluginname'] = 'Moodle Mobile tools';
$string['setuplink'] = 'Mobile setup link';
$string['setuplink_desc'] = 'Link to documentation page to help users setup their mobile app.';
$string['smartappbanners'] = 'App Banners';
$string['pluginnotenabledorconfigured'] = 'Plugin not enabled or configured.';
$string['remoteaddons'] = 'Remote add-ons';
Expand Down
3 changes: 3 additions & 0 deletions admin/tool/mobile/settings.php
Expand Up @@ -83,6 +83,9 @@
$temp->add(new admin_setting_configtext('tool_mobile/androidappid', new lang_string('androidappid', 'tool_mobile'),
new lang_string('androidappid_desc', 'tool_mobile'), 'com.moodle.moodlemobile', PARAM_NOTAGS));

$temp->add(new admin_setting_configtext('tool_mobile/setuplink', new lang_string('setuplink', 'tool_mobile'),
new lang_string('setuplink_desc', 'tool_mobile'), 'https://download.moodle.org/mobile', PARAM_URL));

$ADMIN->add('mobileapp', $temp);

// Features related settings.
Expand Down

0 comments on commit 6dfb4ff

Please sign in to comment.