X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/5efae52e3028850bd88ed03945f5d912420a36d3..33ee7ef3ce69a93f3078ce0f1ee8e72a40464d78:/f.php diff --git a/f.php b/f.php index 4289eae..5fd8575 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 { ?>