aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2009-04-21 17:04:22 +0000
committerrub <rub@piwigo.org>2009-04-21 17:04:22 +0000
commite917678030cc5ee8a407c3fd5c6aff6e123bb0c6 (patch)
treed1b83f228777386998a13d38744cd473935f6451
parent3c27690c8761a5903e1697c4d1e365a1b0e4fa5c (diff)
Resolved issue 0000974: Adding a link to the gallery in the notification of inscription
git-svn-id: http://piwigo.org/svn/trunk@3243 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
(