Skip to content

Commit

Permalink
Merge branch 'wip-106730-m401' into MOODLE_401_STABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
weilai-irl committed Oct 8, 2024
2 parents 53e1307 + 218d44e commit 84e165b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion local/o365/lang/en/local_o365.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<p style="margin-top:10px"><a href="https://aka.ms/MoodleTeamsPowerShellReadMe" target="_blank">Click here</a> to read instructions on running the script.</p>
<p>When prompted, use the following link as the Moodle URL:</p><h5><b>{$a}</b></h5>';
$string['settings_setup_step1clientcreds'] = '<br />Once the script is successfully executed, copy the Application ID and Secret returned by the script into the <a href="{$a}">OpenID Connect authentication plugin configuration page</a>.';
$string['settings_setup_step1_credentials_end'] = 'If you are unable to set up the Azure app via PowerShell, <a href="https://aka.ms/MoodleTeamsManualSetup" target="_blank">click here</a> for manual setup instructions.';
$string['settings_setup_step1_credentials_end'] = 'If you are unable to set up the Azure app via PowerShell, <a href="{$a}" target="_blank">click here</a> for manual setup instructions.';
$string['settings_setup_step1_continue'] = '<b>Once you have entered your Application ID and Key, click "Save changes" at the bottom of the page to continue.</b><br /><br /><br /><br /><br />';
$string['settings_setup_step1_existing_settings'] = '<h5>Existing settings</h5>';
$string['settings_setup_step2'] = 'Step 2/2: Admin consent &amp; additional information';
Expand Down
4 changes: 2 additions & 2 deletions local/o365/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
$configdesc = new lang_string('settings_setup_step1clientcreds', 'local_o365', $oidcconfigpageurl->out());
$settings->add(new admin_setting_heading('local_o365_setup_step1clientcreds', '', $configdesc));

$configdesc = new lang_string('settings_setup_step1_credentials_end', 'local_o365',
(object)['oidcsettings' => $oidcconfigpageurl->out()]);
$manualconfigurl = 'https://docs.moodle.org/' . get_config('core', 'branch') . '/en/Microsoft_365';
$configdesc = new lang_string('settings_setup_step1_credentials_end', 'local_o365', $manualconfigurl);
$settings->add(new admin_setting_heading('local_o365_setup_step1_credentialsend', '', $configdesc));

if (auth_oidc_is_setup_complete()) {
Expand Down

0 comments on commit 84e165b

Please sign in to comment.