From 983524b14b75297effb2fc0a9bb4a7840729f50c Mon Sep 17 00:00:00 2001 From: Remi Date: Tue, 23 Feb 2016 15:46:27 +0100 Subject: [PATCH] bug fix: sort in file browser to respect size and date order --- bureau/admin/bro_main.php | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/bureau/admin/bro_main.php b/bureau/admin/bro_main.php index 01e8ef74..cf03f6f4 100644 --- a/bureau/admin/bro_main.php +++ b/bureau/admin/bro_main.php @@ -359,8 +359,8 @@ function actmoveto_not_empty() { echo " ("._("protected").")"; } echo "\n"; - echo " ".format_size($c[$i]["size"]).""; - echo "".format_date(_('%3$d-%2$d-%1$d %4$d:%5$d'),date("Y-m-d H:i:s",$c[$i]["date"]))."
"; + echo " ".format_size($c[$i]["size"]).""; + echo "".format_date(_('%3$d-%2$d-%1$d %4$d:%5$d'),date("Y-m-d H:i:s",$c[$i]["date"]))."
"; if ($p["showtype"]) { echo ""._($bro->mime($c[$i]["name"])).""; } @@ -399,8 +399,8 @@ function actmoveto_not_empty() { echo ""; ehe($c[$i]["name"]); echo "/\n"; - echo " ".format_size($c[$i]["size"]).""; - echo "".format_date(_('%3$d-%2$d-%1$d %4$d:%5$d'),date("Y-m-d h:i:s",$c[$i]["date"]))."
"; + echo " ".format_size($c[$i]["size"]).""; + echo "".format_date(_('%3$d-%2$d-%1$d %4$d:%5$d'),date("Y-m-d h:i:s",$c[$i]["date"]))."
"; if ($p["showtype"]) { echo ""._("Folder").""; } @@ -613,9 +613,9 @@ else {
-

-&showdirsize=1"> -

 

+

+&showdirsize=1">
 
+
is_protected($R)) { echo ""._("Edit this folder's protection").""; @@ -657,7 +657,17 @@ else {