install/includes/stages/sysreqs.php
changeset 852 e1ce6a91469b
parent 851 b98798f6572d
child 857 f3a5a276208c
equal deleted inserted replaced
851:b98798f6572d 852:e1ce6a91469b
   185 $req_bcmath = function_exists('bcadd');
   185 $req_bcmath = function_exists('bcadd');
   186 if ( !$req_bcmath && !$req_bigint && !$req_gmp )
   186 if ( !$req_bcmath && !$req_bigint && !$req_gmp )
   187   $warnings[] = $lang->get('sysreqs_req_help_bcmath');
   187   $warnings[] = $lang->get('sysreqs_req_help_bcmath');
   188 
   188 
   189 ?>
   189 ?>
       
   190 
       
   191 <form action="install.php?stage=database" method="post">
       
   192 <?php
       
   193   echo '<input type="hidden" name="language" value="' . $lang_id . '" />';
       
   194 ?>
       
   195     
       
   196 
   190 <h3><?php echo $lang->get('sysreqs_heading'); ?></h3>
   197 <h3><?php echo $lang->get('sysreqs_heading'); ?></h3>
   191  <p><?php echo $lang->get('sysreqs_blurb'); ?></p>
   198  <p><?php echo $lang->get('sysreqs_blurb'); ?></p>
   192  
   199  
   193 <?php
   200 <?php
   194 if ( !empty($warnings) ):
   201 if ( !empty($warnings) ):
   209     <h3><?php echo $lang->get('sysreqs_err_no_dbms_title'); ?></h3>
   216     <h3><?php echo $lang->get('sysreqs_err_no_dbms_title'); ?></h3>
   210     <p><?php echo $lang->get('sysreqs_err_no_dbms_body'); ?></p>
   217     <p><?php echo $lang->get('sysreqs_err_no_dbms_body'); ?></p>
   211   </div>
   218   </div>
   212 <?php
   219 <?php
   213 endif;
   220 endif;
       
   221 if ( empty($warnings) && !$failed ):
       
   222 ?>
       
   223   <div class="sysreqs_success">
       
   224     <h3><?php echo $lang->get('sysreqs_summary_pass_title'); ?></h3>
       
   225     <p><?php echo $lang->get('sysreqs_summary_pass_body'); ?></p>
       
   226   </div>
       
   227   <div style="text-align: center;">
       
   228     <input type="submit" value="<?php echo $lang->get('meta_btn_continue'); ?>" />
       
   229   </div>
       
   230 <?php
       
   231 endif;
   214 
   232 
   215 if ( $failed ):
   233 if ( $failed ):
   216 ?>
   234 ?>
   217   <div class="sysreqs_error">
   235   <div class="sysreqs_error">
   218     <h3><?php echo $lang->get('sysreqs_summary_fail_title'); ?></h3>
   236     <h3><?php echo $lang->get('sysreqs_summary_fail_title'); ?></h3>
   448 </table>
   466 </table>
   449 
   467 
   450 <?php
   468 <?php
   451 if ( !$failed ):
   469 if ( !$failed ):
   452 ?>
   470 ?>
   453   <form action="install.php?stage=database" method="post">
       
   454     <?php
       
   455       echo '<input type="hidden" name="language" value="' . $lang_id . '" />';
       
   456     ?>
       
   457     <table border="0">
   471     <table border="0">
   458     <tr>
   472     <tr>
   459       <td>
   473       <td>
   460         <input type="submit" value="<?php echo $lang->get('meta_btn_continue'); ?>" />
   474         <input type="submit" value="<?php echo $lang->get('meta_btn_continue'); ?>" />
   461       </td>
   475       </td>
   466           &bull; <?php echo $lang->get('license_objective_have_db_info'); ?>
   480           &bull; <?php echo $lang->get('license_objective_have_db_info'); ?>
   467         </p>
   481         </p>
   468       </td>
   482       </td>
   469     </tr>
   483     </tr>
   470     </table>
   484     </table>
   471   </form>
       
   472 <?php
   485 <?php
   473 endif;
   486 endif;
   474 ?>
   487 ?>
       
   488 </form>