]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticelistitem.php
ModPlus and some layouting issues regarding fixes
[quix0rs-gnu-social.git] / lib / noticelistitem.php
index 0527f0bf0c1ab6ee25e323f05effefe3f0dd82da..57207339a912d9ac0ae5fbe0f504db5cbb2a1e90 100644 (file)
@@ -200,10 +200,13 @@ class NoticeListItem extends Widget
                        'class' => 'h-card p-author',
                        'title' => $this->profile->getNickname());
 
-        $this->out->elementStart('a', $attrs);
-        $this->showAvatar($this->profile);
-        $this->out->text($this->profile->getStreamName());
-        $this->out->elementEnd('a');
+        if (Event::handle('StartShowNoticeItemAuthor', array($this->profile, $this->out, &$attrs))) {
+            $this->out->elementStart('a', $attrs);
+            $this->showAvatar($this->profile);
+            $this->out->text($this->profile->getStreamName());
+            $this->out->elementEnd('a');
+            Event::handle('EndShowNoticeItemAuthor', array($this->profile, $this->out));
+        }
     }
 
     function showAddressees()