From: Jerome Jutteau Date: Mon, 5 Oct 2015 11:45:41 +0000 (+0200) Subject: better naming for one time downloads in admin interface X-Git-Tag: 1.1~10^2~1 X-Git-Url: https://git.p6c8.net/jirafeau_project.git/commitdiff_plain/134fa87d899035f4ca5ebd2755f3ff4c425c2959 better naming for one time downloads in admin interface Signed-off-by: Jerome Jutteau --- diff --git a/lib/functions.php b/lib/functions.php index aaa0daf..592e841 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -623,7 +623,12 @@ jirafeau_admin_list ($name, $file_hash, $link_hash) echo '' . jirafeau_human_size ($l['file_size']) . ''; echo '' . ($l['time'] == -1 ? '' : strftime ('%c', $l['time'])) . ''; - echo '' . $l['onetime'] . ''; + echo ''; + if ($l['onetime'] == 'O') + echo 'Y'; + else + echo 'N'; + echo ''; echo '' . strftime ('%c', $l['upload_date']) . ''; echo '' . $l['ip'] . ''; echo '' .