diff options
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php index 66637d0d..0678cef7 100644 --- a/inc/display.php +++ b/inc/display.php @@ -110,7 +110,9 @@ global $board; $built = '<div class="post reply"' . (!$index?' id="reply_' . $this->id . '"':'') . '>' . - '<p class="intro"' . (!$index?' id="' . $this->id . '"':'') . '>'; + '<p class="intro"' . (!$index?' id="' . $this->id . '"':'') . '>' . + // Delete + '<input type="checkbox" class="delete" name="delete_' . $this->id . '" id="delete_' . $this->id . '" /><label for="delete_' . $this->id . '">'; // Subject if(!empty($this->subject)) @@ -135,6 +137,9 @@ // Date/time $built .= ' ' . date(POST_DATE, $this->time); + // End delete + $built .= '</label>'; + $built .= ' <a class="post_no"' . // JavaScript highlight ($index?'':' onclick="highlightReply(' . $this->id . ');"') . @@ -266,6 +271,9 @@ $built .= '<div class="post op"><p class="intro"' . (!$index?' id="' . $this->id . '"':'') . '>'; + // Delete + $built .= '<input type="checkbox" class="delete" name="delete_' . $this->id . '" id="delete_' . $this->id . '" /><label for="delete_' . $this->id . '">'; + // Subject if(!empty($this->subject)) $built .= '<span class="subject">' . $this->subject . '</span> '; @@ -289,6 +297,9 @@ // Date/time $built .= ' ' . date(POST_DATE, $this->time); + // End delete + $built .= '</label>'; + $built .= ' <a class="post_no"' . // JavaScript highlight ($index?'':' onclick="highlightReply(' . $this->id . ');"') . |
