Revision 50d44909
Added by Scott Ullrich almost 15 years ago
usr/local/www/installer.php | ||
---|---|---|
197 | 197 |
$error = true; |
198 | 198 |
echo "\$('installerrunning').innerHTML='<font size=\"2\"><b>An error occurred. Aborting installation.'; "; |
199 | 199 |
echo "\$('progressbar').style.width='100%';\n"; |
200 |
unlink("/tmp/install_complete"); |
|
200 | 201 |
return; |
201 | 202 |
} |
202 | 203 |
$running_old = trim(file_get_contents("/tmp/installer_installer_running")); |
... | ... | |
280 | 281 |
$pfSversion = str_replace("\n", "", file_get_contents("/etc/version")); |
281 | 282 |
if(strstr($pfSversion, "1.2")) |
282 | 283 |
$one_two = true; |
283 |
$pgtitle = "pfSense: Installer";
|
|
284 |
$pgtitle = "{$g['product_name']}: Installer";
|
|
284 | 285 |
include("head.inc"); |
285 | 286 |
echo <<<EOF |
286 | 287 |
<body link="#0000CC" vlink="#0000CC" alink="#0000CC"> |
... | ... | |
369 | 370 |
<tr> |
370 | 371 |
<td class="tabcont" > |
371 | 372 |
<div id="pfsenseinstaller" width="100%"> |
372 |
<div id='installerrunning' width='100%' style="padding:1em; border:1px dashed #000000">
|
|
373 |
<div id='installerrunning' width='100%' style="padding:8px; border:1px dashed #000000">
|
|
373 | 374 |
<table> |
374 | 375 |
<tr> |
375 | 376 |
<td valign="middle"> |
... | ... | |
425 | 426 |
global $g; |
426 | 427 |
echo <<<EOF |
427 | 428 |
<center> |
428 |
<img border="0" src="./themes/{$g['theme']}/images/logo.gif"></a> |
|
429 |
<table cellpadding="5" cellspacing="0" width="640" height="480" style="border:1px solid #000000">
|
|
429 |
<img border="0" src="./themes/{$g['theme']}/images/logo.gif"></a><br/>
|
|
430 |
<table cellpadding="6" cellspacing="0" width="640" height="480" style="border:1px solid #000000">
|
|
430 | 431 |
<tr height="10" bgcolor="#990000"> |
431 | 432 |
<td style="border-bottom:1px solid #000000"> |
432 | 433 |
<font color='white'> |
433 | 434 |
<b> |
434 |
pfSense installer
|
|
435 |
{$g['product_name']} installer
|
|
435 | 436 |
</b> |
436 | 437 |
</font> |
437 | 438 |
</td> |
... | ... | |
469 | 470 |
<form action="installer.php" method="post" state="step1_post"> |
470 | 471 |
<div id="mainlevel"> |
471 | 472 |
<center> |
472 |
<b><font face="arial" size="+2">Welcome to the pfSense PCSysInstaller!</b></font><p/>
|
|
473 |
<font face="arial" size="+1">This utility will install pfSense to a hard disk, flash drive, etc.</font>
|
|
473 |
<b><font face="arial" size="+2">Welcome to the {$g['product_name']} PCSysInstaller!</b></font><p/>
|
|
474 |
<font face="arial" size="+1">This utility will install {$g['product_name']} to a hard disk, flash drive, etc.</font>
|
|
474 | 475 |
<table width="100%" border="0" cellpadding="5" cellspacing="0"> |
475 | 476 |
<tr> |
476 | 477 |
<td> |
... | ... | |
479 | 480 |
<br/> |
480 | 481 |
<center> |
481 | 482 |
Please select an installer option to begin: |
482 |
<table bgcolor="#FFFFFF" class="tabcont" width="100%" border="0" cellpadding="5" cellspacing="5">
|
|
483 |
<table class="tabcont" width="100%" border="0" cellpadding="5" cellspacing="5"> |
|
483 | 484 |
<tr> |
484 | 485 |
<td class="tabcont" > |
485 | 486 |
<div id="pfsenseinstaller"> |
486 | 487 |
<center> |
487 | 488 |
Rescue config.xml<p/> |
488 |
Install pfSense using the <a href="installer.php?state=quickeasyinstall">UFS</a>
|
|
489 |
Install {$g['product_name']} using the <a href="installer.php?state=quickeasyinstall">UFS</a>
|
|
489 | 490 |
or |
490 | 491 |
<a href="installer.php?state=quickeasyinstall&fstype=ZFS">ZFS</a> |
491 | 492 |
filesystem. |
Also available in: Unified diff
Use product_name