diff options
author | mistic100 <mistic@piwigo.org> | 2011-06-11 14:35:38 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2011-06-11 14:35:38 +0000 |
commit | def88719e84445cfea91539bc96072c31fd65189 (patch) | |
tree | 38bbaeb35dd4d7132c11932da5a088cde6a9c76b /include/functions_tag.inc.php | |
parent | c50eebb15e1615189400cab9feca04ffeb23c9d0 (diff) |
feature:2322 Add two new trigger events for tag name display and tag url
git-svn-id: http://piwigo.org/svn/trunk@11317 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_tag.inc.php')
-rw-r--r-- | include/functions_tag.inc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/functions_tag.inc.php b/include/functions_tag.inc.php index 76931710f..028fd766c 100644 --- a/include/functions_tag.inc.php +++ b/include/functions_tag.inc.php @@ -68,6 +68,7 @@ SELECT * if ( $counter ) { $row['counter'] = $counter; + $row['name'] = trigger_event('render_tag_name', $row['name']); array_push($tags, $row); } } @@ -89,6 +90,7 @@ SELECT * $tags = array(); while ($row = pwg_db_fetch_assoc($result)) { + $row['name'] = trigger_event('render_tag_name', $row['name']); array_push($tags, $row); } @@ -238,6 +240,7 @@ SELECT t.*, count(*) AS counter $tags = array(); while($row = pwg_db_fetch_assoc($result)) { + $row['name'] = trigger_event('render_tag_name', $row['name']); array_push($tags, $row); } usort($tags, 'tag_alpha_compare'); |