diff options
author | plegall <plg@piwigo.org> | 2010-07-27 12:30:25 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-07-27 12:30:25 +0000 |
commit | 7a7569eda226df3a8d9a935b1e4a82a7902a7b80 (patch) | |
tree | ceeb79e81dbd8260bf5e614f49af77c9ab7994c6 /picture.php | |
parent | 95ec94ea75b00c6ddf78e40611cbcc2871c909c0 (diff) |
add trigger for ExtendedDescription on photo name
git-svn-id: http://piwigo.org/svn/branches/2.1@6711 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | picture.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/picture.php b/picture.php index 7ab38f0f0..0caddddd5 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'], |