From fc3b787b70ba83613990860c182e9d7cc20cf1c8 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Wed, 6 Nov 2013 17:57:53 +0000 Subject: feature 2995: New email template restore get_l10n_args removed at r25357 apply changes to NBM git-svn-id: http://piwigo.org/svn/trunk@25360 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 a71335e74..21844b290 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; - $content = array( - l10n('User: %s', stripslashes($login) ), - l10n('Email: %s', $_POST['mail_address']), - '', - l10n('Admin: %s', $admin_url), + $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), ); pwg_mail_notification_admins( - l10n('Registration of %s', stripslashes($login) ), - implode("\n", $content) + get_l10n_args('Registration of %s', stripslashes($login) ), + $keyargs_content ); } -- cgit v1.2.3