function install_display_requirements

7.x install.php install_display_requirements($req_array)
6.x install.php install_display_requirements($req_array)
4.x install.php install_display_requirements($req_array)
5.x install.php install_display_requirements($req_array)

Displays the requirements on screen for the user.

1 call to install_display_requirements()
install.php in ./install.php
This is the initial installation file for FlightPath.

File

./install.php, line 556
This is the initial installation file for FlightPath.

Code

function install_display_requirements($req_array) {
  global $lang;

  $pC = "";

  $pC .= "<h2 class='title'>" . st("Check Requirements") . "</h2>
          <p>" . st("The following requirements must be fixed before installation of FlightPath
                  can continue.") . "</p>";

  foreach ($req_array as $req) {
    $pC .= "<div style='padding: 5px; margin: 10px; border: 1px solid red; 
                    font-family: Courier New, serif; font-size:0.9em'>$req</div>";
  }

  $pC .= "<p>" . st("Please fix the problems listed, then reload to try again:") . "
          <br><a href='install.php?lang=$lang'>" . st("Click here to try again") . "</a>";

  // Display the screen
  $page_content = $pC;
  $page_title = "Install FlightPath";
  $page_hide_report_error = TRUE;

  include ("themes/classic/fp_template.php");
}