ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
no_cookie.tpl.php
Go to the documentation of this file.
1<?php
2
3assert(array_key_exists('retryURL', $this->data));
4$retryURL = $this->data['retryURL'];
5
6$header = htmlspecialchars($this->t('{core:no_cookie:header}'));
7$description = htmlspecialchars($this->t('{core:no_cookie:description}'));
8$retry = htmlspecialchars($this->t('{core:no_cookie:retry}'));
9
10$this->data['header'] = $header;
11$this->includeAtTemplateBase('includes/header.php');
12
13echo('<h2>'.$header.'</h2>');
14echo('<p>'.$description.'</p>');
15
16if ($retryURL !== null) {
17 echo('<ul>');
18 echo('<li><a href="'.htmlspecialchars($retryURL).'" id="retry">'.$retry.'</a></li>');
19 echo('</ul>');
20}
21
22$this->includeAtTemplateBase('includes/footer.php');
An exception for terminatinating execution or to throw for unit testing.