Changeset 5292 for trunk/upload.php
- Timestamp:
- Mar 23, 2010, 10:18:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/upload.php
r5196 r5292 73 73 { 74 74 array_push( $result['error'], 75 l10n('the filesize of the picture must not exceed : 75 l10n('the filesize of the picture must not exceed :').$my_max_file_size.' KB' ); 76 76 } 77 77 else … … 91 91 { 92 92 array_push( $result['error'], 93 l10n('the width of the picture must not exceed : 93 l10n('the width of the picture must not exceed :').$image_max_width.' px' ); 94 94 } 95 95 if ( isset( $image_max_height ) … … 98 98 { 99 99 array_push( $result['error'], 100 l10n('the height of the picture must not exceed : 100 l10n('the height of the picture must not exceed :').$image_max_height.' px' ); 101 101 } 102 102 // $size[2] == 1 means GIF … … 351 351 if ( isset( $page['waiting_id'] ) ) 352 352 { 353 $advise_title = l10n('Optional, but recommended : choose a thumbnail to associate to ').$_FILES['picture']['name'];353 $advise_title = l10n('Optional, but recommended : choose a thumbnail to associate to').' '.$_FILES['picture']['name']; 354 354 } 355 355 else … … 382 382 if ( !empty($conf['upload_maxfilesize']) ) 383 383 { 384 $content = l10n('the filesize of the picture must not exceed : 384 $content = l10n('the filesize of the picture must not exceed :'); 385 385 $content.= $conf['upload_maxfilesize'].' KB'; 386 386 $template->append('advises', $content); … … 391 391 if ( $conf['upload_maxwidth_thumbnail'] != '' ) 392 392 { 393 $content = l10n('the width of the picture must not exceed : 393 $content = l10n('the width of the picture must not exceed :'); 394 394 $content.= $conf['upload_maxwidth_thumbnail'].' px'; 395 395 $template->append('advises', $content); … … 397 397 if ( $conf['upload_maxheight_thumbnail'] != '' ) 398 398 { 399 $content = l10n('the height of the picture must not exceed : 399 $content = l10n('the height of the picture must not exceed :'); 400 400 $content.= $conf['upload_maxheight_thumbnail'].' px'; 401 401 $template->append('advises', $content); … … 406 406 if ( $conf['upload_maxwidth'] != '' ) 407 407 { 408 $content = l10n('the width of the picture must not exceed : 408 $content = l10n('the width of the picture must not exceed :'); 409 409 $content.= $conf['upload_maxwidth'].' px'; 410 410 $template->append('advises', $content); … … 412 412 if ( $conf['upload_maxheight'] != '' ) 413 413 { 414 $content = l10n('the height of the picture must not exceed : 414 $content = l10n('the height of the picture must not exceed :'); 415 415 $content.= $conf['upload_maxheight'].' px'; 416 416 $template->append('advises', $content);
Note: See TracChangeset
for help on using the changeset viewer.