From: Jake Dallimore Date: Thu, 3 Dec 2020 03:15:30 +0000 (+0800) Subject: Merge branch 'MDL-67460-master_profile_secure' of https://github.com/beenet-dev/moodle X-Git-Tag: v4.0.0-beta~1962 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=f403766f1e37d1a9682470b970a973770df28cb1;hp=a051f6d13a1671a2b2c31b8749b5f3bcaf7b7529 Merge branch 'MDL-67460-master_profile_secure' of https://github.com/beenet-dev/moodle --- diff --git a/lib/myprofilelib.php b/lib/myprofilelib.php index 19c36753f92..9b99d8bfb61 100644 --- a/lib/myprofilelib.php +++ b/lib/myprofilelib.php @@ -329,8 +329,8 @@ function core_myprofile_navigation(core_user\output\myprofile\tree $tree, $user, } if ($user->icq && !isset($hiddenfields['icqnumber'])) { - $imurl = new moodle_url('http://web.icq.com/wwp', array('uin' => $user->icq) ); - $iconurl = new moodle_url('http://web.icq.com/whitepages/online', array('icq' => $user->icq, 'img' => '5')); + $imurl = new moodle_url('https://web.icq.com/wwp', array('uin' => $user->icq) ); + $iconurl = new moodle_url('https://web.icq.com/whitepages/online', array('icq' => $user->icq, 'img' => '5')); $statusicon = html_writer::tag('img', '', array('src' => $iconurl, 'class' => 'icon icon-post', 'alt' => get_string('status'))); $node = new core_user\output\myprofile\node('contact', 'icqnumber', get_string('icqnumber'), null, null, @@ -354,7 +354,7 @@ function core_myprofile_navigation(core_user\output\myprofile\tree $tree, $user, $tree->add_node($node); } if ($user->yahoo && !isset($hiddenfields['yahooid'])) { - $imurl = new moodle_url('http://edit.yahoo.com/config/send_webmesg', array('.target' => $user->yahoo, '.src' => 'pg')); + $imurl = new moodle_url('https://edit.yahoo.com/config/send_webmesg', array('.target' => $user->yahoo, '.src' => 'pg')); $iconurl = new moodle_url('http://opi.yahoo.com/online', array('u' => $user->yahoo, 'm' => 'g', 't' => '0')); $statusicon = html_writer::tag('img', '', array('src' => $iconurl, 'class' => 'iconsmall icon-post', 'alt' => get_string('status')));