X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fattachment.php;h=d001337dd6c6957806fe282afdc2d023552fbba1;hb=489099ca917d74ee2bdc406cb26f9e3269ade625;hp=c7aceed218009e05e8808ef995b443143c132039;hpb=80fbec173b0d1d755549e16e781ee8c5575c0830;p=quix0rs-gnu-social.git diff --git a/lib/attachment.php b/lib/attachment.php index c7aceed218..d001337dd6 100644 --- a/lib/attachment.php +++ b/lib/attachment.php @@ -35,17 +35,17 @@ 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' => 'hentry')); + 'class' => 'h-entry')); $this->out->elementStart('div', 'entry-title'); $this->out->element('a', $this->linkAttr(), _('Download link')); $this->out->elementEnd('div'); - $this->out->elementStart('div', 'entry-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'); }