aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_html.inc.php4
-rw-r--r--include/functions_tag.inc.php3
2 files changed, 5 insertions, 2 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index 9e422288e..60b3a9a86 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -275,7 +275,7 @@ function get_html_tag_selection(
}
$output.=
- '>'
+ '> '
.$tag['name']
.'</label>'
.'</li>'
@@ -441,7 +441,7 @@ function get_tags_content_title()
.'" title="'
.l10n('display photos linked to this tag')
.'">'
- .$page['tags'][$i]['name']
+ .trigger_event('render_tag_name', $page['tags'][$i]['name'])
.'</a>';
$remove_url = null;
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');