diff options
author | rub <rub@piwigo.org> | 2006-07-11 20:51:24 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2006-07-11 20:51:24 +0000 |
commit | 8a7fff22b0ada393cff2543fbf17c0cf52f0d03d (patch) | |
tree | 2d8f5a667fa1199708aedec7e0e6835fc3a90640 /admin/notification_by_mail.php | |
parent | cfcb489cfa131a56e057e358b7041a7dd6dd71ab (diff) |
Resolved Issue ID 0000456, 0000457, 0000459, 0000465:
o Fix bugs adviser mode
git-svn-id: http://piwigo.org/svn/trunk@1458 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/notification_by_mail.php')
-rw-r--r-- | admin/notification_by_mail.php | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/admin/notification_by_mail.php b/admin/notification_by_mail.php index dbb3a80a6..1a3efeabc 100644 --- a/admin/notification_by_mail.php +++ b/admin/notification_by_mail.php @@ -171,7 +171,15 @@ order by ) ); - array_push($page['infos'], sprintf(l10n('nbm_user_x_added'), $nbm_user['username'], $nbm_user['mail_address'])); + array_push + ( + $page['infos'], + sprintf( + l10n('nbm_user_x_added'), + $nbm_user['username'], + get_email_address_as_display_text($nbm_user['mail_address']) + ) + ); } // Insert new nbm_users @@ -579,7 +587,7 @@ switch ($page['mode']) : (isset($_POST['trueify']) and isset($_POST['cat_false']) and in_array($nbm_user['check_key'], $_POST['cat_false'])) ) ? 'selected="selected"' : '', 'VALUE' => $nbm_user['check_key'], - 'OPTION' => $nbm_user['username'].'['.$nbm_user['mail_address'].']' + 'OPTION' => $nbm_user['username'].'['.get_email_address_as_display_text($nbm_user['mail_address']).']' )); } @@ -621,7 +629,7 @@ switch ($page['mode']) !in_array($nbm_user['check_key'], $_POST['send_selection']) // not selected ) ? '' : 'checked="checked"', 'USERNAME'=> $nbm_user['username'], - 'EMAIL' => $nbm_user['mail_address'], + 'EMAIL' => get_email_address_as_display_text($nbm_user['mail_address']), 'LAST_SEND'=> $nbm_user['last_send'] )); } |