summaryrefslogtreecommitdiff
path: root/lib/noticelist.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@csarven-laptop.(none)>2009-05-25 15:53:19 -0400
committerSarven Capadisli <csarven@csarven-laptop.(none)>2009-05-25 15:53:19 -0400
commit01dad5729827870d87f87118c336dcf2acc4af32 (patch)
treef43fc293e7c668343873282026bab690d415a046 /lib/noticelist.php
parenta11d6260cc8dd5bd8a060f716461803f4c837387 (diff)
Markup cleanup for attachments
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');