rciam-theme/themes/ssp/authorize/authorize_403.php

29 lines
796 B
PHP
Raw Normal View History

<?php
/**
* Template which is shown when there is only a short interval since the user was last authenticated.
*
* Parameters:
* - 'target': Target URL.
* - 'params': Parameters which should be included in the request.
*
* @package SimpleSAMLphp
*/
$this->data['403_header'] = $this->t('{authorize:Authorize:403_header}');
$this->data['403_text'] = $this->t('{authorize:Authorize:403_text}');
$this->includeAtTemplateBase('includes/header.php');
?>
<h2><?php echo $this->data['403_header']; ?></h2>
<p><?php echo $this->data['403_text']; ?></p>
<?php
if (isset($this->data['LogoutURL'])) {
?>
<p><a href="<?php echo htmlspecialchars($this->data['LogoutURL']); ?>"><?php echo $this->t('{status:logout}'); ?></a></p>
<?php
}
?>
<?php
$this->includeAtTemplateBase('includes/footer.php');