ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
frontpage_auth.tpl.php
Go to the documentation of this file.
1<?php
2
3$this->data['header'] = $this->t('{core:frontpage:page_title}');
4$this->includeAtTemplateBase('includes/header.php');
5
6?>
7
8<?php
9if ($this->data['isadmin']) {
10 echo '<p class="float-r youareadmin">' . $this->t('{core:frontpage:loggedin_as_admin}') . '</p>';
11} else {
12 echo '<p class="float-r youareadmin"><a href="' . $this->data['loginurl'] . '">' . $this->t('{core:frontpage:login_as_admin}') . '</a></p>';
13}
14?>
15
16
17
18<!-- <h2><?php echo $this->t('{core:frontpage:useful_links_header}'); ?></h2> -->
19<ul>
20<?php
21 foreach ($this->data['links_auth'] AS $link) {
22 echo '<li><a href="' . htmlspecialchars($link['href']) . '">' . $this->t($link['text']) . '</a>';
23 if (isset($link['deprecated']) && $link['deprecated']) {
24 echo ' <b>' . $this->t('{core:frontpage:deprecated}') . '</b>';
25 }
26 echo '</li>';
27 }
28?>
29</ul>
30
31
32
33
34<?php $this->includeAtTemplateBase('includes/footer.php');
An exception for terminatinating execution or to throw for unit testing.
$this data['header']