install/includes/stages/sysreqs.php
changeset 852 e1ce6a91469b
parent 851 b98798f6572d
child 857 f3a5a276208c
--- a/install/includes/stages/sysreqs.php	Mon Mar 02 16:46:10 2009 -0500
+++ b/install/includes/stages/sysreqs.php	Mon Mar 02 17:05:27 2009 -0500
@@ -187,6 +187,13 @@
   $warnings[] = $lang->get('sysreqs_req_help_bcmath');
 
 ?>
+
+<form action="install.php?stage=database" method="post">
+<?php
+  echo '<input type="hidden" name="language" value="' . $lang_id . '" />';
+?>
+    
+
 <h3><?php echo $lang->get('sysreqs_heading'); ?></h3>
  <p><?php echo $lang->get('sysreqs_blurb'); ?></p>
  
@@ -211,6 +218,17 @@
   </div>
 <?php
 endif;
+if ( empty($warnings) && !$failed ):
+?>
+  <div class="sysreqs_success">
+    <h3><?php echo $lang->get('sysreqs_summary_pass_title'); ?></h3>
+    <p><?php echo $lang->get('sysreqs_summary_pass_body'); ?></p>
+  </div>
+  <div style="text-align: center;">
+    <input type="submit" value="<?php echo $lang->get('meta_btn_continue'); ?>" />
+  </div>
+<?php
+endif;
 
 if ( $failed ):
 ?>
@@ -450,10 +468,6 @@
 <?php
 if ( !$failed ):
 ?>
-  <form action="install.php?stage=database" method="post">
-    <?php
-      echo '<input type="hidden" name="language" value="' . $lang_id . '" />';
-    ?>
     <table border="0">
     <tr>
       <td>
@@ -468,7 +482,7 @@
       </td>
     </tr>
     </table>
-  </form>
 <?php
 endif;
 ?>
+</form>