X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/ef06cd797d4f91e83b1e3e69d815ff3e6c773ace..f371f1e0c13f7120ae1e6d5de707d58f37f75ba0:/file.php?ds=sidebyside diff --git a/file.php b/file.php index 0a6e32c..cc3f163 100644 --- a/file.php +++ b/file.php @@ -37,7 +37,7 @@ if (isset ($_GET['h']) && !empty ($_GET['h'])) header ("HTTP/1.0 404 Not Found"); require (JIRAFEAU_ROOT.'lib/template/header.php'); - echo '

Error 404: Not Found

'; + echo '

' . _('Error 404: Not Found') . '

'; require (JIRAFEAU_ROOT.'lib/template/footer.php'); exit; } @@ -80,8 +80,9 @@ if (isset ($_GET['h']) && !empty ($_GET['h'])) jirafeau_delete ($link_name); require (JIRAFEAU_ROOT.'lib/template/header.php'); echo '

'. - _('The time limit of this file has expired.' . - 'It has been deleted.') . '

'; + _('The time limit of this file has expired.') . ' ' . + _('File has been deleted.') . + '

'; require (JIRAFEAU_ROOT.'lib/template/footer.php'); exit; } @@ -96,9 +97,9 @@ if (isset ($_GET['h']) && !empty ($_GET['h'])) "" method = "post">
- -

Error 403: Forbidden

'; + echo '

' . _('Error 403: Forbidden') . + '

'; require (JIRAFEAU_ROOT.'lib/template/footer.php'); exit; } @@ -139,7 +141,8 @@ if (isset ($_GET['h']) && !empty ($_GET['h'])) header ("HTTP/1.0 404 Not Found"); require (JIRAFEAU_ROOT.'lib/template/header.php'); - echo '

Error 404: Not Found

'; + echo '

' . _('Error 404: Not Found') . + '

'; require (JIRAFEAU_ROOT.'lib/template/footer.php'); exit; }