From 2ccdc21b361a38e6094765a0ccb0154529b25bd6 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Tue, 4 Feb 2020 10:29:13 +0100 Subject: [PATCH] MDL-67237 tool_mobile: Add H5P offline option in disabled features --- admin/tool/mobile/classes/api.php | 1 + admin/tool/mobile/lang/en/tool_mobile.php | 1 + 2 files changed, 2 insertions(+) diff --git a/admin/tool/mobile/classes/api.php b/admin/tool/mobile/classes/api.php index 146990c755e..0828ad4ef19 100644 --- a/admin/tool/mobile/classes/api.php +++ b/admin/tool/mobile/classes/api.php @@ -433,6 +433,7 @@ class api { '$mmLoginEmailSignup' => new lang_string('startsignup'), 'NoDelegate_ForgottenPassword' => new lang_string('forgotten'), 'NoDelegate_ResponsiveMainMenuItems' => new lang_string('responsivemainmenuitems', 'tool_mobile'), + 'NoDelegate_H5POffline' => new lang_string('h5poffline', 'tool_mobile'), ), "$mainmenu" => array( '$mmSideMenuDelegate_mmaFrontpage' => new lang_string('sitehome'), diff --git a/admin/tool/mobile/lang/en/tool_mobile.php b/admin/tool/mobile/lang/en/tool_mobile.php index f9827768955..bebb7e526a9 100644 --- a/admin/tool/mobile/lang/en/tool_mobile.php +++ b/admin/tool/mobile/lang/en/tool_mobile.php @@ -62,6 +62,7 @@ $string['forcedurlscheme'] = 'If you want to allow only your custom branded app $string['forcedurlscheme_key'] = 'URL scheme'; $string['forcelogout'] = 'Force log out'; $string['forcelogout_desc'] = 'If enabled, the app option \'Change site\' is replaced by \'Log out\'. This results in the user being completely logged out. They must then re-enter their password the next time they wish to access the site.'; +$string['h5poffline'] = 'View H5P content offline'; $string['httpsrequired'] = 'HTTPS required'; $string['insecurealgorithmwarning'] = 'It seems that the HTTPS certificate uses an insecure algorithm for signing (SHA-1). Please try updating the certificate.'; $string['invalidcertificatechainwarning'] = 'It seems that the certificate chain is invalid.';