diff --git a/templates/hostnames.php b/templates/hostnames.php index 0c43d8a967d2339106c9f52bfe0e4b3a3e925cfd..45ea32f7fd07ede97475c8e382ffc48abaa1662b 100644 --- a/templates/hostnames.php +++ b/templates/hostnames.php @@ -1,4 +1,5 @@ <?php +$this->data['header'] = $this->t('{status:header_diagnostics}'); $this->includeAtTemplateBase('includes/header.php'); $this->includeAtTemplateBase('includes/attributes.php'); diff --git a/www/admin/hostnames.php b/www/admin/hostnames.php index 51c2a80a4c227c55b7cf4113c75b85c98c6efcfd..17e74e462fd426065e50418e5adf5a6190d52fed 100644 --- a/www/admin/hostnames.php +++ b/www/admin/hostnames.php @@ -26,7 +26,6 @@ $attributes['Utilities_selfURL()'] = array(\SimpleSAML\Utils\HTTP::getSelfURL()) $et = new SimpleSAML_XHTML_Template($config, 'hostnames.php'); -$et->data['header'] = '{status:header_diagnostics}'; $et->data['remaining'] = $session->getAuthData('admin', 'Expire') - time(); $et->data['attributes'] = $attributes; $et->data['valid'] = 'na';