2 if (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'])) {
15 echo($this->t(
'{status:some_error_occurred}'));
18 <
p><?
php echo($this->t(
'{status:intro}')); ?></
p>
21 if (isset($this->
data[
'remaining'])) {
22 echo(
'<p>'.$this->t(
'{status:validfor}', array(
'%SECONDS%' => $this->
data[
'remaining'])).
'</p>');
25 if (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)) {
65 echo
"<h2>".$this->t(
'{status:authData_header}').
"</h2>";
66 echo
'<details><summary>' . $this->t(
'{status:authData_summary}') .
'</summary>';
67 echo(
'<pre>' . htmlspecialchars(json_encode($this->
data[
'authData'], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)) .
'</pre>');
70 if (isset($this->
data[
'logout'])) {
71 echo(
'<h2>'.$this->t(
'{status:logout}').
'</h2>');
72 echo(
'<p>'.$this->
data[
'logout'].
'</p>');
75 if (isset($this->
data[
'logouturl'])) {
76 echo(
'<a href="'.htmlspecialchars($this->
data[
'logouturl']).
'">'.$this->t(
'{status:logout}').
'</a>');
79 $this->includeAtTemplateBase(
'includes/footer.php');
if(isset($_REQUEST['delete'])) $list
present_attributes($t, $attributes, $nameParent)
Recursive attribute array listing function.