diff options
author | mistic100 <mistic@piwigo.org> | 2013-11-06 15:43:41 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2013-11-06 15:43:41 +0000 |
commit | 7a5e31e40127c401520d62499830a14537cd9c03 (patch) | |
tree | 4758ad0f260c9cd45ff295c6a1f84b04dec98d23 /include/functions_user.inc.php | |
parent | b768047019615e7c80f6292514219c7335b0ee1d (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | include/functions_user.inc.php | 14 |
1 files changed, 7 insertions, 7 deletions
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) ); } |