data['idplist'] AS $tab => $slist) {
if (!empty($this->data['preferredidp']) && array_key_exists($this->data['preferredidp'], $slist))
$faventry = $slist[$this->data['preferredidp']];
}
if(!array_key_exists('header', $this->data)) {
$this->data['header'] = 'selectidp';
}
$this->data['header'] = $this->t($this->data['header']);
$this->data['jquery'] = array('version' => '1.6', 'core' => TRUE, 'ui' => TRUE, 'css' => TRUE);
$this->data['head'] = '';
$this->data['head'] .= '';
$this->data['head'] .= '';
$this->data['head'] .= '';
if (!empty($faventry)) $this->data['autofocus'] = 'favouritesubmit';
$this->includeAtTemplateBase('includes/header.php');
// foreach ($this->data['idplist'] AS $slist) {
// foreach ($slist AS $idpentry) {
// if (isset($idpentry['name']))
// $this->includeInlineTranslation('idpname_' . $idpentry['entityid'], $idpentry['name']);
// if (isset($idpentry['description']))
// $this->includeInlineTranslation('idpdesc_' . $idpentry['entityid'], $idpentry['description']);
// }
// }
//
function showEntry($t, $metadata, $favourite = FALSE) {
$basequerystring = '?' .
'entityID=' . urlencode($t->data['entityID']) . '&' .
'return=' . urlencode($t->data['return']) . '&' .
'returnIDParam=' . urlencode($t->data['returnIDParam']) . '&idpentityid=';
$extra = ($favourite ? ' favourite' : '');
$html = '';
$html .= '' . htmlspecialchars(getTranslatedName($t, $metadata)) . '';
#print_r($metadata['scopes']);
// if (!empty($idpentry['description'])) {
// $html .= ' ' . htmlspecialchars($t->t('idpdesc_' . $metadata['entityid'])) . '
';
// }
if(array_key_exists('icon', $metadata) && $metadata['icon'] !== NULL) {
$iconUrl = SimpleSAML_Utilities::resolveURL($metadata['icon']);
$html .= '';
}
// $html .= '
'; // print_r($slist); exit; echo(''); echo(''); echo(' '); } echo 'Incremental search...
'); echo(' '); echo('