data['dstMetadata'])) { $dstName = $this->data['dstMetadata']['name']; } elseif (array_key_exists('OrganizationDisplayName', $this->data['dstMetadata'])) { $dstName = $this->data['dstMetadata']['OrganizationDisplayName']; } else { $dstName = $this->data['dstMetadata']['entityid']; } if (is_array($dstName)) { $dstName = $this->t($dstName); } $dstName = htmlspecialchars($dstName); $this->data['header'] = $this->t('{consent:consent:noconsent_title}');; $this->includeAtTemplateBase('includes/header.php'); echo '
' . $this->t('{consent:consent:noconsent_text}', array('SPNAME' => $dstName)) . '
'; echo '