From 134fa87d899035f4ca5ebd2755f3ff4c425c2959 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Mon, 5 Oct 2015 13:45:41 +0200 Subject: [PATCH] better naming for one time downloads in admin interface Signed-off-by: Jerome Jutteau --- lib/functions.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 '' . -- 2.34.1