data)) { $this->data['header'] = 'selectidp'; } $this->data['header'] = $this->t($this->data['header']); $this->data['autofocus'] = 'preferredidp'; $this->includeAtTemplateBase('includes/header.php'); foreach ($this->data['idplist'] AS $idpentry) { if (isset($idpentry['UIInfo']['DisplayName'])) { /* TODO: remove this branch, If ['UIInfo']['DisplayName'] is available, it will get through to 'name' in the * metadata parsed with SSP >= 1.13.0, so this code is no longer necessary. Keep it now to avoid breaking * metadata parsed with previous versions. */ $this->includeInlineTranslation('idpname_' . $idpentry['entityid'], $idpentry['UIInfo']['DisplayName']); } elseif (isset($idpentry['name'])) { $this->includeInlineTranslation('idpname_' . $idpentry['entityid'], $idpentry['name']); } elseif (isset($idpentry['OrganizationDisplayName'])) { $this->includeInlineTranslation('idpname_' . $idpentry['entityid'], $idpentry['OrganizationDisplayName']); } if (isset($idpentry['description'])) $this->includeInlineTranslation('idpdesc_' . $idpentry['entityid'], $idpentry['description']); } ?>

data['header']; ?>

t('selectidp_full'); if($this->data['rememberenabled']) { echo('
' . $this->t('remember')); } ?>

data['preferredidp']) && array_key_exists($this->data['preferredidp'], $this->data['idplist'])) { $idpentry = $this->data['idplist'][$this->data['preferredidp']]; echo '
'; echo ' '.$this->t('icon_prefered_idp').''; if(array_key_exists('icon', $idpentry) && $idpentry['icon'] !== NULL) { $iconUrl = SimpleSAML_Utilities::resolveURL($idpentry['icon']); echo ''; } echo "\n" . '

' . htmlspecialchars($this->t('idpname_' . $idpentry['entityid'])) . '

'; if (!empty($idpentry['description'])) { echo '

' . htmlspecialchars($this->t('idpdesc_' . $idpentry['entityid'])) . '
'; } echo('

'); echo '
'; } 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']); echo ''; } echo "\n" . '

' . htmlspecialchars($this->t('idpname_' . $idpentry['entityid'])) . '

'; if (!empty($idpentry['description'])) { echo '

' . htmlspecialchars($this->t('idpdesc_' . $idpentry['entityid'])) . '
'; } echo('

'); } } ?>
includeAtTemplateBase('includes/footer.php'); ?>