ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
X509warning.php
Go to the documentation of this file.
1<?php
2
13$warning = $this->t('{authX509:X509warning:warning}', array(
14 '%days%' => htmlspecialchars($this->data['daysleft']),
15));
16
17if( $this->data['renewurl']) {
18 $warning .= " " . $this->t('{authX509:X509warning:renew_url}', array(
19 '%renewurl%' => $this->data['renewurl'],
20 ));
21} else {
22 $warning .= " " . $this->t('{authX509:X509warning:renew}');
23}
24
25$this->data['header'] = $this->t('{authX509:X509warning:warning_header}');
26$this->data['autofocus'] = 'proceedbutton';
27
28$this->includeAtTemplateBase('includes/header.php');
29
30?>
31
32<form style="display: inline; margin: 0px; padding: 0px" action="<?php echo htmlspecialchars($this->data['target']); ?>">
33
34 <?php
35 // Embed hidden fields...
36 foreach ($this->data['data'] as $name => $value) {
37 echo('<input type="hidden" name="' . htmlspecialchars($name) . '" value="' . htmlspecialchars($value) . '" />');
38 }
39 ?>
40 <p><?php echo $warning; ?></p>
41
42 <input type="submit" name="proceed" id="proceedbutton" value="<?php echo htmlspecialchars($this->t('{authX509:X509warning:proceed}')) ?>" />
43
44</form>
45
46
47<?php
48$this->includeAtTemplateBase('includes/footer.php');
$warning
Definition: X509warning.php:13
$this data['header']
Definition: X509warning.php:25
An exception for terminatinating execution or to throw for unit testing.
input
Definition: langcheck.php:166