]> git.p6c8.net - jirafeau_mojo42.git/commitdiff
better naming for one time downloads in admin interface
authorJerome Jutteau <mojo@couak.net>
Mon, 5 Oct 2015 11:45:41 +0000 (13:45 +0200)
committerJerome Jutteau <mojo@couak.net>
Mon, 5 Oct 2015 11:45:41 +0000 (13:45 +0200)
Signed-off-by: Jerome Jutteau <mojo@couak.net>
lib/functions.php

index aaa0daf4ff409b23cb306805f89b5f3272a47395..592e841997249d35616ab65cf8c97172ef2c7524 100644 (file)
@@ -623,7 +623,12 @@ jirafeau_admin_list ($name, $file_hash, $link_hash)
                 echo '<td>' . jirafeau_human_size ($l['file_size']) . '</td>';
                 echo '<td>' . ($l['time'] == -1 ? '' : strftime ('%c', $l['time'])) .
                      '</td>';
-                echo '<td>' . $l['onetime'] . '</td>';
+                echo '<td>';
+                if ($l['onetime'] == 'O')
+                    echo 'Y';
+                else
+                    echo 'N';
+                echo '</td>';
                 echo '<td>' . strftime ('%c', $l['upload_date']) . '</td>';
                 echo '<td>' . $l['ip'] . '</td>';
                 echo '<td>' .

patrick-canterino.de