' . $this->t('{logout:loggedoutfrom}', array('%SP%' => '' .htmlspecialchars($from).'')) . '
'); echo(''); echo('data['id']; $type = $this->data['type']; $from = $this->data['from']; $SPs = $this->data['SPs']; $stateImage = array( 'unsupported' => '/' . $this->data['baseurlpath'] . 'resources/icons/silk/delete.png', 'completed' => '/' . $this->data['baseurlpath'] . 'resources/icons/silk/accept.png', 'onhold' => '/' . $this->data['baseurlpath'] . 'resources/icons/bullet16_grey.png', 'inprogress' => '/' . $this->data['baseurlpath'] . 'resources/progress.gif', 'failed' => '/' . $this->data['baseurlpath'] . 'resources/icons/silk/exclamation.png', ); $stateText = array( 'unsupported' => '', 'completed' => $this->t('{logout:completed}'), 'onhold' => '', 'inprogress' => $this->t('{logout:progress}'), 'failed' => $this->t('{logout:failed}'), ); $spStatus = array(); $spTimeout = array(); $nFailed = 0; $nProgress = 0; foreach ($SPs as $assocId => $sp) { assert('isset($sp["core:Logout-IFrame:State"])'); $state = $sp['core:Logout-IFrame:State']; $spStatus[sha1($assocId)] = $state; if (isset($sp['core:Logout-IFrame:Timeout'])) { $spTimeout[sha1($assocId)] = $sp['core:Logout-IFrame:Timeout'] - time(); } else { $spTimeout[sha1($assocId)] = 5; } if ($state === 'failed') { $nFailed += 1; } elseif ($state === 'inprogress') { $nProgress += 1; } } if ($from !== NULL) { $from = $this->getTranslation($from); } if (!isset($this->data['head'])) { $this->data['head'] = ''; } $this->data['head'] .= ''; $this->data['head'] .= ' '; $this->data['head'] .= ''; if ($type === 'embed') { $this->data['head'] .= ''; } $this->data['header'] = $this->t('{logout:progress}'); if ($type === 'embed') { $this->includeAtTemplateBase('includes/header-embed.php'); } else { $this->includeAtTemplateBase('includes/header.php'); } ?>
' . $this->t('{logout:loggedoutfrom}', array('%SP%' => '' .htmlspecialchars($from).'')) . '
'); echo(''); echo(''); if ($type === 'init') { echo($this->t('{logout:also_from}')); } else { echo($this->t('{logout:logging_out_from}')); } echo('
'); echo ''; echo ' | '; echo ''; echo ' | '; echo '' . htmlspecialchars($spName) . ' | '; echo '
t('{logout:logout_all_question}'); ?>
' . $this->t('{logout:failedsps}') . '
'); echo(''); echo('