From: aroquen Date: Thu, 5 Mar 2015 21:19:57 +0000 (+0100) Subject: Make attachment fit better in notice: drop text and link X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1485a44cb853b07330c5440de30a7b547805636d;p=quix0rs-gnu-social.git Make attachment fit better in notice: drop text and link --- diff --git a/lib/attachmentlist.php b/lib/attachmentlist.php index d6cfda6f95..a784066fda 100644 --- a/lib/attachmentlist.php +++ b/lib/attachmentlist.php @@ -100,12 +100,12 @@ class AttachmentList extends Widget function showListStart() { - $this->out->elementStart('ol', array('class' => 'attachments')); + $this->out->elementStart('div', array('class' => 'attachments')); } function showListEnd() { - $this->out->elementEnd('ol'); + $this->out->elementEnd('div'); } /** diff --git a/lib/inlineattachmentlist.php b/lib/inlineattachmentlist.php index 9016daf3f1..a8f383c3fe 100644 --- a/lib/inlineattachmentlist.php +++ b/lib/inlineattachmentlist.php @@ -35,7 +35,6 @@ class InlineAttachmentList extends AttachmentList { function showListStart() { - $this->out->element('h3', null, _('Attachments')); parent::showListStart(); } @@ -55,7 +54,6 @@ class InlineAttachmentList extends AttachmentList class InlineAttachmentListItem extends AttachmentListItem { function showLink() { - $this->out->element('a', $this->linkAttr(), $this->title()); $this->showRepresentation(); }