From 8d9ba668ef0875c40d45b7b1c7b593fad90d5395 Mon Sep 17 00:00:00 2001
From: Thijs Kinkhorst <thijs@kinkhorst.com>
Date: Wed, 27 May 2015 11:44:15 +0000
Subject: [PATCH] Fix title of hostname diagnostics page.

---
 templates/hostnames.php | 1 +
 www/admin/hostnames.php | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/hostnames.php b/templates/hostnames.php
index 0c43d8a96..45ea32f7f 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 51c2a80a4..17e74e462 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';
-- 
GitLab