From 7a5e31e40127c401520d62499830a14537cd9c03 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Wed, 6 Nov 2013 15:43:41 +0000 Subject: feature 2995: New email template rewrite pwg_mail_group() and pwg_mail_notification_admins() new function pwg_mail_admins() add complete template management in pwg_mail() TODO : font-size problem in Thunderbird git-svn-id: http://piwigo.org/svn/trunk@25357 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_user.inc.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include/functions_user.inc.php') diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index f6e2cd925..a71335e74 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -229,16 +229,16 @@ SELECT id include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php'); $admin_url = get_absolute_root_url().'admin.php?page=user_list&username='.$login; - $keyargs_content = array( - get_l10n_args('User: %s', stripslashes($login)), - get_l10n_args('Email: %s', $_POST['mail_address']), - get_l10n_args('', ''), - get_l10n_args('Admin: %s', $admin_url) + $content = array( + l10n('User: %s', stripslashes($login) ), + l10n('Email: %s', $_POST['mail_address']), + '', + l10n('Admin: %s', $admin_url), ); pwg_mail_notification_admins( - get_l10n_args('Registration of %s', stripslashes($login)), - $keyargs_content + l10n('Registration of %s', stripslashes($login) ), + implode("\n", $content) ); } -- cgit v1.2.3