ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
X509error.php
Go to the documentation of this file.
1 <?php
2 $this->data['header'] = $this->t('{authX509:X509error:certificate_header}');
3 
4 $this->includeAtTemplateBase('includes/header.php');
5 
6 ?>
7 
8 <?php
9 if ($this->data['errorcode'] !== null) {
10 ?>
11  <div style="border-left: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; background: #f5f5f5">
12  <img src="/<?php echo $this->data['baseurlpath']; ?>resources/icons/experience/gtk-dialog-error.48x48.png" class="float-l" style="margin: 15px" alt="" />
13  <h2><?php echo $this->t('{login:error_header}'); ?></h2>
14  <p><b><?php echo $this->t($this->data['errorcodes']['title'][$this->data['errorcode']]); ?></b></p>
15  <p><?php echo $this->t($this->data['errorcodes']['descr'][$this->data['errorcode']]); ?></p>
16  </div>
17 <?php
18 }
19 ?>
20  <h2 style="break: both"><?php echo $this->t('{authX509:X509error:certificate_header}'); ?></h2>
21 
22  <p><?php echo $this->t('{authX509:X509error:certificate_text}'); ?></p>
23 
24  <a href="<?php echo htmlspecialchars(\SimpleSAML\Utils\HTTP::getSelfURL()); ?>">
25  <?php echo $this->t('{login:login_button}'); ?>
26  </a>
27 
28 <?php
29 
30 if(!empty($this->data['links'])) {
31  echo '<ul class="links" style="margin-top: 2em">';
32  foreach($this->data['links'] AS $l) {
33  echo '<li><a href="' . htmlspecialchars($l['href']) . '">' . htmlspecialchars($this->t($l['text'])) . '</a></li>';
34  }
35  echo '</ul>';
36 }
37 
38 
39 
40 
41 $this->includeAtTemplateBase('includes/footer.php');
"color:#CC0000 style
Definition: example_001.php:92
$this data['header']
Definition: X509error.php:2
global $l
Definition: afr.php:30