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...")."
\n"; flush(); - if ($bro->ExtractFile($R. '/' . $file, $R)) { + if ($bro->ExtractFile($R. '/' . $fileextract, $R)) { echo "

"; print $err->errstr(); print _("failed")."
\n"; @@ -324,7 +337,7 @@ echo " "; } $e = $bro->is_extractable($R,$c[$i]["name"]); if ($e) { - echo " "; + echo " "; echo _("Extract"); echo ""; } diff --git a/bureau/admin/dom_edit.inc.php b/bureau/admin/dom_edit.inc.php index ec8e5a46..da088d75 100644 --- a/bureau/admin/dom_edit.inc.php +++ b/bureau/admin/dom_edit.inc.php @@ -112,7 +112,13 @@ $dom->unlock(); - " /> + " /> diff --git a/bureau/admin/dom_edit.php b/bureau/admin/dom_edit.php index 162129db..47f3b3ca 100644 --- a/bureau/admin/dom_edit.php +++ b/bureau/admin/dom_edit.php @@ -94,7 +94,7 @@ if ($r['dns_action']=='UPDATE') {?> gestion des sous-domaines --> - +