summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorJulien C <chaumond@gmail.com>2010-02-07 18:29:42 +0100
committerCraig Andrews <candrews@integralblue.com>2010-03-23 23:02:17 -0400
commita3da5b24c9fc602e147304333ac059d0aae13de7 (patch)
tree060cc4b16e52501ca01412c8ac566155f8b6ef63 /actions
parentabe4be5438180f5e4f7618f60112023e5ccd788e (diff)
Misc small fixes, plus a new hook in tag.php
Diffstat (limited to 'actions')
-rw-r--r--actions/tag.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/actions/tag.php b/actions/tag.php
index ee9617b66..72668a0c9 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)