function install_output_to_browser
Search API
7.x install.php | install_output_to_browser($page_content, $page_title = "Install FlightPath 7") |
6.x install.php | install_output_to_browser($page_content, $page_title = "Install FlightPath 6") |
3 calls to install_output_to_browser()
- install_display_db_form in ./
install.php - Displays the form to let a user set up a new database
- install_display_lang_selection in ./
install.php - install_display_requirements in ./
install.php - Displays the requirements on screen for the user.
File
- ./
install.php, line 684 - This is the initial installation file for FlightPath.
Code
function install_output_to_browser($page_content, $page_title = "Install FlightPath 7") {
print "
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
<title>$page_title</title>
<style>
body
{
font-family: Arial, Helvetica, sans serif;
background-color: white;
}
.top-banner {
width: 820px; /* the size of page-content + padding */
margin-left: auto;
margin-right: auto;
margin-bottom: 1.2em;
background-color: white;
border: 3px solid #ccc;
border-radius: 5px;
}
/* Page content */
.page-content {
width: 800px;
min-height: 400px;
margin-top: 50px;
margin-left: auto;
margin-right: auto;
padding-left: 10px;
padding-right: 10px;
padding-top: 5px;
padding-bottom: 50px;
border: 1px solid #ccc;
box-shadow: 1px 1px 50px #ccc;
border-radius: 5px;
background-color: white;
}
.page-is-popup .page-content {
min-height: 250px;
width: 90%;
}
</style>
</head>
<body>
<div class='page-content'>
$page_content
</div>
</body>
</html>
";
}