PHP Classes

File: web/SSO/templates/logout.php

Recommend this page to a friend!
  Classes of william amed   Raptor 2   web/SSO/templates/logout.php   Download  
File: web/SSO/templates/logout.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: 516 bytes
 

Contents

Class file image Download
<?php

$this
->data['header'] = $this->t('{logout:title}');

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



echo(
'<h2>' . $this->data['header'] . '</h2>');
echo(
'<p>' . $this->t('{logout:logged_out_text}') . '</p>');

if(
$this->getTag($this->data['text']) !== NULL) {
   
$this->data['text'] = $this->t($this->data['text']);
}
echo(
'<p>[ <a href="' . htmlspecialchars($this->data['link']) . '">' .
   
htmlspecialchars($this->data['text']) . '</a> ]</p>');

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

?>