mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 21:32:09 +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));
|
||||
|
@@ -80,6 +80,6 @@ $ONLINE_TEMPLATE['enabled'] = "
|
||||
$ONLINE_TEMPLATE['disabled'] = "{ONLINE_TRACKING_DISABLED}";
|
||||
|
||||
//##### ONLINE MEMBER LIST EXTENDED -------------------------------------------
|
||||
$ONLINE_TEMPLATE['online_members_list_extended'] = "{SETIMAGE: w=40}<li>{ONLINE_MEMBER_IMAGE=avatar} {ONLINE_MEMBER_USER} ".LAN_ONLINE_7." {ONLINE_MEMBER_PAGE}</li>";
|
||||
$ONLINE_TEMPLATE['online_members_list_extended'] = "{SETIMAGE: w=40}<li class='media'><span class='media-object pull-left'>{ONLINE_MEMBER_IMAGE=avatar}</span><span class='media-body'>{ONLINE_MEMBER_USER} ".LAN_ONLINE_7." {ONLINE_MEMBER_PAGE}</span></li>";
|
||||
|
||||
?>
|
Reference in New Issue
Block a user