summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorBrion Vibber <brion@status.net>2010-11-09 10:45:19 -0800
committerBrion Vibber <brion@status.net>2010-11-09 10:45:19 -0800
commitf25accc43ea1e66f290c8bc1d284ae04b4bf004f (patch)
treee8b369f4cf7342017569ee5a8d21380bbed5d59e /actions
parent504529e8cd8fbaf5e8e1b980260d1d87d9e880ac (diff)
split out InlineAttachmentList from AttachmentList
Diffstat (limited to 'actions')
-rw-r--r--actions/shownotice.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/actions/shownotice.php b/actions/shownotice.php
index 7a11787b6..b4af7dbaa 100644
--- a/actions/shownotice.php
+++ b/actions/shownotice.php
@@ -332,6 +332,15 @@ class SingleNoticeItem extends DoFollowListItem
}
/**
+ * 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
*
* We use the larger size for single notice page.