ergo pages bdd

This commit is contained in:
Chantal Bernard-Putz 2010-05-27 15:10:45 +00:00
parent 9989079a45
commit 03b2882dda
11 changed files with 25 additions and 2 deletions

View File

@ -46,6 +46,8 @@ if (!$r=$mysql->get_mysql_details($id)) {
?>
<h3><?php __("MySQL Databases"); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($error) {
echo "<p class=\"error\">$error</p><p>&nbsp;</p>";

View File

@ -49,6 +49,8 @@ if ($confirm=="y") {
?>
<h3><?php __("MySQL Databases"); ?></h3>
<hr id="topbar"/>
<br />
<p class="error"><?php __("WARNING"); ?></big><br /><?php __("Confirm the deletion of the following SQL databases"); ?><br />
<?php __("This will delete all the tables currently in those db."); ?></p>
<form method="post" action="sql_del.php" id="main">
@ -67,4 +69,4 @@ while (list($key,$val)=each($_POST)) {
<input type="submit" class="inb" name="sub" value="<?php __("Yes"); ?>" /> <input type="button" class="inb" name="non" value="<?php __("No"); ?>" onclick="history.back()" />
</p>
</form>
<?php include_once("foot.php"); ?>
<?php include_once("foot.php"); ?>

View File

@ -36,6 +36,8 @@ if (!$r=$mysql->get_mysql_details($id)) {
}
?>
<h3><?php __("MySQL Databases"); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($r["enabled"]) {
?>
@ -56,4 +58,4 @@ __("You currently have no database defined");
}
?>
</p>
<?php include_once("foot.php"); ?>
<?php include_once("foot.php"); ?>

View File

@ -36,6 +36,8 @@ if (!$r=$mysql->get_dblist()) {
?>
<h3><?php __("MySQL Databases"); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($error) {
echo "<p class=\"error\">$error</p><p>&nbsp;</p>";

View File

@ -34,6 +34,8 @@ $r=$mysql->get_dblist();
?>
<h3><?php __("MySQL Databases"); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($error) {
echo "<p class=\"error\">$error</p>";

View File

@ -36,6 +36,8 @@ if (!$r=$mysql->get_dblist()) {
?>
<h3><?php __("MySQL Databases"); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($error) {
echo "<p class=\"error\">$error</p>";

View File

@ -41,6 +41,8 @@ if (!$r=$mysql->get_mysql_details($id)) {
?>
<h3><?php __("MySQL Databases"); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($error) {
echo "<p class=\"error\">$error</p><p>&nbsp;</p>";

View File

@ -44,12 +44,15 @@ if (!$quota->cancreate("mysql_users")) {
?>
<h3><?php __("Create a new MySQL user"); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($error) {
echo "<p class=\"error\">$error</p>";
if ($fatal) {
?>
<?php include_once("foot.php"); ?>
<?php
exit();
}

View File

@ -50,6 +50,8 @@ include_once("head.php");
?>
<h3><?php __("MySQL users"); ?></h3>
<hr id="topbar"/>
<br />
<p class="error"><?php __("WARNING"); ?></big><br /><?php __("Confirm the deletion of the following MySQL users"); ?><br />
</p>
<form method="post" action="sql_users_del.php" id="main">

View File

@ -35,6 +35,8 @@ $rdb=$mysql->get_dblist();
?>
<h3><?php __("MySQL Users"); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($error) {
echo "<p class=\"error\">$error</p><p>&nbsp;</p>";

View File

@ -39,6 +39,8 @@ $r=$mysql->get_user_dblist($id);
?>
<h3><?php printf(_("MySQL Rights for %s"),$mem->user["login"]."_".$id) ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($error) {
echo "<p class=\"error\">$error</p><p>&nbsp;</p>";