4 use CXGN
::DB
::Connection
;
8 CXGN
::DB
::Connection
->verbose(0);
9 my $dbh = CXGN
::DB
::Connection
->new();
11 #print STDERR "Calling get_login_info...\n";
12 my $login = CXGN
::Login
->new($dbh);
13 my %logins = $login->get_login_status();
16 foreach(qw
/curator submitter user/){
17 my $count = $logins{$_};
18 $count = 0 if $count eq "none";
19 $summary .= " " . ucfirst($_) . "s: <b>$count</b>";
23 foreach my $user_type (keys %{$logins{detailed
}}) {
24 $detailed .= ucfirst($user_type) . "s: ";
25 my @usernames = (keys %{$logins{detailed
}->{$user_type}});
26 $detailed .= join ", ", @usernames;
27 $detailed .= "<br />";
35 <span style="font-size:1.3em"><b>Logins:</b></span>
36 <span style="font-size:1.2em">$summary</span><br /><br />