X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=lib%2Finlineattachmentlist.php;h=04fddf3b304b3d35c6b74cf010bda124fca53df1;hb=1ee79dc3791162f7ef9b92befaef597328266ce1;hp=de5008e87babb796e2ebd8d92b6066e453de901f;hpb=5d12ec0532fa9bcc71644186f6ff80f2b527703c;p=quix0rs-gnu-social.git diff --git a/lib/inlineattachmentlist.php b/lib/inlineattachmentlist.php index de5008e87b..04fddf3b30 100644 --- a/lib/inlineattachmentlist.php +++ b/lib/inlineattachmentlist.php @@ -35,7 +35,7 @@ class InlineAttachmentList extends AttachmentList { function showListStart() { - $this->out->elementStart('div', array('class' => 'entry-content thumbnails')); + $this->out->elementStart('div', array('class' => 'attachments')); } function showListEnd() @@ -50,7 +50,7 @@ class InlineAttachmentList extends AttachmentList * * @return ListItem a list item for displaying the attachment */ - function newListItem($attachment) + function newListItem(File $attachment) { return new InlineAttachmentListItem($attachment, $this->out); } @@ -58,13 +58,6 @@ class InlineAttachmentList extends AttachmentList class InlineAttachmentListItem extends AttachmentListItem { - function show() - { - if ($this->attachment->isEnclosure()) { - parent::show(); - } - } - function showLink() { $this->out->elementStart('a', $this->linkAttr()); $this->showRepresentation();