Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forum userlist shortcode wrapping #2065

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Forum userlist shortcode wrapping
Removed hardcoded html and use wrapping instead, for userlist shortcode...
rica-carv authored Nov 25, 2016
commit 5690e901db345ff1bcb58dcc5f01cd92697e312e
10 changes: 3 additions & 7 deletions e107_plugins/forum/shortcodes/batch/forum_shortcodes.php
Original file line number Diff line number Diff line change
@@ -138,11 +138,10 @@ function sc_userinfox()

function sc_userlist()
{
if(!defined('e_TRACKING_DISABLED'))
if(defined('e_TRACKING_DISABLED'))
{
// String candidate for USERLIST wrapper
$text = LAN_FORUM_0036.": ";

return;
}
global $listuserson;
$c = 0;
if(is_array($listuserson))
@@ -157,9 +156,6 @@ function sc_userlist()
}

}
// String candidate for USERLIST wrapper
$text .= "<br /><a rel='external' href='".e_BASE."online.php'>".LAN_FORUM_0037."</a> ".LAN_FORUM_0038;
}
return $text;
}