mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +02:00
More forum work, neearly all display functionality working. Beginning work on moderator functionality
This commit is contained in:
@@ -244,12 +244,7 @@ SC_BEGIN REPORTIMG
|
||||
global $postInfo, $page;
|
||||
if (USER) {
|
||||
$e107 = e107::getInstance();
|
||||
$tmp = array (
|
||||
'func' => 'report',
|
||||
'id' => $postInfo['post_thread'],
|
||||
'report' => $postInfo['post_id']
|
||||
);
|
||||
return "<a href='".$e107->url->getUrl('forum', 'thread', $tmp)."'>".IMAGE_report.'</a> ';
|
||||
return "<a href='".$e107->url->getUrl('forum', 'thread', 'func=report&id='.$postInfo['post_thread'])."'>".IMAGE_report.'</a> ';
|
||||
}
|
||||
SC_END
|
||||
|
||||
|
Reference in New Issue
Block a user