1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Forum: fixed forum perms display.

This commit is contained in:
Cameron 2016-05-05 13:24:26 -07:00
parent 139f525c42
commit d58ac82248
3 changed files with 8 additions and 3 deletions

View File

@ -37,3 +37,6 @@ text-align: center;
@media all and (min-height: 800px) {
#forum, #forum-stats, #forum-rules { min-height: 500px; }
}
.forum-perms { text-align: center; padding:10px }
.forum-perms-separator:before { margin:0 10px; content: '·' }

View File

@ -365,7 +365,7 @@ if($users = $forum->getForumClassMembers($forumId))
}
elseif($users == 0)
{
$viewable = '';
$viewable = '' ;
}
else
{
@ -427,7 +427,8 @@ $fVars->SEARCH = "
}
$fVars->PERMS = implode(' - '.$permDisplay);
$fVars->PERMS = implode("<span class='forum-perms-separator'><!-- --></span>", $permDisplay);
// -------------------------------
@ -521,7 +522,6 @@ $forum_view_end = $tp->simpleParse($FORUM_VIEW_END, $fVars);
if ($forum->prefs->get('enclose'))
{
$ns->tablerender($forum->prefs->get('title'), $forum_view_start.$forum_view_subs.$forum_view_forum.$forum_view_end, array('forum_viewforum', 'main1'));

View File

@ -359,6 +359,8 @@ $FORUM_VIEWFORUM_TEMPLATE['footer'] = "</table>
</div>
</div>
</div>
<div class='forum-perms'>{PERMS}</div>
{VIEWABLE_BY}
";