summaryrefslogtreecommitdiff
path: root/lib/noticelist.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r--lib/noticelist.php14
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index ae1438892..50a95cfcb 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -180,9 +180,9 @@ class NoticeListItem extends Widget
{
$this->showStart();
$this->showNotice();
+ $this->showNoticeAttachments();
$this->showNoticeInfo();
$this->showNoticeOptions();
- $this->showNoticeAttachments();
$this->showEnd();
}
@@ -214,18 +214,6 @@ class NoticeListItem extends Widget
return intval($file_oembed->c);
}
- function showNoticeAttachmentsIcon()
- {
- if (!($this->isUsedInList() && ($count = $this->attachmentCount()))) {
- return;
- }
-
- $href = common_local_url('shownotice', array('notice' => $this->notice->id)) . '#attachments';
- $this->out->elementStart('p', 'entry-attachments');
- $this->out->element('a', array('href' => $href, 'title' => "# of attachments: $count"), $count === 1 ? '' : $count);
- $this->out->elementEnd('p');
- }
-
function showNoticeInfo()
{
$this->out->elementStart('div', 'entry-content');