diff options
Diffstat (limited to 'forum/utils/posts.php')
| -rw-r--r-- | forum/utils/posts.php | 10 | 
1 files changed, 5 insertions, 5 deletions
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 . "    <div class=\"signature\">\n"; -			echo parse("\n------------------\n" . $user->signature, $indent . "    ") . "\n"; +			echo parse("------------------\n" . $user->signature, $indent . "      ") . "\n";  			echo $indent . "    </div>\n";  		}  		echo $indent . "  </div>\n"; @@ -184,7 +184,7 @@ class Posts {  	public function show()  	{  		global $current_user; -		echo "<h1 id=\"top\">" . $this->thread->name . "</h1>"; +		echo "    <h1 id=\"top\">" . $this->thread->name . "</h1>\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 "<p><a href=\"#top\">Back to the top</a></p>"; +		echo "    <p><a href=\"#top\">Back to the top</a></p>\n";  	}  	private function recurser($parentpost, $element)  | 
