From 3b5656db543462ec1f126d0d97b1ee1ba25c782e Mon Sep 17 00:00:00 2001 From: deva Date: Sun, 26 Oct 2008 20:53:16 +0000 Subject: Added no-cache pragma. Fixed indentation in forum code. --- forum/utils/posts.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'forum/utils/posts.php') diff --git a/forum/utils/posts.php b/forum/utils/posts.php index e9a5d1d..3a2ecc5 100644 --- a/forum/utils/posts.php +++ b/forum/utils/posts.php @@ -45,7 +45,7 @@ class Post { return $result; } - public function show($indent = "", $recurse = true) + public function show($indent = " ", $recurse = true) { global $users, $fid, $tid, $current_user, $client_is_mobile_device; $user = $users->getUser($this->user); @@ -72,7 +72,7 @@ class Post { echo parse($this->message, $indent . " ") . "\n"; if($user->signature != "\n " && $user->signature != "") { echo $indent . "
\n"; - echo parse("\n------------------\n" . $user->signature, $indent . " ") . "\n"; + echo parse("------------------\n" . $user->signature, $indent . " ") . "\n"; echo $indent . "
\n"; } echo $indent . " \n"; @@ -184,7 +184,7 @@ class Posts { public function show() { global $current_user; - echo "

" . $this->thread->name . "

"; + echo "

" . $this->thread->name . "

\n"; /* // Recursive foreach($this->posts as $post) { @@ -194,14 +194,14 @@ class Posts { // Linear foreach($this->posts_linear as $post) { - $post->show("", false); + $post->show(" ", false); } $this->thread->lastseen[$current_user->uid] = time(); $this->write(); - echo "

Back to the top

"; + echo "

Back to the top

\n"; } private function recurser($parentpost, $element) -- cgit v1.2.3