ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
warning.php
Go to the documentation of this file.
1<?php
2
20$this->data['header'] = $this->t('{preprodwarning:warning:warning_header}');
21$this->data['autofocus'] = 'yesbutton';
22
23$this->includeAtTemplateBase('includes/header.php');
24
25?>
26
27<form style="display: inline; margin: 0px; padding: 0px" action="<?php echo htmlspecialchars($this->data['yesTarget']); ?>">
28
29 <?php
30 // Embed hidden fields...
31 foreach ($this->data['yesData'] as $name => $value) {
32 echo('<input type="hidden" name="' . htmlspecialchars($name) . '" value="' . htmlspecialchars($value) . '" />');
33 }
34 ?>
35 <p><?php echo $this->t('{preprodwarning:warning:warning}'); ?></p>
36
37 <input type="submit" name="yes" id="yesbutton" value="<?php echo htmlspecialchars($this->t('{preprodwarning:warning:yes}')) ?>" />
38
39</form>
40
41
42<?php
43
44$this->includeAtTemplateBase('includes/footer.php');
An exception for terminatinating execution or to throw for unit testing.
input
Definition: langcheck.php:166
$this data['header']
Definition: warning.php:20