PHP Classes

File: web/SSO/modules/core/templates/no_cookie.tpl.php

Recommend this page to a friend!
  Classes of william amed   Raptor 2   web/SSO/modules/core/templates/no_cookie.tpl.php   Download  
File: web/SSO/modules/core/templates/no_cookie.tpl.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 669 bytes
 

Contents

Class file image Download
<?php

assert
('array_key_exists("retryURL", $this->data)');
$retryURL = $this->data['retryURL'];

$header = htmlspecialchars($this->t('{core:no_cookie:header}'));
$description = htmlspecialchars($this->t('{core:no_cookie:description}'));
$retry = htmlspecialchars($this->t('{core:no_cookie:retry}'));

$this->data['header'] = $header;
$this->includeAtTemplateBase('includes/header.php');

echo(
'<h2>' . $header . '</h2>');
echo(
'<p>' . $description . '</p>');

if (
$retryURL !== NULL) {
    echo(
'<ul>');
    echo(
'<li><a href="' . htmlspecialchars($retryURL) . '" id="retry">' . $retry . '</a></li>');
    echo(
'</ul>');
}

$this->includeAtTemplateBase('includes/footer.php');