From 7a7569eda226df3a8d9a935b1e4a82a7902a7b80 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 27 Jul 2010 12:30:25 +0000 Subject: add trigger for ExtendedDescription on photo name git-svn-id: http://piwigo.org/svn/branches/2.1@6711 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/category_default.inc.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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' : -- cgit v1.2.3