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

templates/status.php: Make session validity optional.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2594 44740490-163a-0410-bde0-09ae8108e29a
parent 1684c674
No related branches found
No related tags found
No related merge requests found
...@@ -12,9 +12,11 @@ $this->includeAtTemplateBase('includes/header.php'); ...@@ -12,9 +12,11 @@ $this->includeAtTemplateBase('includes/header.php');
<p><?php echo($this->t('{status:intro}')); ?></p> <p><?php echo($this->t('{status:intro}')); ?></p>
<p><?php echo($this->t('{status:validfor}', array('%SECONDS%' => $this->data['remaining']))); ?></p>
<?php <?php
if (isset($this->data['remaining'])) {
echo('<p>' . $this->t('{status:validfor}', array('%SECONDS%' => $this->data['remaining'])) . '</p>');
}
if(isset($this->data['sessionsize'])) { if(isset($this->data['sessionsize'])) {
echo('<p>' . $this->t('{status:sessionsize}', array('%SIZE%' => $this->data['sessionsize'])) . '</p>'); echo('<p>' . $this->t('{status:sessionsize}', array('%SIZE%' => $this->data['sessionsize'])) . '</p>');
} }
......
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