&load_config_files(); # Loads the user specified configuration information
-$main::WWW_DEFAULT_VIEW = "HOST" unless $main::WWW_DEFAULT_VIEW;
+$main::WWW_DEFAULT_VIEW = "HOSTS" unless $main::WWW_DEFAULT_VIEW;
+
+# Find our SPONGSLEEP value
+$SPONGSLEEP = $SPONGSLEEP{'www-spong'} || $SPONGSLEEP{'DEFAULT'} ||
+ $SPONGSLEEP || 300;
# Check to see if I am being run as a command line program (in which case I
# just generate static HTML documents), or a CGI program (in which case I
print "<font size=+2><b>Hosts View</b></font>\n";
unless ($WWWFRAMES == 3) {
print "<hr>\n";
- print "<b>Views: <a href=\"$me/bygroup/\" target=_top>Groups</a> || \n";
- print "<a href=\"$me/group/all\" target=_top>Hosts</a> \n";
+ print "<b>Views:</b> <a href=\"$me/bygroup/\" target=_top>Groups</a>";
+ print " || \n<a href=\"$me/group/all\" target=_top>Hosts</a> \n";
}
print "<hr>\n";