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