From 2dc4984ad57dfcb0ded829bfc9d45493484fe6e3 Mon Sep 17 00:00:00 2001
From: Jerome Jutteau '.
- t('Sorry, the admin interface is not enabled.') .
+ t('NO_ADMIN') .
' '.
- t('Wrong password.') . '
+ | " /> + "" /> |
'. - t('Sorry, you are not authenticated on admin interface.') . + t('NO_ADMIN_AUTH') . '
'; - echo t('Number of cleaned files') . ' : ' . $total; + echo t('CLEANED_FILES_CNT') . ' : ' . $total; echo '
'; } elseif (strcmp($_POST['action'], 'clean_async') == 0) { $total = jirafeau_admin_clean_async(); echo ' '; } elseif (strcmp($_POST['action'], 'list') == 0) { jirafeau_admin_list("", "", ""); @@ -247,11 +247,11 @@ if (php_sapi_name() == "cli") { } elseif (strcmp($_POST['action'], 'delete_link') == 0) { jirafeau_delete_link($_POST['link']); echo ' '; + echo '' . t('LINK_DELETED') . '
'; } elseif (strcmp($_POST['action'], 'delete_file') == 0) { $count = jirafeau_delete_file($_POST['md5']); echo ' '; + echo '' . t('DELETED_LINKS') . ' : ' . $count . '
'; } elseif (strcmp($_POST['action'], 'download') == 0) { $l = jirafeau_get_link($_POST['link']); if (!count($l)) { 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') . '
' . t('FILE_404') . '
' . t('Sorry, the requested file is not found') . + echo '
' . t('FILE_404') . '
'.t('File not available.'). + echo '
'.t('FILE_NOT_AVAIL'). '
' . t('Filename') . ' | '; - echo '' . t('Type') . ' | '; - echo '' . t('Size') . ' | '; - echo '' . t('Expire') . ' | '; - echo '' . t('Onetime') . ' | '; - echo '' . t('Upload date') . ' | '; - echo '' . t('Origin') . ' | '; - echo '' . t('Action') . ' | '; + echo '' . t('FILENAME') . ' | '; + echo '' . t('TYPE') . ' | '; + echo '' . t('SIZE') . ' | '; + echo '' . t('EXPIRE') . ' | '; + echo '' . t('ONETIME') . ' | '; + echo '' . t('UPLOAD_DATE') . ' | '; + echo '' . t('ORIGIN') . ' | '; + echo '' . t('ACTION') . ' | '; echo '
' . '' . htmlspecialchars($l['file_name']) . ''; + t('DL_PAGE') . '">' . htmlspecialchars($l['file_name']) . ''; echo ' | '; echo '' . $l['mime_type'] . ' | '; echo '' . jirafeau_human_size($l['file_size']) . ' | '; @@ -628,17 +628,17 @@ function jirafeau_admin_list($name, $file_hash, $link_hash) '