aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-03-18 23:43:38 +0000
committerrvelices <rv-github@modusoptimus.com>2008-03-18 23:43:38 +0000
commitcab98df7768729895771aa072ccc35bc8774e6cb (patch)
tree4b1e366b8254330cb3264d7d553d89ae3896c230 /admin/include
parent6ae74fe965c16e1e1dae654eb3e3d43e32224bce (diff)
- smarty for more mail templates/css
git-svn-id: http://piwigo.org/svn/trunk@2285 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include')
-rw-r--r--admin/include/functions_notification_by_mail.inc.php7
1 files changed, 2 insertions, 5 deletions
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
(