From ae6e0cf8e32450fd8ffdd484627b76fcc266548b Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Mon, 12 Dec 2011 10:10:51 +0000
Subject: [PATCH] status-page: Fix spelling errors on status-page and add
 summary on attribute table.

Thanks to Dick Visser for fixing this!

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3000 44740490-163a-0410-bde0-09ae8108e29a
---
 dictionaries/status.definition.json | 2 +-
 templates/status.php                | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dictionaries/status.definition.json b/dictionaries/status.definition.json
index 09942ff4b..492f754c5 100644
--- a/dictionaries/status.definition.json
+++ b/dictionaries/status.definition.json
@@ -15,7 +15,7 @@
 		"en": "Some error occurred"
 	},
 	"intro": {
-		"en": "Hi, this is the status page of simpleSAMLphp. Here you can see if your session is timed out, how long it lasts until it times out and all the attributes that is attached to your session."
+		"en": "Hi, this is the status page of SimpleSAMLphp. Here you can see if your session is timed out, how long it lasts until it times out and all the attributes that are attached to your session."
 	},
 	"validfor": {
 		"en": "Your session is valid for %SECONDS% seconds from now."
diff --git a/templates/status.php b/templates/status.php
index 401f2e823..9f369d699 100644
--- a/templates/status.php
+++ b/templates/status.php
@@ -25,7 +25,7 @@ if(isset($this->data['sessionsize'])) {
 <h2><?php echo($this->t('{status:attributes_header}')); ?></h2>
 
 <?php
-// consent style listng start
+// consent style listing start
 $attributes = $this->data['attributes'];
 
 function present_list($attr) {
@@ -59,7 +59,8 @@ function present_attributes($t, $attributes, $nameParent) {
 	$alternate = array('odd', 'even'); $i = 0;
 	
 	$parentStr = (strlen($nameParent) > 0)? strtolower($nameParent) . '_': '';
-	$str = (strlen($nameParent) > 0)? '<table class="attributes">': '<table id="table_with_attributes"  class="attributes">';
+	$str = (strlen($nameParent) > 0)? '<table class="attributes" summary="attribute overview">':
+		'<table id="table_with_attributes"  class="attributes" summary="attribute overview">';
 
 	foreach ($attributes as $name => $value) {
 	
-- 
GitLab