2 $this->
data[
'header'] =
'Sanity check';
3 $this->includeAtTemplateBase(
'includes/header.php');
7 <h2><?php echo($this->
data[
'header']); ?></h2>
10 if (count($this->
data[
'errors']) > 0) {
12 <div
style=
"border: 1px solid #800; background: #caa; margin: 1em; padding: .5em">
13 <p><?php echo
'<img class="float-r" src="/' . $this->
data[
'baseurlpath'] .
'resources/icons/silk/delete.png" alt="Failed" />'; ?>
14 These checks failed:</p>
18 foreach ($this->
data[
'errors'] AS $err) {
19 echo
'<li>' . $err .
'</li>';
28 if (count($this->
data[
'info']) > 0) {
30 <div style=
"border: 1px solid #ccc; background: #eee; margin: 1em; padding: .5em">
31 <p><?php echo
'<img class="float-r" src="/' . $this->
data[
'baseurlpath'] .
'resources/icons/silk/accept.png" alt="OK" />'; ?>
32 These checks succeeded:</p>
35 foreach ($this->
data[
'info'] AS
$i) {
36 echo
'<li>' . $i .
'</li>';
45 <?php $this->includeAtTemplateBase(
'includes/footer.php'); ?>