WebGUI 3.6.3 release

This commit is contained in:
JT Smith 2002-03-29 03:35:00 +00:00
parent a389e8ff95
commit 9454a7c8ec
11 changed files with 87 additions and 76 deletions

View file

@ -76,7 +76,7 @@ sub www_viewLoginHistory {
tie %data, 'Tie::CPHash';
if (WebGUI::Privilege::isInGroup(3)) {
$output = '<h1>'.WebGUI::International::get(426).'</h1>';
$sth = WebGUI::SQL->read("select * from users,userLoginLog where users.userId=userLoginLog.userId order by userLoginLog.timeStamp");
$sth = WebGUI::SQL->read("select * from users,userLoginLog where users.userId=userLoginLog.userId order by userLoginLog.timeStamp desc");
while (%data = $sth->hash) {
$data{username} = 'unknown user' if ($data{userId} == 0);
$row[$i] = '<tr class="tableData"><td>'.$data{username}.' ('.$data{userId}.')</td>';
@ -96,7 +96,7 @@ sub www_viewLoginHistory {
$output .= '<td>'.WebGUI::International::get(433).'</td></tr>';
$output .= $p->getPage($session{form}{pn});
$output .= '</table>';
$output .= $p->getBarTraditional($session{form}{pn});
$output .= $p->getBar($session{form}{pn});
} else {
$output = WebGUI::Privilege::adminOnly();
}