MDL-63153 admin: Adding Moodle services page to Site Administration

This commit is contained in:
Amaia Anabitarte 2018-08-22 15:01:49 +01:00
parent cc486e6125
commit f765fb380a
7 changed files with 240 additions and 0 deletions

View file

@ -73,6 +73,14 @@ if ($hassiteconfig) {
$temp->add(new admin_setting_configtext('mobilecssurl', new lang_string('mobilecssurl', 'tool_mobile'),
new lang_string('configmobilecssurl', 'tool_mobile'), '', PARAM_URL));
// Reference to Branded Mobile App.
if (empty($CFG->disableserviceads_branded)) {
$temp->add(new admin_setting_description('moodlebrandedappreference',
new lang_string('moodlebrandedapp', 'admin'),
new lang_string('moodlebrandedappreference', 'admin')
));
}
$temp->add(new admin_setting_heading('tool_mobile/smartappbanners',
new lang_string('smartappbanners', 'tool_mobile'), ''));