aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-11-06 17:57:53 +0000
committermistic100 <mistic@piwigo.org>2013-11-06 17:57:53 +0000
commitfc3b787b70ba83613990860c182e9d7cc20cf1c8 (patch)
tree279057c62bc5a7bd2cf915d51fa4a047b1583032 /include/functions_user.inc.php
parent68636067e98ab30914237ed28d5015cbf8dd6fe4 (diff)
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
Diffstat (limited to 'include/functions_user.inc.php')
-rw-r--r--include/functions_user.inc.php14
1 files changed, 7 insertions, 7 deletions
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
);
}