From fa09d07ed06554ce090fda524e85ea8fe8d35c44 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Tue, 27 Jan 2009 08:42:39 +0000
Subject: [PATCH] Make login links localized on frontpage

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1201 44740490-163a-0410-bde0-09ae8108e29a
---
 templates/frontpage.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/frontpage.php b/templates/frontpage.php
index 9b82429fd..36ec1e772 100644
--- a/templates/frontpage.php
+++ b/templates/frontpage.php
@@ -18,9 +18,9 @@ $(document).ready(function() {
 $this->includeAtTemplateBase('includes/header.php'); 
 	
 if ($this->data['isadmin']) {
-	echo '<p style="float: right">You are logged in as administrator</p>';
+	echo '<p style="float: right">' . $this->t('loggedin_as_admin') . '</p>';
 } else {
-	echo '<p style="float: right"><a href="' . $this->data['loginurl'] . '">Log in as administrator</a></p>';
+	echo '<p style="float: right"><a href="' . $this->data['loginurl'] . '">' . $this->t('login_as_admin') . '</a></p>';
 }
 
 ?>
-- 
GitLab