diff --git a/inc/html.php b/inc/html.php index d51698c..4e9283a 100644 --- a/inc/html.php +++ b/inc/html.php @@ -346,10 +346,16 @@ function buildPost($post, $res) { $return = ""; $threadid = ($post['parent'] == TINYIB_NEWTHREAD) ? $post['id'] : $post['parent']; - if ($res == TINYIB_RESPAGE) { - $reflink = "No.{$post['id']}"; + if (TINYIB_REPORT) { + $reflink = 'R '; } else { - $reflink = "No.{$post['id']}"; + $reflink = ''; + } + + if ($res == TINYIB_RESPAGE) { + $reflink .= "No.{$post['id']}"; + } else { + $reflink .= "No.{$post['id']}"; } if ($post["stickied"] == 1) { @@ -466,10 +472,6 @@ EOF; $return .= $filehtml; } - if (TINYIB_REPORT) { - $return .= " [" . __("Report") . "]"; - } - if ($post['parent'] == TINYIB_NEWTHREAD && $res == TINYIB_INDEXPAGE) { $return .= " [" . __("Reply") . "]"; }