aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric <eric@piwigo.org>2014-03-02 13:21:01 +0000
committerEric <eric@piwigo.org>2014-03-02 13:21:01 +0000
commit9e2824aad83304a803e0ab2d95f21eb9b3afcb92 (patch)
tree0e03d06ad8d4c0bd15db50ece07eab358a2ca4af
parentaef7f77fd6ee1b880e5b764330942ed0bdac6f5a (diff)
bug 3051 fixed : Add missing render_category_name trigger in admin/album_notification.php
git-svn-id: http://piwigo.org/svn/trunk@27538 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/album_notification.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/album_notification.php b/admin/album_notification.php
index 19d5d5f01..d565b6c62 100644
--- a/admin/album_notification.php
+++ b/admin/album_notification.php
@@ -83,7 +83,7 @@ SELECT id, file, path, representative_ext
pwg_mail_group(
$_POST['group'],
array(
- 'subject' => l10n('[%s] Visit album %s', $conf['gallery_title'], $category['name']),
+ 'subject' => l10n('[%s] Visit album %s', $conf['gallery_title'], trigger_event('render_category_name', $category['name'], 'admin_cat_list')),
// TODO : change this language variable to 'Visit album %s'
// TODO : 'language_selected' => ....
),
@@ -91,11 +91,11 @@ SELECT id, file, path, representative_ext
'filename' => 'cat_group_info',
'assign' => array(
'IMG_URL' => $img_url,
- 'CAT_NAME' => $category['name'],
+ 'CAT_NAME' => trigger_event('render_category_name', $category['name'], 'admin_cat_list'),
'LINK' => make_index_url(array(
'category' => array(
'id' => $category['id'],
- 'name' => $category['name'],
+ 'name' => trigger_event('render_category_name', $category['name'], 'admin_cat_list'),
'permalink' => $category['permalink']
)
)),