diff options
| -rw-r--r-- | inc/display.php | 5 | ||||
| -rw-r--r-- | mod.php | 2 | ||||
| -rw-r--r-- | style.css | 3 |
3 files changed, 7 insertions, 3 deletions
diff --git a/inc/display.php b/inc/display.php index 023f5648..871b2a9d 100644 --- a/inc/display.php +++ b/inc/display.php @@ -194,7 +194,7 @@ }; class Thread { - public function __construct($id, $subject, $email, $name, $trip, $body, $time, $thumb, $thumbx, $thumby, $file, $filex, $filey, $filesize, $filename, $ip, $sticky, $locked, $root=null, $mod=false) { + public function __construct($id, $subject, $email, $name, $trip, $body, $time, $thumb, $thumbx, $thumby, $file, $filex, $filey, $filesize, $filename, $ip, $sticky, $locked, $root=null, $mod=false, $hr=true) { global $config; if(!isset($root)) $root = $config['root']; @@ -221,6 +221,7 @@ $this->locked = $locked; $this->root = $root; $this->mod = $mod; + $this->hr = $hr; if($this->mod) // Fix internal links @@ -366,7 +367,7 @@ $built .= $post->build($index); } - $built .= '<br class="clear"/><hr/>'; + $built .= '<br class="clear"/>' . ($this->hr ? '<hr/>' : ''); return $built; } }; @@ -657,7 +657,7 @@ while($post = $query->fetch()) { if(!$post['thread']) { - $po = new Thread($post['id'], $post['subject'], $post['email'], $post['name'], $post['trip'], $post['body'], $post['time'], $post['thumb'], $post['thumbwidth'], $post['thumbheight'], $post['file'], $post['filewidth'], $post['fileheight'], $post['filesize'], $post['filename'], $post['ip'], $post['sticky'], $post['locked'], $mod ? '?/' : $config['root'], $mod); + $po = new Thread($post['id'], $post['subject'], $post['email'], $post['name'], $post['trip'], $post['body'], $post['time'], $post['thumb'], $post['thumbwidth'], $post['thumbheight'], $post['file'], $post['filewidth'], $post['fileheight'], $post['filesize'], $post['filename'], $post['ip'], $post['sticky'], $post['locked'], $mod ? '?/' : $config['root'], $mod, false); } else { $po = new Post($post['id'], $post['thread'], $post['subject'], $post['email'], $post['name'], $post['trip'], $post['body'], $post['time'], $post['thumb'], $post['thumbwidth'], $post['thumbheight'], $post['file'], $post['filewidth'], $post['fileheight'], $post['filesize'], $post['filename'], $post['ip'], $mod ? '?/' : $config['root'], $mod); } @@ -32,6 +32,9 @@ p.intro a.email span.name { p.intro a.email:hover span.name { color: #ff0000; } +p.intro label { + display: inline; +} h2 { color: #AF0A0F; font-size: 11pt; |
