From 135e9b3bddb76933ac14f82d4a05b06832abd339 Mon Sep 17 00:00:00 2001 From: Scott Dale Date: Wed, 23 Jul 2008 00:22:11 +0000 Subject: validate widget sequence before loading --- usr/local/www/index.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr') diff --git a/usr/local/www/index.php b/usr/local/www/index.php index ecb1b1b..4f92c2d 100755 --- a/usr/local/www/index.php +++ b/usr/local/www/index.php @@ -152,11 +152,10 @@ if ($_POST){ } -if ($config['widgets']) +if ($config['widgets'] && $pconfig['sequence'] != "") { $widgetlist = array(); $widgetlist = $pconfig['sequence']; - $colpos = array(); $savedwidgetfiles = array(); $widgetname = ""; @@ -501,6 +500,7 @@ echo $jscriptstr; ?>
- + window.onload = function(in_event) { hideAllWidgets(); -- cgit v1.1