aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2009-04-21 17:10:36 +0000
committerrub <rub@piwigo.org>2009-04-21 17:10:36 +0000
commitb113b3fb0889c500f4e3d7112b99f0cf7a9c6d0a (patch)
tree12c18c7cd29af441d0e04fce5f992542d69db75e
parent52db0a523cde763bfd0a11c1e01c639e96c04390 (diff)
merge -c3243 from trunk to branch 2.0
Resolved issue 0000974: Adding a link to the gallery in the notification of inscription git-svn-id: http://piwigo.org/svn/branches/2.0@3244 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/include/functions_notification_by_mail.inc.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/admin/include/functions_notification_by_mail.inc.php b/admin/include/functions_notification_by_mail.inc.php
index 3aa3e3c15..9f631560b 100644
--- a/admin/include/functions_notification_by_mail.inc.php
+++ b/admin/include/functions_notification_by_mail.inc.php
@@ -415,7 +415,15 @@ function do_subscribe_unsubscribe_notification_by_mail($is_admin_request, $is_su
$section_action_by = ($is_subscribe ? 'subscribe_by_' : 'unsubscribe_by_');
$section_action_by .= ($is_admin_request ? 'admin' : 'himself');
- $env_nbm['mail_template']->assign( $section_action_by, true );
+ $env_nbm['mail_template']->assign
+ (
+ array
+ (
+ $section_action_by => true,
+ 'GOTO_GALLERY_TITLE' => $conf['gallery_title'],
+ 'GOTO_GALLERY_URL' => $conf['gallery_url'],
+ )
+ );
if (pwg_mail
(