aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/category_default.inc.php2
-rw-r--r--picture.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php
index 3a823eb41..5f7fe5382 100644
--- a/include/category_default.inc.php
+++ b/include/category_default.inc.php
@@ -144,6 +144,8 @@ foreach ($pictures as $row)
$name = str_replace('_', ' ', get_filename_wo_extension($row['file']));
}
+ $name = trigger_event('render_element_description', $name);
+
switch ($page['section'])
{
case 'best_rated' :
diff --git a/picture.php b/picture.php
index 2fae0cda4..052ae4923 100644
--- a/picture.php
+++ b/picture.php
@@ -511,6 +511,8 @@ while ($row = pwg_db_fetch_assoc($result))
$picture[$i]['name'] = str_replace('_', ' ', $file_wo_ext);
}
+ $picture[$i]['name'] = trigger_event('render_element_description', $picture[$i]['name']);
+
$picture[$i]['url'] = duplicate_picture_url(
array(
'image_id' => $row['id'],