X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/5efae52e3028850bd88ed03945f5d912420a36d3..0ae47dc1924ca7682e89b64dcb85e4d1f758ff6e:/f.php diff --git a/f.php b/f.php index 4289eae..2cf19ef 100644 --- a/f.php +++ b/f.php @@ -39,7 +39,7 @@ $link_name = $_GET['h']; if (!preg_match('/[0-9a-zA-Z_-]+$/', $link_name)) { require(JIRAFEAU_ROOT.'lib/template/header.php'); - echo '

' . t('Sorry, the requested file is not found') . '

'; + echo '

' . t('FILE_404') . '

'; require(JIRAFEAU_ROOT.'lib/template/footer.php'); exit; } @@ -47,7 +47,7 @@ if (!preg_match('/[0-9a-zA-Z_-]+$/', $link_name)) { $link = jirafeau_get_link($link_name); if (count($link) == 0) { require(JIRAFEAU_ROOT.'lib/template/header.php'); - echo '

' . t('Sorry, the requested file is not found') . + echo '

' . t('FILE_404') . '

'; require(JIRAFEAU_ROOT.'lib/template/footer.php'); exit; @@ -77,7 +77,7 @@ $p = s2p($link['md5']); if (!file_exists(VAR_FILES . $p . $link['md5'])) { jirafeau_delete_link($link_name); require(JIRAFEAU_ROOT.'lib/template/header.php'); - echo '

'.t('File not available.'). + echo '

'.t('FILE_NOT_AVAIL'). '

'; require(JIRAFEAU_ROOT.'lib/template/footer.php'); exit; @@ -87,23 +87,23 @@ if (!empty($delete_code) && $delete_code == $link['link_code']) { require(JIRAFEAU_ROOT.'lib/template/header.php'); if (isset($_POST['do_delete'])) { jirafeau_delete_link($link_name); - echo '

'.t('File has been deleted.'). + echo '

'.t('FILE_DELETED'). '

'; } else { ?>