diff options
Diffstat (limited to 'templates/selectidp-links.php')
-rw-r--r-- | templates/selectidp-links.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/selectidp-links.php b/templates/selectidp-links.php index c513838..54d6696 100644 --- a/templates/selectidp-links.php +++ b/templates/selectidp-links.php @@ -46,7 +46,7 @@ foreach ($this->data['idplist'] AS $idpentry) { echo ' <img src="/' . $this->data['baseurlpath'] .'resources/icons/experience/gtk-about.64x64.png" class="float-r" alt="'.$this->t('icon_prefered_idp').'" />'; if(array_key_exists('icon', $idpentry) && $idpentry['icon'] !== NULL) { - $iconUrl = SimpleSAML_Utilities::resolveURL($idpentry['icon']); + $iconUrl = \SimpleSAML\Utils\HTTP::resolveURL($idpentry['icon']); echo '<img class="float-l" style="margin: 1em; padding: 3px; border: 1px solid #999" src="' . htmlspecialchars($iconUrl) . '" />'; } echo "\n" . ' <h3 style="margin-top: 8px">' . htmlspecialchars($this->t('idpname_' . $idpentry['entityid'])) . '</h3>'; @@ -65,7 +65,7 @@ foreach ($this->data['idplist'] AS $idpentry) { if ($idpentry['entityid'] != $this->data['preferredidp']) { if(array_key_exists('icon', $idpentry) && $idpentry['icon'] !== NULL) { - $iconUrl = SimpleSAML_Utilities::resolveURL($idpentry['icon']); + $iconUrl = \SimpleSAML\Utils\HTTP::resolveURL($idpentry['icon']); echo '<img class="float-l" style="clear: both; margin: 1em; padding: 3px; border: 1px solid #999" src="' . htmlspecialchars($iconUrl) . '" />'; } echo "\n" . ' <h3 style="margin-top: 8px">' . htmlspecialchars($this->t('idpname_' . $idpentry['entityid'])) . '</h3>'; |