* forum: show image in full screen on click

* do not expand the whole site cause of big posted forum images, instead
show a small image and allow full size on click
This commit is contained in:
slawkens1
2018-01-05 23:48:08 +01:00
parent 0533b8c946
commit c2574235ea
4 changed files with 44 additions and 3 deletions

View File

@@ -116,4 +116,4 @@ if(Forum::canPost($account_logged))
else
echo "Your account is banned, deleted or you don't have any player with level " . $config['forum_level_required'] . " on your account. You can't post.";
?>
echo $twig->render('forum.fullscreen.html.twig');

View File

@@ -89,4 +89,4 @@ foreach($threads as $thread)
echo '</td></tr>';
}
echo '</table><br /><a href="?subtopic=forum&action=new_post&thread_id='.$thread_id.'"><img src="images/forum/post.gif" border="0" /></a>';
?>
echo $twig->render('forum.fullscreen.html.twig');