2if (array_key_exists(
'header', $this->
data)) {
3 if ($this->getTranslator()->getTag($this->
data[
'header']) !==
null) {
4 $this->
data[
'header'] = $this->t($this->
data[
'header']);
8$this->includeAtTemplateBase(
'includes/header.php');
9$this->includeAtTemplateBase(
'includes/attributes.php');
12 <h2><?
php if (isset($this->
data[
'header'])) {
13 echo($this->
data[
'header']);
15 echo($this->t(
'{status:some_error_occurred}'));
18 <p><?
php echo($this->t(
'{status:intro}')); ?></p>
21if (isset($this->
data[
'remaining'])) {
22 echo(
'<p>'.$this->t(
'{status:validfor}', array(
'%SECONDS%' => $this->
data[
'remaining'])).
'</p>');
25if (isset($this->
data[
'sessionsize'])) {
26 echo(
'<p>'.$this->t(
'{status:sessionsize}', array(
'%SIZE%' => $this->
data[
'sessionsize'])).
'</p>');
29 <h2><?
php echo($this->t(
'{status:attributes_header}')); ?></h2>
39 echo
"<h2>".$this->t(
'{status:subject_header}').
"</h2>";
41 $list = array(
"NameID" => array($this->t(
'{status:subject_notset}')));
42 echo
"<p>NameID: <span class=\"notset\">".$this->t(
'{status:subject_notset}').
"</span></p>";
45 "NameId" => array(
$nameid->value),
47 if (!is_null(
$nameid->Format)) {
48 $list[$this->t(
'{status:subject_format}')] = array(
$nameid->Format);
50 if (!is_null(
$nameid->NameQualifier)) {
53 if (!is_null(
$nameid->SPNameQualifier)) {
54 $list[
'SPNameQualifier'] = array(
$nameid->SPNameQualifier);
56 if (!is_null(
$nameid->SPProvidedID)) {
60 echo(present_attributes($this,
$list,
''));
63if (isset($this->
data[
'logout'])) {
64 echo(
'<h2>'.$this->t(
'{status:logout}').
'</h2>');
65 echo(
'<p>'.$this->
data[
'logout'].
'</p>');
68if (isset($this->
data[
'logouturl'])) {
69 echo(
'<a href="'.htmlspecialchars($this->
data[
'logouturl']).
'">'.$this->t(
'{status:logout}').
'</a>');
72$this->includeAtTemplateBase(
'includes/footer.php');
An exception for terminatinating execution or to throw for unit testing.
if(isset($_REQUEST['delete'])) $list