summaryrefslogtreecommitdiff
path: root/forum/utils/threads.php
diff options
context:
space:
mode:
Diffstat (limited to 'forum/utils/threads.php')
-rw-r--r--forum/utils/threads.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/forum/utils/threads.php b/forum/utils/threads.php
index e3f0996..f65a1f8 100644
--- a/forum/utils/threads.php
+++ b/forum/utils/threads.php
@@ -20,11 +20,11 @@ class Thread {
public function show()
{
global $fid, $current_user;
- echo "<div class=\"thread\">";
- if($this->lastseen[$current_user->uid] < $this->lastpost) echo "<div class=\"new\"></div>";
- else echo "<div class=\"nonew\"></div>";
- echo "<a href=\"?fid=" . $fid . "&amp;tid=" . $this->tid . "\">" . $this->name . "</a>";
- echo "</div>";
+ echo " <div class=\"thread\">\n";
+ if($this->lastseen[$current_user->uid] < $this->lastpost) echo " <div class=\"new\"></div>";
+ else echo " <div class=\"nonew\"></div>\n";
+ echo " <a href=\"?fid=" . $fid . "&amp;tid=" . $this->tid . "\">" . $this->name . "</a>\n";
+ echo " </div>\n";
}
private function loadLastSeen($lastseen)