diff --git a/modules/core/dictionaries/frontpage.definition.json b/modules/core/dictionaries/frontpage.definition.json index 23008fa8ae49c96f5a74d905802a20f11e302290..11d385e4c3c954c1cbfd0d775b66ff3eca5cd037 100644 --- a/modules/core/dictionaries/frontpage.definition.json +++ b/modules/core/dictionaries/frontpage.definition.json @@ -1,4 +1,7 @@ { + "page_title": { + "en": "simpleSAMLphp installation page" + }, "intro": { "en": "<strong>Congratulations<\/strong>, you have successfully installed simpleSAMLphp. This is the start page of your installation, where you will find links to test examples, diagnostics, metadata and even links to relevant documentation." }, diff --git a/modules/core/templates/frontpage_auth.tpl.php b/modules/core/templates/frontpage_auth.tpl.php index 7e58920b28e2e62c85fa31bc9f7921fa11abcc90..3b9aae74bdc0e4d804f3d8fa358007c8e60a6921 100644 --- a/modules/core/templates/frontpage_auth.tpl.php +++ b/modules/core/templates/frontpage_auth.tpl.php @@ -1,5 +1,6 @@ <?php +$this->data['header'] = $this->t('{core:frontpage:page_title}'); $this->includeAtTemplateBase('includes/header.php'); ?> diff --git a/modules/core/templates/frontpage_config.tpl.php b/modules/core/templates/frontpage_config.tpl.php index 5e0f63a927b90a2d2f62b0928d8cadf15ba16d28..9e7d1fdc6d8ad4c0770f60d99a4f4cd3e0876c77 100644 --- a/modules/core/templates/frontpage_config.tpl.php +++ b/modules/core/templates/frontpage_config.tpl.php @@ -1,10 +1,7 @@ -<?php - - - -$this->includeAtTemplateBase('includes/header.php'); - +<?php +$this->data['header'] = $this->t('{core:frontpage:page_title}'); +$this->includeAtTemplateBase('includes/header.php'); ?> diff --git a/modules/core/templates/frontpage_federation.tpl.php b/modules/core/templates/frontpage_federation.tpl.php index e1b3ce4f89b71f88a1ab489edb162cde9128d2ba..55c827dd4a21452ec5374212523444faa48edb4b 100644 --- a/modules/core/templates/frontpage_federation.tpl.php +++ b/modules/core/templates/frontpage_federation.tpl.php @@ -1,10 +1,7 @@ -<?php - - - -$this->includeAtTemplateBase('includes/header.php'); - +<?php +$this->data['header'] = $this->t('{core:frontpage:page_title}'); +$this->includeAtTemplateBase('includes/header.php'); ?> diff --git a/modules/core/templates/frontpage_welcome.tpl.php b/modules/core/templates/frontpage_welcome.tpl.php index 4d36927ad44c8d9b78c3ddd917dfa0387c8c63ea..1809a676d5610fb242c50026f1689478ccdf59a7 100644 --- a/modules/core/templates/frontpage_welcome.tpl.php +++ b/modules/core/templates/frontpage_welcome.tpl.php @@ -1,5 +1,6 @@ <?php +$this->data['header'] = $this->t('{core:frontpage:page_title}'); $this->includeAtTemplateBase('includes/header.php'); ?> diff --git a/modules/core/www/frontpage_auth.php b/modules/core/www/frontpage_auth.php index 506bf2e9a04fe0c16f8a6ad2200d62a27763b00b..6ba33d18e520fa1c7af925a008abe5ba2f4361eb 100644 --- a/modules/core/www/frontpage_auth.php +++ b/modules/core/www/frontpage_auth.php @@ -59,8 +59,6 @@ $t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_auth.tpl.php'); $t->data['pageid'] = 'frontpage_auth'; $t->data['isadmin'] = $isadmin; $t->data['loginurl'] = $loginurl; -$t->data['header'] = 'simpleSAMLphp installation page'; - $t->data['links'] = $links; $t->data['links_welcome'] = $links_welcome; diff --git a/modules/core/www/frontpage_config.php b/modules/core/www/frontpage_config.php index 453fba3d9d4983f41a5a822344479f32d25a72bb..bbba51944b860f487a15cbd62db4fae364eb57ac 100644 --- a/modules/core/www/frontpage_config.php +++ b/modules/core/www/frontpage_config.php @@ -129,7 +129,6 @@ $t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_config.tpl.php'); $t->data['pageid'] = 'frontpage_config'; $t->data['isadmin'] = $isadmin; $t->data['loginurl'] = $loginurl; -$t->data['header'] = 'simpleSAMLphp installation page'; $t->data['warnings'] = $warnings; diff --git a/modules/core/www/frontpage_federation.php b/modules/core/www/frontpage_federation.php index 51d779cfaf496563641bd75bea29d8e00c2b07bf..436a820821d199c0e94fa1c8df8261bf4dfb7b5d 100644 --- a/modules/core/www/frontpage_federation.php +++ b/modules/core/www/frontpage_federation.php @@ -139,7 +139,6 @@ $t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_federation.tpl.php') $t->data['pageid'] = 'frontpage_federation'; $t->data['isadmin'] = $isadmin; $t->data['loginurl'] = $loginurl; -$t->data['header'] = 'simpleSAMLphp installation page'; $t->data['links'] = $links; diff --git a/modules/core/www/frontpage_welcome.php b/modules/core/www/frontpage_welcome.php index bd905f882701c9793cf735fb32fbc4d7cde46ebf..73bc7cf11136566d7a3d3ce2ff65df6907010e74 100644 --- a/modules/core/www/frontpage_welcome.php +++ b/modules/core/www/frontpage_welcome.php @@ -51,7 +51,6 @@ $t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_welcome.tpl.php'); $t->data['pageid'] = 'frontpage_welcome'; $t->data['isadmin'] = $isadmin; $t->data['loginurl'] = $loginurl; -$t->data['header'] = 'simpleSAMLphp installation page'; $t->data['links'] = $links; $t->data['links_welcome'] = $links_welcome;