From c04f0d42ec0277599487727088520a60d66f76d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Tue, 26 Aug 2008 07:49:55 +0000
Subject: [PATCH] Adding translation of which SP you arrived from (iframe SLO)

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@836 44740490-163a-0410-bde0-09ae8108e29a
---
 templates/default/logout-iframe.php | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/templates/default/logout-iframe.php b/templates/default/logout-iframe.php
index 752dba3b9..64b1a6d11 100644
--- a/templates/default/logout-iframe.php
+++ b/templates/default/logout-iframe.php
@@ -20,8 +20,13 @@ for (j=1; j<=10; j++) {
 ?>
 
 	<div id="content">
-	
-		<p>You have initiated a <strong>global logout</strong> from the service <strong><?php echo $this->data['requesterName']; ?></strong>. Global logout means you will be logged out from all services connected to this identity provider. This page will show the status of the logout proccess for all of the services you are logged into.</p>
+		<?php
+		
+		$requestername = is_array($this->data['requesterName']) ? 
+			$this->getTranslation($this->data['requesterName']) : $this->data['requesterName'];
+		
+		?>
+		<p>You have initiated a <strong>global logout</strong> from the service <strong><?php echo $requestername; ?></strong>. Global logout means you will be logged out from all services connected to this identity provider. This page will show the status of the logout proccess for all of the services you are logged into.</p>
 	
 
 		<?php
-- 
GitLab