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

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
parent e48ca45f
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"en": "Some error occurred" "en": "Some error occurred"
}, },
"intro": { "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": { "validfor": {
"en": "Your session is valid for %SECONDS% seconds from now." "en": "Your session is valid for %SECONDS% seconds from now."
......
...@@ -25,7 +25,7 @@ if(isset($this->data['sessionsize'])) { ...@@ -25,7 +25,7 @@ if(isset($this->data['sessionsize'])) {
<h2><?php echo($this->t('{status:attributes_header}')); ?></h2> <h2><?php echo($this->t('{status:attributes_header}')); ?></h2>
<?php <?php
// consent style listng start // consent style listing start
$attributes = $this->data['attributes']; $attributes = $this->data['attributes'];
function present_list($attr) { function present_list($attr) {
...@@ -59,7 +59,8 @@ function present_attributes($t, $attributes, $nameParent) { ...@@ -59,7 +59,8 @@ function present_attributes($t, $attributes, $nameParent) {
$alternate = array('odd', 'even'); $i = 0; $alternate = array('odd', 'even'); $i = 0;
$parentStr = (strlen($nameParent) > 0)? strtolower($nameParent) . '_': ''; $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) { foreach ($attributes as $name => $value) {
......
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