X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Finlineattachmentlistitem.php;h=5c918bb86e6a295f23b6bb83b12ce03b373800d3;hb=c285f80b1830cffd20a28c693d74c59f8c3c39f6;hp=10b9db202b8812e36f3e11c753d5104778ee5385;hpb=238d2a387623743fd98c84783ce360bf1d2db6ee;p=quix0rs-gnu-social.git diff --git a/lib/inlineattachmentlistitem.php b/lib/inlineattachmentlistitem.php index 10b9db202b..5c918bb86e 100644 --- a/lib/inlineattachmentlistitem.php +++ b/lib/inlineattachmentlistitem.php @@ -31,11 +31,6 @@ if (!defined('GNUSOCIAL')) { exit(1); } class InlineAttachmentListItem extends AttachmentListItem { - function showLink() { - $this->out->element('a', $this->linkAttr(), $this->title()); - $this->showRepresentation(); - } - /** * start a single notice. * @@ -45,7 +40,10 @@ class InlineAttachmentListItem extends AttachmentListItem { // XXX: RDFa // TODO: add notice_type class e.g., notice_video, notice_image - $this->out->elementStart('li', array('class' => 'inline-attachment')); + $this->out->elementStart('li', + array('class' => 'inline-attachment', + 'id' => 'attachment-' . $this->attachment->getID(), + )); } /**