diff --git a/bureau/admin/adm_login.php b/bureau/admin/adm_login.php index 49aff990..ba8907e2 100644 --- a/bureau/admin/adm_login.php +++ b/bureau/admin/adm_login.php @@ -44,11 +44,11 @@ if ($oldid) { if (!$mem->setid($oldid)) { $oldid=null; $error=$err->errstr(); - include("adm_list.php"); + include("index.php"); exit(); } $oldid=null; - include_once("main.php"); + include_once("adm_list.php"); exit(); } diff --git a/bureau/admin/bro_main.php b/bureau/admin/bro_main.php index 64c3d6ee..5a30d65a 100644 --- a/bureau/admin/bro_main.php +++ b/bureau/admin/bro_main.php @@ -31,6 +31,19 @@ require_once("../class/config.php"); include_once ("head.php"); +$fields = array ( + "R" => array ("request", "string", ""), + "formu" => array ("request", "integer", ""), + "actextract" => array ("request", "string", ""), + "fileextract" => array ("request", "string", ""), + "actdel" => array ("request", "string", ""), + "actcopy" => array ("request", "string", ""), + "actmove" => array ("request", "string", ""), + "actmoveto" => array ("request", "string", ""), + ); +getFields($fields); + + $p=$bro->GetPrefs(); if (! isset($R)) $R=''; if (!$R && $p["golastdir"]) { @@ -72,7 +85,7 @@ if (isset($formu) && $formu) {
- + @@ -118,7 +131,7 @@ if (isset($formu) && $formu) { if (isset($actextract) && $actextract) { print _("extracting...")."";
print $err->errstr();
print _("failed")."
\n";
@@ -324,7 +337,7 @@ echo "