diff options
author | Scott Dale <sdale@pfsense.org> | 2008-03-27 22:36:10 +0000 |
---|---|---|
committer | Scott Dale <sdale@pfsense.org> | 2008-03-27 22:36:10 +0000 |
commit | 26192a09a7efc329246589e37a67e8dd38bb702b (patch) | |
tree | e0997345fbd0b578cf6d74bf4be1c208b1527eb3 /usr | |
parent | ed682cc0ac62c961403ae9bbc0469ab690b8459b (diff) | |
download | pfsense-26192a09a7efc329246589e37a67e8dd38bb702b.zip pfsense-26192a09a7efc329246589e37a67e8dd38bb702b.tar.gz |
show default widget correctly when no configuration exists
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/index.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php index 9dff35c..bfb56c8 100755 --- a/usr/local/www/index.php +++ b/usr/local/www/index.php @@ -632,7 +632,7 @@ echo $jscriptstr; </div> <div style="clear:both;"></div> </div> - <?php if ($displayarray[$widgetcounter] != "show") { ?> + <?php if ($displayarray[$widgetcounter] != "show" && $firstprint != true) { ?> <div id="<?php echo $widgetname;?>-loader" style="display:<?php echo $display; ?>;"><br> <div id="<?php echo $widgetname;?>-loader" style="display:<?php echo $display; ?>;"> <center> @@ -643,13 +643,10 @@ echo $jscriptstr; if ($displayarray[$widgetcounter] != "show") $display = none; ?> <div id="<?php echo $widgetname;?>" style="display:<?php echo $display; ?>;"> <?php - if ($displayarray[$widgetcounter] != "close") + if ($displayarray[$widgetcounter] != "close" || $firstprint != true) { include($directory . $widget); } - else - { ?> - <?php } ?> </div> <div style="clear:both;"></div> |