diff --git a/lib/threadednoticelist.php b/lib/threadednoticelist.php index 871a0eb068..2d3746edef 100644 --- a/lib/threadednoticelist.php +++ b/lib/threadednoticelist.php @@ -223,6 +223,21 @@ class ThreadedNoticeListReplyItem extends NoticeListItem $this->showEnd(); } + /** + * start a single notice. + * + * @return void + */ + + function showStart() + { + if (Event::handle('StartOpenNoticeListItemElement', array($this))) { + $id = (empty($this->repeat)) ? $this->notice->id : $this->repeat->id; + $this->out->elementStart('li', array('class' => 'notice-reply', + 'id' => 'notice-reply-' . $id)); + } + } + function showMiniForm() { $replyToId = $this->notice->id; diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 817de209ba..74f5bb3e30 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1121,6 +1121,17 @@ border-top-style:solid; width: 32px; height: 32px; } +.threaded-notices .notice-reply { + margin: 8px; +} +.threaded-notices .notice-reply textarea { + margin-left: 0; + width: 95%; +} +.threaded-notices .notice-reply input.submit { + text-align: right; +} + /* NOTICES */ #notices_primary { float:left;