From bd42727d067c30228ee648f782a8eb71d8fa1202 Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Tue, 1 Apr 2014 16:55:55 +0100 Subject: Tidy up "system_information.widget.php" XHTML Add CDATA secttions to script Remove link to CSS file and place it in HEAD.INC and add "type" --- usr/local/www/head.inc | 1 + usr/local/www/widgets/widgets/system_information.widget.php | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'usr') diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc index 55ed98a..8b2ba82 100755 --- a/usr/local/www/head.inc +++ b/usr/local/www/head.inc @@ -33,6 +33,7 @@ $pagetitle = gentitle( $pgtitle ); + diff --git a/usr/local/www/widgets/widgets/system_information.widget.php b/usr/local/www/widgets/widgets/system_information.widget.php index cf1ebe8..2cb00f2 100644 --- a/usr/local/www/widgets/widgets/system_information.widget.php +++ b/usr/local/www/widgets/widgets/system_information.widget.php @@ -71,10 +71,11 @@ if($_REQUEST['getupdatestatus']) { $needs_system_upgrade = false; if (pfs_version_compare($current_installed_buildtime, $current_installed_version, $remote_version) == -1) { echo "
Update available. Click Here to view update."; - echo ""; + echo "\n\n"; } else echo "
You are on the latest version."; } @@ -86,6 +87,7 @@ $curcfg = $config['system']['firmware']; ?> - -- cgit v1.1