Revision 6c07db48
Added by Phil Davis about 10 years ago
usr/local/www/system_firmware_check.php | ||
---|---|---|
47 | 47 |
require_once("pfsense-utils.inc"); |
48 | 48 |
|
49 | 49 |
$curcfg = $config['system']['firmware']; |
50 |
$pgtitle=array(gettext("System"), gettext("Firmware"), gettext("Auto Update"));
|
|
50 |
$pgtitle = array(gettext("System"), gettext("Firmware"), gettext("Auto Update"));
|
|
51 | 51 |
include("head.inc"); |
52 | 52 |
|
53 | 53 |
?> |
... | ... | |
191 | 191 |
echo "</script>\n"; |
192 | 192 |
|
193 | 193 |
$txt = gettext("A new version is now available") . "\\n\\n"; |
194 |
$txt .= gettext("Current version") .": ". $current_installed_version . "\\n";
|
|
194 |
$txt .= gettext("Current version") . ": " . $current_installed_version . "\\n";
|
|
195 | 195 |
if ($g['platform'] == "nanobsd") { |
196 | 196 |
$txt .= " " . gettext("NanoBSD Size") . " : " . trim(file_get_contents("/etc/nanosize.txt")) . "\\n"; |
197 | 197 |
} |
198 |
$txt .= " " . gettext("Built On") .": ". $current_installed_buildtime . "\\n";
|
|
199 |
$txt .= " " . gettext("New version") .": ". htmlspecialchars($remote_version, ENT_QUOTES | ENT_HTML401). "\\n\\n";
|
|
200 |
$txt .= " " . gettext("Update source") .": ". $updater_url . "\\n";
|
|
198 |
$txt .= " " . gettext("Built On") . ": " . $current_installed_buildtime . "\\n";
|
|
199 |
$txt .= " " . gettext("New version") . ": " . htmlspecialchars($remote_version, ENT_QUOTES | ENT_HTML401). "\\n\\n";
|
|
200 |
$txt .= " " . gettext("Update source") . ": " . $updater_url . "\\n";
|
|
201 | 201 |
update_output_window($txt); |
202 | 202 |
?> |
203 | 203 |
</p> |
Also available in: Unified diff
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.