File: invalid_session.tpl.php

package info (click to toggle)
simplesamlphp 1.19.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 43,240 kB
  • sloc: php: 200,806; javascript: 15,025; xml: 3,336; sh: 265; perl: 82; makefile: 70; python: 5
file content (32 lines) | stat: -rw-r--r-- 1,099 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
/**
 * Template to ask a user whether to logout because of a reauthentication or not.
 *
 * @var \SimpleSAML\XHTML\Template $this
 *
 * @author Jaime Pérez Crespo, UNINETT AS <jaime.perez@uninett.no>
 *
 * @package SimpleSAMLphp
 */

if (!isset($this->data['head'])) {
    $this->data['head'] = '';
}
$this->includeAtTemplateBase('includes/header.php');

$translator = $this->getTranslator();

$params = [
    '%IDP%' => $this->data['idp_name'],
    '%SP%' => $this->data['sp_name'],
];
?>
    <h2><?php echo $translator->t('{saml:proxy:invalid_idp}'); ?></h2>
    <p><?php echo $translator->t('{saml:proxy:invalid_idp_description}', $params); ?></p>
    <form method="post" action="?">
        <input type="hidden" name="AuthState" value="<?php echo htmlspecialchars($this->data['AuthState']); ?>" />
        <input type="submit" name="continue" value="<?php echo $translator->t('{general:yes_continue}'); ?>" />
        <input type="submit" name="cancel" value="<?php echo $translator->t('{general:no_cancel}'); ?>" />
    </form>
<?php
$this->includeAtTemplateBase('includes/footer.php');