From 1485a44cb853b07330c5440de30a7b547805636d Mon Sep 17 00:00:00 2001 From: aroquen Date: Thu, 5 Mar 2015 22:19:57 +0100 Subject: [PATCH] Make attachment fit better in notice: drop text and link --- lib/attachmentlist.php | 4 ++-- lib/inlineattachmentlist.php | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) 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(); } -- 2.39.5