X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fattachment.php;h=d001337dd6c6957806fe282afdc2d023552fbba1;hb=489099ca917d74ee2bdc406cb26f9e3269ade625;hp=813b9b4eff2b36dd3610733d7e19cf1a62067ec9;hpb=414a95a784294d63f4c636ef17e468db9428a446;p=quix0rs-gnu-social.git diff --git a/lib/attachment.php b/lib/attachment.php index 813b9b4eff..d001337dd6 100644 --- a/lib/attachment.php +++ b/lib/attachment.php @@ -35,7 +35,7 @@ if (!defined('GNUSOCIAL')) { exit(1); } */ class Attachment extends AttachmentListItem { - function showLink() { + function showNoticeAttachment() { if (Event::handle('StartShowAttachmentLink', array($this->out, $this->attachment))) { $this->out->elementStart('div', array('id' => 'attachment_view', 'class' => 'h-entry')); @@ -43,9 +43,9 @@ class Attachment extends AttachmentListItem $this->out->element('a', $this->linkAttr(), _('Download link')); $this->out->elementEnd('div'); - $this->out->elementStart('div', 'e-content'); + $this->out->elementStart('article', 'e-content'); $this->showRepresentation(); - $this->out->elementEnd('div'); + $this->out->elementEnd('article'); Event::handle('EndShowAttachmentLink', array($this->out, $this->attachment)); $this->out->elementEnd('div'); }