Revision: 2248
Author: olavmrk
Date: Tue Apr 6 22:52:13 2010
Log: frontpage: Make page title translateable.
http://code.google.com/p/simplesamlphp/source/detail?r=2248
Modified:
/trunk/modules/core/dictionaries/frontpage.definition.json
/trunk/modules/core/templates/frontpage_auth.tpl.php
/trunk/modules/core/templates/frontpage_config.tpl.php
/trunk/modules/core/templates/frontpage_federation.tpl.php
/trunk/modules/core/templates/frontpage_welcome.tpl.php
/trunk/modules/core/www/frontpage_auth.php
/trunk/modules/core/www/frontpage_config.php
/trunk/modules/core/www/frontpage_federation.php
/trunk/modules/core/www/frontpage_welcome.php
=======================================
--- /trunk/modules/core/dictionaries/frontpage.definition.json Tue Jan 12
03:33:22 2010
+++ /trunk/modules/core/dictionaries/frontpage.definition.json Tue Apr 6
22:52:13 2010
@@ -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."
},
=======================================
--- /trunk/modules/core/templates/frontpage_auth.tpl.php Mon Oct 5
06:01:29 2009
+++ /trunk/modules/core/templates/frontpage_auth.tpl.php Tue Apr 6
22:52:13 2010
@@ -1,5 +1,6 @@
<?php
+$this->data['header'] = $this->t('{core:frontpage:page_title}');
$this->includeAtTemplateBase('includes/header.php');
?>
=======================================
--- /trunk/modules/core/templates/frontpage_config.tpl.php Wed Jan 13
04:17:03 2010
+++ /trunk/modules/core/templates/frontpage_config.tpl.php Tue Apr 6
22:52:13 2010
@@ -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');
?>
=======================================
--- /trunk/modules/core/templates/frontpage_federation.tpl.php Wed Feb 10
03:32:00 2010
+++ /trunk/modules/core/templates/frontpage_federation.tpl.php Tue Apr 6
22:52:13 2010
@@ -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');
?>
=======================================
--- /trunk/modules/core/templates/frontpage_welcome.tpl.php Thu Aug 27
07:05:39 2009
+++ /trunk/modules/core/templates/frontpage_welcome.tpl.php Tue Apr 6
22:52:13 2010
@@ -1,5 +1,6 @@
<?php
+$this->data['header'] = $this->t('{core:frontpage:page_title}');
$this->includeAtTemplateBase('includes/header.php');
?>
=======================================
--- /trunk/modules/core/www/frontpage_auth.php Wed Jan 13 04:16:02 2010
+++ /trunk/modules/core/www/frontpage_auth.php Tue Apr 6 22:52:13 2010
@@ -59,8 +59,6 @@
$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;
=======================================
--- /trunk/modules/core/www/frontpage_config.php Wed Jan 13 04:17:23 2010
+++ /trunk/modules/core/www/frontpage_config.php Tue Apr 6 22:52:13 2010
@@ -129,7 +129,6 @@
$t->data['pageid'] = 'frontpage_config';
$t->data['isadmin'] = $isadmin;
$t->data['loginurl'] = $loginurl;
-$t->data['header'] = 'simpleSAMLphp installation page';
$t->data['warnings'] = $warnings;
=======================================
--- /trunk/modules/core/www/frontpage_federation.php Wed Jan 13 04:16:02
2010
+++ /trunk/modules/core/www/frontpage_federation.php Tue Apr 6 22:52:13
2010
@@ -139,7 +139,6 @@
$t->data['pageid'] = 'frontpage_federation';
$t->data['isadmin'] = $isadmin;
$t->data['loginurl'] = $loginurl;
-$t->data['header'] = 'simpleSAMLphp installation page';
$t->data['links'] = $links;
=======================================
--- /trunk/modules/core/www/frontpage_welcome.php Wed Jan 13 04:16:02 2010
+++ /trunk/modules/core/www/frontpage_welcome.php Tue Apr 6 22:52:13 2010
@@ -51,7 +51,6 @@
$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;
--
You received this message because you are subscribed to the Google Groups
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simplesamlphp-commits?hl=en.