@@ -55,18 +55,18 @@ |
||
| 55 | 55 | $f = fopen($targetFile, 'w'); |
| 56 | 56 | if ($f) { |
| 57 | 57 | switch ($error) { |
| 58 | - case UPLOAD_ERR_INI_SIZE: |
|
| 59 | - $message = addslashes(__("This file is too large.")); |
|
| 60 | - break; |
|
| 61 | - case UPLOAD_ERR_FORM_SIZE: |
|
| 62 | - $message = addslashes(__("Large files are not supported.")); |
|
| 63 | - break; |
|
| 64 | - case UPLOAD_ERR_PARTIAL: |
|
| 65 | - $message = addslashes(__("File was only partially uploaded.")); |
|
| 66 | - break; |
|
| 67 | - default: |
|
| 68 | - $message = sprintf(addslashes(__("Error code %s.")), $error); |
|
| 69 | - break; |
|
| 58 | + case UPLOAD_ERR_INI_SIZE: |
|
| 59 | + $message = addslashes(__("This file is too large.")); |
|
| 60 | + break; |
|
| 61 | + case UPLOAD_ERR_FORM_SIZE: |
|
| 62 | + $message = addslashes(__("Large files are not supported.")); |
|
| 63 | + break; |
|
| 64 | + case UPLOAD_ERR_PARTIAL: |
|
| 65 | + $message = addslashes(__("File was only partially uploaded.")); |
|
| 66 | + break; |
|
| 67 | + default: |
|
| 68 | + $message = sprintf(addslashes(__("Error code %s.")), $error); |
|
| 69 | + break; |
|
| 70 | 70 | } |
| 71 | 71 | fprintf($f, "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\""); |
| 72 | 72 | fprintf($f, "\"http://www.w3.org/TR/html4/strict.dtd\">"); |