From dc7998c689ddd6cf3b1ef38d020a7f96ea7adf16 Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Sun, 26 Aug 2012 11:07:32 +0000 Subject: [PATCH] Modification m_mysql --- bureau/admin/sql_getparam.php | 4 +- bureau/admin/sql_list.php | 26 +++++++++-- bureau/admin/sql_users_rights.php | 1 + bureau/class/m_mysql.php | 76 ++++++++++++++++--------------- 4 files changed, 64 insertions(+), 43 deletions(-) diff --git a/bureau/admin/sql_getparam.php b/bureau/admin/sql_getparam.php index 9f0bdad9..1a71c220 100644 --- a/bureau/admin/sql_getparam.php +++ b/bureau/admin/sql_getparam.php @@ -49,7 +49,6 @@ if (!$r=$mysql->get_dblist()) { echo "

$error

 

"; } $r=$mysql->get_defaultsparam($dbname); -if(!empty($r)){ ?>

:

@@ -78,13 +77,12 @@ if(isset($r['user'])){
";__("You changed the MySQL User base configuration. Please refer to your configuration");echo"

 

"; + echo "

";__("You changed the MySQL User base configuration. Please reffer to your configuration");echo"

 

"; } ?>

diff --git a/bureau/admin/sql_list.php b/bureau/admin/sql_list.php index 73ecfeb2..6fdb784c 100644 --- a/bureau/admin/sql_list.php +++ b/bureau/admin/sql_list.php @@ -59,7 +59,7 @@ if($rdb){ ?>
- + - +

 

-cancreate("mysql")) { ?> +cancreate("mysql")) { + $q=$quota->getquota("mysql"); + if($q['u'] == 0 ){ +?>

- + +
 
 
+ + + +
+ user["login"]; ?>_ +
+
+" /> +
+