diff --git a/bureau/admin/bro_main.php b/bureau/admin/bro_main.php index 0f356cb1..7b8a02d4 100644 --- a/bureau/admin/bro_main.php +++ b/bureau/admin/bro_main.php @@ -284,16 +284,27 @@ if (count($c)) { " /> " />   |  - " /> - " /> + " onClick=" return actmoveto_not_empty();"/> + " onClick=" return actmoveto_not_empty();"/> - + + + + "; } + $ez = $bro->is_sqlfile($R,$c[$i]["name"]); + if ($ez) { + echo " "; + echo _("Restore SQL"); + echo ""; + echo ""; + } echo "\n"; } else { // DOSSIER : @@ -365,7 +390,7 @@ if (count($c)) { } echo "".htmlentities($c[$i]["name"])."/\n"; + echo "\">"; ehe($c[$i]["name"]) ;"/\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"]))."
"; if ($p["showtype"]) { diff --git a/bureau/admin/sql_restore.php b/bureau/admin/sql_restore.php index 94484202..5e16c869 100644 --- a/bureau/admin/sql_restore.php +++ b/bureau/admin/sql_restore.php @@ -31,7 +31,8 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "id" => array ("request", "string", ""), + "id" => array ("request", "string", ""), + "filename" => array ("request", "string", ""), ); getFields($fields); @@ -59,7 +60,7 @@ echo "

";

-

" />

+

" />