From cab98df7768729895771aa072ccc35bc8774e6cb Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 18 Mar 2008 23:43:38 +0000 Subject: - smarty for more mail templates/css git-svn-id: http://piwigo.org/svn/trunk@2285 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/include/functions_notification_by_mail.inc.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'admin/include/functions_notification_by_mail.inc.php') diff --git a/admin/include/functions_notification_by_mail.inc.php b/admin/include/functions_notification_by_mail.inc.php index 7328df82e..b1f918afb 100644 --- a/admin/include/functions_notification_by_mail.inc.php +++ b/admin/include/functions_notification_by_mail.inc.php @@ -337,7 +337,7 @@ function assign_vars_nbm_mail_content($nbm_user) set_make_full_url(); - $env_nbm['mail_template']->assign_vars + $env_nbm['mail_template']->assign ( array ( @@ -418,10 +418,7 @@ 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_block_vars - ( - $section_action_by, array('DUMMY' => 'dummy') - ); + $env_nbm['mail_template']->assign( $section_action_by, true ); if (pwg_mail ( -- cgit v1.2.3