1 <div class="setup_outer"> 2 <div class="setup_head_outer"><div class="setup_head"> 3 <h1>Openmailadmin installation</h1> 4 <h2>Step 1 - Environment</h2> 5 </div></div> 6 <div class="setup_body"> 7 <h3>installed software</h3> 8 <table class="settings"> 9 <?php foreach($checks as $check) { ?> 10 <tr> 11 <td><?= $check[0] ?></td> 12 <?php if($check[1]) { ?> 13 <td class="good">yes</td> 14 <?php } else { ?> 15 <td class="bad">no</td> 16 <?php } ?> 17 </tr> 18 <?php } ?> 19 </table> 20 <h3>configuration settings</h3> 21 <table class="settings"> 22 <tr> 23 <th>configuration setting</th> 24 <th>expected</th> 25 <th>currently is</th> 26 <th>result</th> 27 </tr> 28 <?php foreach($reality as $row) { ?> 29 <tr> 30 <td><?= $row['value'] ?></td> 31 <?php if($row['expected']) { ?> 32 <td>On</td> 33 <?php } else { ?> 34 <td>Off</td> 35 <?php } ?> 36 <?php if($row['is']) { ?> 37 <td>On</td> 38 <?php } else { ?> 39 <td>Off</td> 40 <?php } ?> 41 <?php if($row['okay']) { ?> 42 <td class="good">good</td> 43 <?php } else if(!$row['mandatory']) { ?> 44 <td class="tolerated">tolerated</td> 45 <?php } else { ?> 46 <td class="bad">failed</td> 47 <?php } ?> 48 </tr> 49 <?php } ?> 50 </table> 51 <h3>next step</h3> 52 <p>We won't hinder you from proceeding to next step, but beware!</p> 53 <p>If you see something in red letters on this page, your installation doesn't meet requirements. 54 In that case, please install missing software or update your environment and try the tests again.</p> 55 <div class="next_step"><a href="setup.php?step=2" title="next step">proceed to step 2</a></div> 56 </div>