From 6c07db487164262f9191ad02805523bd153e0ba6 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Mon, 15 Jun 2015 14:19:11 +0545 Subject: Code spacing and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting. --- usr/local/www/system_firmware_check.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr/local/www/system_firmware_check.php') diff --git a/usr/local/www/system_firmware_check.php b/usr/local/www/system_firmware_check.php index 458e071..d240a63 100644 --- a/usr/local/www/system_firmware_check.php +++ b/usr/local/www/system_firmware_check.php @@ -47,7 +47,7 @@ require("guiconfig.inc"); require_once("pfsense-utils.inc"); $curcfg = $config['system']['firmware']; -$pgtitle=array(gettext("System"), gettext("Firmware"), gettext("Auto Update")); +$pgtitle = array(gettext("System"), gettext("Firmware"), gettext("Auto Update")); include("head.inc"); ?> @@ -191,13 +191,13 @@ echo "//]]>\n"; echo "\n"; $txt = gettext("A new version is now available") . "\\n\\n"; -$txt .= gettext("Current version") .": ". $current_installed_version . "\\n"; +$txt .= gettext("Current version") . ": " . $current_installed_version . "\\n"; if ($g['platform'] == "nanobsd") { $txt .= " " . gettext("NanoBSD Size") . " : " . trim(file_get_contents("/etc/nanosize.txt")) . "\\n"; } -$txt .= " " . gettext("Built On") .": ". $current_installed_buildtime . "\\n"; -$txt .= " " . gettext("New version") .": ". htmlspecialchars($remote_version, ENT_QUOTES | ENT_HTML401). "\\n\\n"; -$txt .= " " . gettext("Update source") .": ". $updater_url . "\\n"; +$txt .= " " . gettext("Built On") . ": " . $current_installed_buildtime . "\\n"; +$txt .= " " . gettext("New version") . ": " . htmlspecialchars($remote_version, ENT_QUOTES | ENT_HTML401). "\\n\\n"; +$txt .= " " . gettext("Update source") . ": " . $updater_url . "\\n"; update_output_window($txt); ?>

-- cgit v1.1