1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

Merge pull request #2215 from rica-carv/rica-carv-patch-2

Patch for  #2175
This commit is contained in:
Cameron
2016-12-29 14:59:51 -08:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -146,7 +146,7 @@ class online_shortcodes extends e_shortcode
if(varset($parm['type']) == 'avatar')
{
$this->currentMember = array('oid' => $row['user_id'], 'oname'=> $row['user_name'], 'page' => null, 'pinfo' => null,'oimage' => $row['user_image'] );
//$ret = e107::getParser()->parseTemplate($this->newestTemplate, TRUE, $this);
$ret = e107::getParser()->parseTemplate($this->newestTemplate, TRUE, $this);
}
else

View File

@@ -27,7 +27,7 @@ $ONLINE_MENU_TEMPLATE['default']['enabled'] = "
{ONLINE_MEMBERS_LIST}
{ONLINE_MEMBERS_LIST_EXTENDED}
{ONLINE_ONPAGE}
{ONLINE_MEMBER_TOTAL}
{ONLINE_MEMBERS_TOTAL}
{ONLINE_MEMBER_NEWEST}
<li>
{ONLINE_MOST}
@@ -69,7 +69,7 @@ $ONLINE_MENU_TEMPLATE['extended']['enabled'] = "
{ONLINE_MEMBERS}
{ONLINE_MEMBERS_LIST_EXTENDED}
{ONLINE_ONPAGE}
{ONLINE_MEMBER_TOTAL}
{ONLINE_MEMBERS_TOTAL}
{ONLINE_MEMBER_NEWEST: type=avatar}
{ONLINE_MEMBERS_REGISTERED}
<li class='online-menu-extended-label'>