Skip to content
Snippets Groups Projects
Commit c999d7cc authored by Olav Morken's avatar Olav Morken
Browse files

frontpage: Make page title translateable.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2248 44740490-163a-0410-bde0-09ae8108e29a
parent d54b169d
No related branches found
No related tags found
No related merge requests found
{ {
"page_title": {
"en": "simpleSAMLphp installation page"
},
"intro": { "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." "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."
}, },
......
<?php <?php
$this->data['header'] = $this->t('{core:frontpage:page_title}');
$this->includeAtTemplateBase('includes/header.php'); $this->includeAtTemplateBase('includes/header.php');
?> ?>
......
<?php <?php
$this->includeAtTemplateBase('includes/header.php');
$this->data['header'] = $this->t('{core:frontpage:page_title}');
$this->includeAtTemplateBase('includes/header.php');
?> ?>
......
<?php <?php
$this->includeAtTemplateBase('includes/header.php');
$this->data['header'] = $this->t('{core:frontpage:page_title}');
$this->includeAtTemplateBase('includes/header.php');
?> ?>
......
<?php <?php
$this->data['header'] = $this->t('{core:frontpage:page_title}');
$this->includeAtTemplateBase('includes/header.php'); $this->includeAtTemplateBase('includes/header.php');
?> ?>
......
...@@ -59,8 +59,6 @@ $t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_auth.tpl.php'); ...@@ -59,8 +59,6 @@ $t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_auth.tpl.php');
$t->data['pageid'] = 'frontpage_auth'; $t->data['pageid'] = 'frontpage_auth';
$t->data['isadmin'] = $isadmin; $t->data['isadmin'] = $isadmin;
$t->data['loginurl'] = $loginurl; $t->data['loginurl'] = $loginurl;
$t->data['header'] = 'simpleSAMLphp installation page';
$t->data['links'] = $links; $t->data['links'] = $links;
$t->data['links_welcome'] = $links_welcome; $t->data['links_welcome'] = $links_welcome;
......
...@@ -129,7 +129,6 @@ $t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_config.tpl.php'); ...@@ -129,7 +129,6 @@ $t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_config.tpl.php');
$t->data['pageid'] = 'frontpage_config'; $t->data['pageid'] = 'frontpage_config';
$t->data['isadmin'] = $isadmin; $t->data['isadmin'] = $isadmin;
$t->data['loginurl'] = $loginurl; $t->data['loginurl'] = $loginurl;
$t->data['header'] = 'simpleSAMLphp installation page';
$t->data['warnings'] = $warnings; $t->data['warnings'] = $warnings;
......
...@@ -139,7 +139,6 @@ $t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_federation.tpl.php') ...@@ -139,7 +139,6 @@ $t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_federation.tpl.php')
$t->data['pageid'] = 'frontpage_federation'; $t->data['pageid'] = 'frontpage_federation';
$t->data['isadmin'] = $isadmin; $t->data['isadmin'] = $isadmin;
$t->data['loginurl'] = $loginurl; $t->data['loginurl'] = $loginurl;
$t->data['header'] = 'simpleSAMLphp installation page';
$t->data['links'] = $links; $t->data['links'] = $links;
......
...@@ -51,7 +51,6 @@ $t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_welcome.tpl.php'); ...@@ -51,7 +51,6 @@ $t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_welcome.tpl.php');
$t->data['pageid'] = 'frontpage_welcome'; $t->data['pageid'] = 'frontpage_welcome';
$t->data['isadmin'] = $isadmin; $t->data['isadmin'] = $isadmin;
$t->data['loginurl'] = $loginurl; $t->data['loginurl'] = $loginurl;
$t->data['header'] = 'simpleSAMLphp installation page';
$t->data['links'] = $links; $t->data['links'] = $links;
$t->data['links_welcome'] = $links_welcome; $t->data['links_welcome'] = $links_welcome;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment