diff options
author | Brion Vibber <brion@status.net> | 2010-11-08 15:32:41 -0800 |
---|---|---|
committer | Brion Vibber <brion@status.net> | 2010-11-08 15:32:41 -0800 |
commit | 551b196a3572ac9dabcda47abc92db201fb0e6c9 (patch) | |
tree | 7d40da19558305b9ae5dfb1e6d66b012ab72bee9 /lib/noticelist.php | |
parent | 32321de5e048ee50417a6d91b651180c28a801b1 (diff) |
doomy doom doom
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r-- | lib/noticelist.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php index 6f82c9269..fb5db2374 100644 --- a/lib/noticelist.php +++ b/lib/noticelist.php @@ -208,6 +208,7 @@ class NoticeListItem extends Widget $this->showStart(); if (Event::handle('StartShowNoticeItem', array($this))) { $this->showNotice(); + $this->showNoticeAttachments(); $this->showNoticeInfo(); $this->showNoticeOptions(); Event::handle('EndShowNoticeItem', array($this)); @@ -383,6 +384,11 @@ class NoticeListItem extends Widget $this->out->elementEnd('p'); } + function showNoticeAttachments() { + $al = new AttachmentList($this->notice, $this->out); + $al->show(); + } + /** * show the link to the main page for the notice * |