--- loncom/cgi/userstatus.pl 2018/07/05 15:23:59 1.21 +++ loncom/cgi/userstatus.pl 2021/03/07 02:34:25 1.23 @@ -1,7 +1,7 @@ #!/usr/bin/perl $|=1; # User Status -# $Id: userstatus.pl,v 1.21 2018/07/05 15:23:59 raeburn Exp $ +# $Id: userstatus.pl,v 1.23 2021/03/07 02:34:25 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -114,6 +114,7 @@ sub main { Course => 'Course', Browser => 'Browser', OS => 'OS', + Any => 'Any', Active => 'Active', 'Moderately Active' => 'Moderately Active', Inactive => 'Inactive', @@ -267,7 +268,7 @@ sub showact { print("

$ltref->{$cat}

\n"); print(""); foreach my $type (sort(keys(%{$usercount{$cat}}))) { print("");
 "); - print(join("",('Any',@actl))); + print(join("",map {$ltref->{$_};} ('Any',@actl))); print("
$type