Changeset 1908 for trunk/upload.php
- Timestamp:
- Mar 16, 2007, 12:20:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/upload.php
r1901 r1908 230 230 $waiting_url = get_absolute_root_url().'admin.php?page=waiting'; 231 231 232 $content = 233 'Category: '.get_cat_display_name($category['upper_names'], null, false)."\n" 234 .'Picture name: '.$_FILES['picture']['name']."\n" 235 .'User: '.$_POST['username']."\n" 236 .'Email: '.$_POST['mail_address']."\n" 237 .'Picture name: '.$_POST['name']."\n" 238 .'Author: '.$_POST['author']."\n" 239 .'Creation Date: '.$_POST['date_creation']."\n" 240 .'Comment: '.$_POST['comment']."\n" 241 .get_block_mail_admin_info() 242 .'Waiting page: '.$waiting_url."\n"; 243 244 pwg_mail 232 $keyargs_content = array 245 233 ( 246 format_email('administrators', get_webmaster_mail_address()), 247 array 248 ( 249 'subject' => 'PWG picture uploaded by '.$_POST['username'], 250 'content' => $content, 251 'Bcc' => get_administrators_email() 252 ) 234 get_l10n_args('Category: %s', get_cat_display_name($category['upper_names'], null, false)), 235 get_l10n_args('Picture name: %s', $_FILES['picture']['name']), 236 get_l10n_args('User: %s', $_POST['username']), 237 get_l10n_args('Email: %s', $_POST['mail_address']), 238 get_l10n_args('Picture name: %s', $_POST['name']), 239 get_l10n_args('Author: %s', $_POST['author']), 240 get_l10n_args('Creation date: %s', $_POST['date_creation']), 241 get_l10n_args('Comment: %s', $_POST['comment']), 242 get_l10n_args('', ''), 243 get_l10n_args('Waiting page: %s', $waiting_url) 244 ); 245 246 pwg_mail_notification_admins 247 ( 248 get_l10n_args('Picture uploaded by %s', $_POST['username']), 249 $keyargs_content 253 250 ); 254 251 }
Note: See TracChangeset
for help on using the changeset viewer.