\n";
@ulist = sort { $a->{'name'} cmp $b->{'name'} } &acl::list_users();
@canulist = grep { &can_user($_->{'name'}) } @ulist;
if (@canulist == 1) {
# Can only show one user, so skip this field
print &ui_hidden("uall", 0),"\n";
print &ui_hidden("user", $canulist[0]->{'name'}),"\n";
}
else {
# Show user selectors
print &ui_radio("uall", 1, [ [ 1, $text{'index_uall'}." " ],
[ 0, $text{'index_user'} ] ]),"\n";
print " \n";
if ($access_users{'*'}) {
print " $text{'index_nuser'}\n";
print "\n";
}
print "\n";
}
print " $text{'index_mall'} \n";
print " $text{'index_module'}\n";
print " \n";
print " $text{'index_tall'} \n";
print " $text{'index_today'} \n";
print " $text{'index_yesterday'} \n";
print "\n";
print &text('index_time', &time_input('from'), &time_input('to'))," \n";
if ($gconfig{'logfiles'}) {
print " $text{'index_fall'} \n";
print " $text{'index_file'}\n";
print " \n";
}
if ($config{'host_search'}) {
print " $text{'index_wall'} \n";
print " $text{'index_whost'}\n";
print " \n";
}
print " \n";
print " \n";
print " |