diff --git a/system/libs/forum.php b/system/libs/forum.php
index b5588992..126663bc 100644
--- a/system/libs/forum.php
+++ b/system/libs/forum.php
@@ -221,7 +221,7 @@ class Forum
// TODO: [poll] tag
'#\[color=(.*?)\](.*?)\[/color\]#si' => ($xhtml ? '\\2' : '\\2'),
- '#\[img\](.*?)\[/img\]#si' => ($xhtml ? '' : '
'),
+ '#\[img\](.*?)\[/img\]#si' => ($xhtml ? '
' : '
'),
'#\[url=(.*?)\](.*?)\[/url\]#si' => '\\2',
// '#\[email\](.*?)\[/email\]#si' => '\\1',
'#\[code\](.*?)\[/code\]#si' => '
\\1
',
diff --git a/system/pages/forum/new_post.php b/system/pages/forum/new_post.php
index e26ba1ef..035fbd7d 100644
--- a/system/pages/forum/new_post.php
+++ b/system/pages/forum/new_post.php
@@ -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.";
-?>
\ No newline at end of file
+echo $twig->render('forum.fullscreen.html.twig');
\ No newline at end of file
diff --git a/system/pages/forum/show_thread.php b/system/pages/forum/show_thread.php
index c322984f..317557a6 100644
--- a/system/pages/forum/show_thread.php
+++ b/system/pages/forum/show_thread.php
@@ -89,4 +89,4 @@ foreach($threads as $thread)
echo '';
}
echo '';
-?>
\ No newline at end of file
+echo $twig->render('forum.fullscreen.html.twig');
diff --git a/system/templates/forum.fullscreen.html.twig b/system/templates/forum.fullscreen.html.twig
new file mode 100644
index 00000000..c3d83ffd
--- /dev/null
+++ b/system/templates/forum.fullscreen.html.twig
@@ -0,0 +1,41 @@
+