Changeset 12886 for trunk/admin/user_list.php
- Timestamp:
- Jan 14, 2012, 4:02:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/user_list.php
r12877 r12886 241 241 } 242 242 } 243 } 244 245 // email notification 246 if ( 247 isset($_POST['submit_add']) 248 and count($page['errors']) == 0 249 and !empty($_POST['email']) 250 and isset($_POST['send_password_by_mail']) 251 ) 252 { 253 include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php'); 254 255 $keyargs_content = array( 256 get_l10n_args('Hello %s,', $_POST['login']), 257 get_l10n_args('Thank you for registering at %s!', $conf['gallery_title']), 258 get_l10n_args('', ''), 259 get_l10n_args('Here are your connection settings', ''), 260 get_l10n_args('Username: %s', $_POST['login']), 261 get_l10n_args('Password: %s', $_POST['password']), 262 get_l10n_args('Email: %s', $_POST['email']), 263 get_l10n_args('', ''), 264 get_l10n_args('If you think you\'ve received this email in error, please contact us at %s', get_webmaster_mail_address()), 265 ); 266 267 pwg_mail( 268 $_POST['email'], 269 array( 270 'subject' => '['.$conf['gallery_title'].'] '.l10n('Registration'), 271 'content' => l10n_args($keyargs_content), 272 'content_format' => 'text/plain', 273 ) 274 ); 243 275 } 244 276
Note: See TracChangeset
for help on using the changeset viewer.