Commit 4164a9b3 authored by Camille Tardy's avatar Camille Tardy
Browse files

Fix url in connection sub-menu to use wwwroot.

parent b60f70ab
......@@ -328,15 +328,15 @@ class core_renderer extends \theme_boost\output\core_renderer {
$html .= html_writer::start_tag('div', array('class'=>'login-submenu'));
$html .= html_writer::start_tag('a', array('href'=>'https://moodle.unige.ch/Shibboleth.sso/Login?entityID=https://idp.unige.ch/idp/shibboleth&target=https://moodle.unige.ch/auth/shibboleth/index.php'));
$html .= html_writer::start_tag('a', array('href'=>$CFG->wwwroot.'/Shibboleth.sso/Login?entityID=https://idp.unige.ch/idp/shibboleth&target='.$CFG->wwwroot.'/auth/shibboleth/index.php'));
$html .= get_string('UNIGE-account', 'theme_unige');
$html .= html_writer::end_tag('a');
$html .= html_writer::start_tag('a', array('href'=>'https://moodle.unige.ch/Shibboleth.sso/Login?SAMLDS=1&entityID=https://aai.hcuge.ch/idp/shibboleth&target=https://moodle.unige.ch/auth/shibboleth/index.php'));
$html .= html_writer::start_tag('a', array('href'=>$CFG->wwwroot.'/Shibboleth.sso/Login?SAMLDS=1&entityID=https://aai.hcuge.ch/idp/shibboleth&target=https://moodle.unige.ch/auth/shibboleth/index.php'));
$html .= get_string('HUG-account', 'theme_unige');
$html .= html_writer::end_tag('a');
$html .= html_writer::start_tag('a', array('href'=>'https://moodle.unige.ch/Shibboleth.sso/Login?SAMLDS=1&entityID=https://aai-logon.vho-switchaai.ch/idp/shibboleth&target=https://moodle.unige.ch/auth/shibboleth/index.php'));
$html .= html_writer::start_tag('a', array('href'=>$CFG->wwwroot.'/Shibboleth.sso/Login?SAMLDS=1&entityID=https://aai-logon.vho-switchaai.ch/idp/shibboleth&target=https://moodle.unige.ch/auth/shibboleth/index.php'));
$html .= get_string('VHO-account', 'theme_unige');
$html .= html_writer::end_tag('a');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment