diff --git a/bureau/admin/foot.php b/bureau/admin/foot.php index d83fe288..f4d5642a 100644 --- a/bureau/admin/foot.php +++ b/bureau/admin/foot.php @@ -10,3 +10,6 @@ if ( $debug_alternc->status ) { ?> + diff --git a/bureau/admin/sql_del.php b/bureau/admin/sql_del.php index b6d7fffd..76ffa8ea 100644 --- a/bureau/admin/sql_del.php +++ b/bureau/admin/sql_del.php @@ -30,10 +30,16 @@ require_once("../class/config.php"); include_once ("head.php"); +$fields = array ( + "confirm" => array ("post", "string", ""), +); +getFields($fields); + if(!isset($error)){ $error=""; } -if (isset($confirm) && $confirm=="y" ) { + +if ($confirm=="y" ) { reset($_POST); while (list($key,$val)=each($_POST)) { if (substr($key,0,4)=="del_") { diff --git a/bureau/admin/sql_doadd.php b/bureau/admin/sql_doadd.php index c7b69e99..06affa2f 100644 --- a/bureau/admin/sql_doadd.php +++ b/bureau/admin/sql_doadd.php @@ -29,6 +29,10 @@ */ require_once("../class/config.php"); +$fields = array ( + "dbn" => array ("post", "string", ""), +); +getFields($fields); if (!$quota->cancreate("mysql")) { $error=_("err_mysql_1"); diff --git a/bureau/class/config.php b/bureau/class/config.php index 6143aaba..9a8ba887 100644 --- a/bureau/class/config.php +++ b/bureau/class/config.php @@ -162,11 +162,10 @@ if (!defined('NOCHECK')) { } for($i=0;$i