ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 
17 if( $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');
$this data['header']
Definition: X509warning.php:25
"color:#CC0000 style
Definition: example_001.php:92
if($format !==null) $name
Definition: metadata.php:146
$warning
Definition: X509warning.php:13
Create styles array
The data for the language used.