mirror of
https://github.com/e107inc/e107.git
synced 2025-08-26 07:44:49 +02:00
Fixes #1223 - Adds the missing {ALERTS} shortcode to old themes - informing users of incorrect passwords etc. Essential for when the login menu is within the navigation bar.
Fixes #1077 - Online Menu was displaying the user as online when the username was correct, even if the password was not. Corrected styling of the online-menu.
This commit is contained in:
@@ -53,7 +53,10 @@ if(!defined('e_TRACKING_DISABLED'))
|
||||
$ret='';
|
||||
foreach($listuserson as $uinfo => $row)
|
||||
{
|
||||
|
||||
if($row['user_active'] != 1)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
$pinfo = $row['user_location'];
|
||||
|
||||
$online_location_page = str_replace('.php', '', substr(strrchr($pinfo, '/'), 1));
|
||||
|
Reference in New Issue
Block a user