@@ -54,18 +54,18 @@ |
||
| 54 | 54 | $f = fopen($targetFile, 'w'); |
| 55 | 55 | if ($f) { |
| 56 | 56 | switch ($error) { |
| 57 | - case UPLOAD_ERR_INI_SIZE: |
|
| 58 | - $message = addslashes(__("This file is too large.")); |
|
| 59 | - break; |
|
| 60 | - case UPLOAD_ERR_FORM_SIZE: |
|
| 61 | - $message = addslashes(__("Large files are not supported.")); |
|
| 62 | - break; |
|
| 63 | - case UPLOAD_ERR_PARTIAL: |
|
| 64 | - $message = addslashes(__("File was only partially uploaded.")); |
|
| 65 | - break; |
|
| 66 | - default: |
|
| 67 | - $message = sprintf(addslashes(__("Error code %s.")), $error); |
|
| 68 | - break; |
|
| 57 | + case UPLOAD_ERR_INI_SIZE: |
|
| 58 | + $message = addslashes(__("This file is too large.")); |
|
| 59 | + break; |
|
| 60 | + case UPLOAD_ERR_FORM_SIZE: |
|
| 61 | + $message = addslashes(__("Large files are not supported.")); |
|
| 62 | + break; |
|
| 63 | + case UPLOAD_ERR_PARTIAL: |
|
| 64 | + $message = addslashes(__("File was only partially uploaded.")); |
|
| 65 | + break; |
|
| 66 | + default: |
|
| 67 | + $message = sprintf(addslashes(__("Error code %s.")), $error); |
|
| 68 | + break; |
|
| 69 | 69 | } |
| 70 | 70 | fprintf($f, "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\""); |
| 71 | 71 | fprintf($f, "\"http://www.w3.org/TR/html4/strict.dtd\">"); |
@@ -1391,11 +1391,11 @@ |
||
| 1391 | 1391 | |
| 1392 | 1392 | <div id="footer"> |
| 1393 | 1393 | <?php |
| 1394 | - # Show authorized user name (and address) and allow logout. |
|
| 1394 | + # Show authorized user name (and address) and allow logout. |
|
| 1395 | 1395 | if ($user) { |
| 1396 | 1396 | echo("<a href=\"logout.php\" title=\"" . |
| 1397 | - addslashes(__('Disconnect the current user')) . |
|
| 1398 | - "\">" . addslashes(__('Log out')) . "<i class=\"fa fa-sign-out\"></i></a>"); |
|
| 1397 | + addslashes(__('Disconnect the current user')) . |
|
| 1398 | + "\">" . addslashes(__('Log out')) . "<i class=\"fa fa-sign-out\"></i></a>"); |
|
| 1399 | 1399 | } |
| 1400 | 1400 | ?> |
| 1401 | 1401 | </div> <!-- Footer --> |