summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-08-14 21:32:58 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-08-14 21:32:58 -0400
commit374379c68980d3b803452593f9e0fb73fcd12c8b (patch)
tree2b2a365e6dd7d9d616afddd988d27e5493a5f288 /usr
parent4ca6e245c3b58a22753f635ff3c123f3f88fde7d (diff)
downloadpfsense-374379c68980d3b803452593f9e0fb73fcd12c8b.zip
pfsense-374379c68980d3b803452593f9e0fb73fcd12c8b.tar.gz
Move ERROR down into main screen area
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/installer.php13
1 files changed, 10 insertions, 3 deletions
diff --git a/usr/local/www/installer.php b/usr/local/www/installer.php
index 50e9c29..77ff66c 100644
--- a/usr/local/www/installer.php
+++ b/usr/local/www/installer.php
@@ -605,7 +605,7 @@ EOF;
ob_flush();
$disks = installer_find_all_disks();
if(!$disks) {
- $custom_txt = gettext("WARNING: Could not find any suitable disks for installation.");
+ $custom_txt = gettext("ERROR: Could not find any suitable disks for installation.");
} else {
// Prepare disk selection dropdown
$custom_txt = <<<EOF
@@ -676,8 +676,6 @@ function installer_main() {
if(file_exists("/boot/gptzfsboot"))
$zfs_enabled = "<tr bgcolor=\"#9A9A9A\"><td align=\"center\"><a href=\"installer.php?state=verify_before_install&fstype=ZFS\">Easy installation of {$g['product_name']} using the ZFS filesystem on disk {$disk}</a></td></tr>";
$disk = installer_find_first_disk();
- if(!$disk)
- echo gettext("WARNING: Could not find any suitable disks for installation.");
page_table_start();
echo <<<EOF
<form action="installer.php" method="post" state="step1_post">
@@ -699,6 +697,15 @@ function installer_main() {
<td>
<div id="pfsenseinstaller">
<center>
+EOF;
+ if(!$disk) {
+ echo gettext("ERROR: Could not find any suitable disks for installation.");
+ echo "</div></td></tr></table></div></table></div>";
+ end_html();
+ exit;
+ }
+ echo <<<EOF
+
<table cellspacing="5" cellpadding="5" style="border: 1px dashed;">
<tr bgcolor="#CECECE"><td align="center">
<a href="installer.php?state=verify_before_install&disk={$disk}&fstype=UFS">Easy installation of {$g['product_name']} using the UFS filesystem on disk {$disk}</a>
OpenPOWER on IntegriCloud