From b113b3fb0889c500f4e3d7112b99f0cf7a9c6d0a Mon Sep 17 00:00:00 2001 From: rub Date: Tue, 21 Apr 2009 17:10:36 +0000 Subject: 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 --- admin/include/functions_notification_by_mail.inc.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'admin') 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 ( -- cgit v1.2.3