From f25accc43ea1e66f290c8bc1d284ae04b4bf004f Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 9 Nov 2010 10:45:19 -0800 Subject: split out InlineAttachmentList from AttachmentList --- actions/shownotice.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'actions') diff --git a/actions/shownotice.php b/actions/shownotice.php index 7a11787b6..b4af7dbaa 100644 --- a/actions/shownotice.php +++ b/actions/shownotice.php @@ -331,6 +331,15 @@ class SingleNoticeItem extends DoFollowListItem $this->showEnd(); } + /** + * For our zoomed-in special case we'll use a fuller list + * for the attachment info. + */ + function showNoticeAttachments() { + $al = new AttachmentList($this->notice, $this->out); + $al->show(); + } + /** * show the avatar of the notice's author * -- cgit v1.2.3-54-g00ecf