aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorEric <eric@piwigo.org>2014-03-02 13:27:52 +0000
committerEric <eric@piwigo.org>2014-03-02 13:27:52 +0000
commit4646f844562e429379a0c880c269240010597abe (patch)
tree81f35423f71b3f3346572db3b0537db92a3d4c61 /admin
parent7304115d0ab04ba337289f56a651480f3797a495 (diff)
r27538 merged from trunk to branch 2.6 :
bug 3051 - Add missing render_category_name trigger in admin/album_notification.php git-svn-id: http://piwigo.org/svn/branches/2.6@27539 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-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']
)
)),