summaryrefslogtreecommitdiff
path: root/forum/utils/posts.php
diff options
context:
space:
mode:
Diffstat (limited to 'forum/utils/posts.php')
-rw-r--r--forum/utils/posts.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/forum/utils/posts.php b/forum/utils/posts.php
index 209d316..e9a5d1d 100644
--- a/forum/utils/posts.php
+++ b/forum/utils/posts.php
@@ -69,7 +69,12 @@ class Post {
if(!$client_is_mobile_device) echo "Date: ";
echo date("j. M Y - G:i", $this->date) . "</div>\n";
echo $indent . " <div class=\"message\">\n";
- echo parse($this->message . "\n------\n" . $user->signature, $indent . " ") . "\n";
+ echo parse($this->message, $indent . " ") . "\n";
+ if($user->signature != "\n " && $user->signature != "") {
+ echo $indent . " <div class=\"signature\">\n";
+ echo parse("\n------------------\n" . $user->signature, $indent . " ") . "\n";
+ echo $indent . " </div>\n";
+ }
echo $indent . " </div>\n";
echo $indent . " <div class=\"buttons\">\n";