summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-03-14 19:22:10 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-03-14 19:22:10 +0000
commit03c64985bc2fc6f91b905280a1b0366ea88a2a41 (patch)
tree7efb5b5dd39b2c30b0eb6d832af3344ccdff2c4e /usr/local/www
parentee5060449502c103b83c05dcfa794a55f40789ea (diff)
downloadpfsense-03c64985bc2fc6f91b905280a1b0366ea88a2a41.zip
pfsense-03c64985bc2fc6f91b905280a1b0366ea88a2a41.tar.gz
Fix offset footer.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/system_firmware.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index 294996c..66d72a1 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -173,6 +173,7 @@ print_info_box($sig_warning);
upload&quot; below, then choose the image file (<?=$g['platform'];?>-*.tgz)
to be uploaded.<br>Click &quot;Upgrade firmware&quot;
to start the upgrade process.</p>
+ <?php if (!file_exists($d_sysrebootreqd_path)): ?>
<?php if (!file_exists($d_fwupenabled_path)): ?>
<input name="Submit" type="submit" class="formbtn" value="Enable firmware upload">
<?php else: ?>
@@ -183,7 +184,7 @@ print_info_box($sig_warning);
<br><br>
<input name="Submit" type="submit" class="formbtn" value="Upgrade firmware">
<?php endif; else: ?>
-
+ <strong>You must reboot the system before you can upgrade the firmware.</strong>
<?php endif; ?>
</td>
</td>
@@ -201,7 +202,7 @@ print_info_box($sig_warning);
</table>
</form>
-<?php endif; ?>
+<?php endif; endif; ?>
<?php include("fend.inc"); ?>
</body>
</html>
OpenPOWER on IntegriCloud