X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Ftag.php;h=7c6f99d92bac58cb6ef98d8641c425f2169b5653;hb=f85fc944b7ca3d2faaa7b7451068e37f2c5b68a7;hp=9532404041597f44e94fe50fce2ac9725c37fca3;hpb=edd883d3b009788049a9326bd6bdcc7846f87a8a;p=quix0rs-gnu-social.git diff --git a/actions/tag.php b/actions/tag.php index 9532404041..7c6f99d92b 100644 --- a/actions/tag.php +++ b/actions/tag.php @@ -102,12 +102,17 @@ class TagAction extends Action function showContent() { - $nl = new NoticeList($this->notice, $this); + if(Event::handle('StartTagShowContent', array($this))) { + + $nl = new NoticeList($this->notice, $this); - $cnt = $nl->show(); + $cnt = $nl->show(); - $this->pagination($this->page > 1, $cnt > NOTICES_PER_PAGE, - $this->page, 'tag', array('tag' => $this->tag)); + $this->pagination($this->page > 1, $cnt > NOTICES_PER_PAGE, + $this->page, 'tag', array('tag' => $this->tag)); + + Event::handle('EndTagShowContent', array($this)); + } } function isReadOnly($args)