diff options
author | deva <deva> | 2008-10-26 20:53:16 +0000 |
---|---|---|
committer | deva <deva> | 2008-10-26 20:53:16 +0000 |
commit | 3b5656db543462ec1f126d0d97b1ee1ba25c782e (patch) | |
tree | e85f52b8a361dffa3712baebc08a4000effc3f5c /forum/utils/threads.php | |
parent | d2b6d71dfc8f353d4b56f1b76552f6897493bb6d (diff) |
Added no-cache pragma. Fixed indentation in forum code.
Diffstat (limited to 'forum/utils/threads.php')
-rw-r--r-- | forum/utils/threads.php | 10 |
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 . "&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 . "&tid=" . $this->tid . "\">" . $this->name . "</a>\n"; + echo " </div>\n"; } private function loadLastSeen($lastseen) |