summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizard.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-13 16:18:38 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-13 16:18:38 +0000
commitfe2bfbfce14a343722b933ed7a343af8ef77ffc2 (patch)
tree8bb8932d853a2dc38272357ff65b3c3b2db0b8e3 /usr/local/www/wizard.php
parenta15b7fdb47a84cee231c27f0086193a7026132eb (diff)
downloadpfsense-fe2bfbfce14a343722b933ed7a343af8ef77ffc2.zip
pfsense-fe2bfbfce14a343722b933ed7a343af8ef77ffc2.tar.gz
If the wizard step title is Reload in progress then set the top image url to the LAN ip so that it matches what the system will try to access in 120 seconds.
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-xusr/local/www/wizard.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index d328d40..b7a00ba 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -197,8 +197,14 @@ function enablechange() {
<center>
&nbsp;<br>
+<?php
+ if($title == "Reload in progress")
+ $ip = "http://{$config['interfacs']['lan']['ipaddr']}";
+ else
+ $ip = "/";
+?>
-<a href="/"><img border="0" src="./themes/<?= $g['theme']; ?>/images/logo.gif"></a>
+<a href="<?php echo $ip; ?>"><img border="0" src="./themes/<?= $g['theme']; ?>/images/logo.gif"></a>
<p>
<div style="width:700px;background-color:#ffffff" id="roundme">
OpenPOWER on IntegriCloud