ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
frontpage_welcome.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
9<?php
10if ($this->data['isadmin']) {
11 echo '<p class="float-r youareadmin">' . $this->t('{core:frontpage:loggedin_as_admin}') . '</p>';
12} else {
13 echo '<p class="float-r youareadmin"><a href="' . $this->data['loginurl'] . '">' . $this->t('{core:frontpage:login_as_admin}') . '</a></p>';
14}
15?>
16
17<p><?php echo $this->t('{core:frontpage:intro}'); ?></p>
18
19
20<ul>
21<?php
22 foreach ($this->data['links_welcome'] AS $link) {
23 echo '<li><a href="' . htmlspecialchars($link['href']) . '">' . $this->t($link['text']) . '</a></li>';
24 }
25?>
26</ul>
27
28
29
30 <h2><?php echo $this->t('{core:frontpage:about_header}'); ?></h2>
31 <p><?php echo $this->t('{core:frontpage:about_text}'); ?></p>
32
33
34
35
36<?php $this->includeAtTemplateBase('includes/footer.php');
An exception for terminatinating execution or to throw for unit testing.
$this data['header']