mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-77370 admin: Add a new setting for Support contact
This commit is contained in:
parent
9ee4f8db8b
commit
25c2d17157
3 changed files with 7 additions and 2 deletions
|
@ -4244,7 +4244,9 @@ EOD;
|
|||
|
||||
$liferingicon = $this->pix_icon('t/life-ring', '', 'moodle', ['class' => 'fa fa-life-ring']);
|
||||
$newwindowicon = $this->pix_icon('i/externallink', get_string('opensinnewwindow'), 'moodle', ['class' => 'ml-1']);
|
||||
$link = 'https://moodle.com/help/?utm_source=CTA-banner&utm_medium=platform&utm_campaign=name~Moodle4+cat~lms+mp~no';
|
||||
$link = !empty($CFG->servicespage)
|
||||
? $CFG->servicespage
|
||||
: 'https://moodle.com/help/?utm_source=CTA-banner&utm_medium=platform&utm_campaign=name~Moodle4+cat~lms+mp~no';
|
||||
$content = $liferingicon . get_string('moodleservicesandsupport') . $newwindowicon;
|
||||
|
||||
return html_writer::tag('a', $content, ['target' => '_blank', 'href' => $link]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue