\n";
$report = &find_value("ReportTitle", $conf);
print " $text{'global_report'} | \n";
printf " %s\n",
$report ? "" : "checked", $text{'default'};
printf "\n",
$report ? "checked" : "";
printf " | \n",
&html_escape($report);
if ($in{'file'}) {
$host = &find_value("HostName", $conf);
print " $text{'global_host'} | \n";
printf " %s\n",
$host ? "" : "checked", $text{'default'};
printf "\n",
$host ? "checked" : "";
print " | \n";
}
@page = &find_value("PageType", $conf);
print " $text{'global_page'} | \n";
printf " | \n",
join(" ", @page);
@index = &find_value("IndexAlias", $conf);
print " $text{'global_index'} | \n";
printf " | \n",
join(" ", @index);
$gmt = &find_value("GMTTime", $conf);
print " $text{'global_gmt'} | \n";
printf " %s\n",
$gmt =~ /^y/i ? "checked" : "", $text{'yes'};
printf " %s | \n",
$gmt =~ /^y/i ? "" : "checked", $text{'no'};
$fold = &find_value("FoldSeqErr", $conf);
print "$text{'global_fold'} | \n";
printf " %s\n",
$fold =~ /^y/i ? "checked" : "", $text{'yes'};
printf " %s | \n",
$fold =~ /^y/i ? "" : "checked", $text{'no'};
$visit = &find_value("VisitTimeout", $conf);
print " $text{'global_visit'} | \n";
printf " %s\n",
$visit ? "" : "checked", $text{'default'};
printf "\n",
$visit ? "checked" : "";
printf " %s | \n",
$visit, $text{'global_secs'};
$dns = &find_value("DNSChildren", $conf);
print "$text{'global_dns'} | \n";
printf " %s\n",
$dns ? "" : "checked", $text{'global_none'};
printf "\n",
$dns ? "checked" : "";
printf " | \n", $dns;
print "
| \n";
$history = &find_value("HistoryName", $conf);
print " $text{'global_history'} | \n";
printf " %s\n",
$history ? "" : "checked", $text{'default'};
printf "\n",
$history ? "checked" : "";
printf " | \n",
&html_escape($history);
$current = &find_value("IncrementalName", $conf);
print " $text{'global_current'} | \n";
printf " %s\n",
$current ? "" : "checked", $text{'default'};
printf "\n",
$current ? "checked" : "";
printf " | \n",
&html_escape($current);
$cache = &find_value("DNSCache", $conf);
print " $text{'global_cache'} | \n";
printf " %s\n",
$cache ? "" : "checked", $text{'default'};
printf "\n",
$cache ? "checked" : "";
printf " | \n",
&html_escape($cache);
print "
| \n";
print " $text{'global_display'} | \n";
print " | \n";
print " $text{'global_tables'} | \n";
print "\n";
$i = 0;
foreach $t ('TopSites', 'TopKSites', 'TopURLs', 'TopKURLs', 'TopReferrers',
'TopAgents', 'TopCountries', 'TopEntry', 'TopExit',
'TopSearch', 'TopUsers') {
$v = &find_value($t, $conf);
print "\n" if ($i%2 == 0);
printf "%s | ", $text{"global_$t"};
printf " %s\n",
$t, $v eq "" ? "checked" : "", $text{'default'};
printf " %s\n",
$t, $v eq "0" ? "checked" : "", $text{'global_none'};
printf "\n",
$t, $v ? "checked" : "";
printf " | \n",
$t, $v ? $v : "";
print " \n" if ($i++%2 == 1);
}
print " | \n";
print " $text{'global_all'} | \n";
print " | \n";
print "
| \n";
foreach $hid ("HideURL", "HideSite", "HideReferrer",
"HideUser", "HideAgent") {
@hidv = &find_value($hid, $conf);
print " ",$text{'global_'.lc($hid)}," | \n";
printf " | \n",
lc($hid), join(" ", @hidv);
}
print "
| \n";
foreach $ign ("IgnoreURL", "IgnoreSite", "IgnoreReferrer",
"IgnoreUser", "IgnoreAgent") {
@ignv = &find_value($ign, $conf);
print " ",$text{'global_'.lc($ign)}," | \n";
printf " | \n",
lc($ign), join(" ", @ignv);
}
print "
| \n";
foreach $inc ("IncludeURL", "IncludeSite", "IncludeReferrer",
"IncludeUser", "IncludeAgent") {
@incv = &find_value($inc, $conf);
print " ",$text{'global_'.lc($inc)}," | \n";
printf " | \n",
lc($inc), join(" ", @incv);
}
print " |