met en avant le human hostname dans les parametres SQL
(utile genre pour le phpmyadmin) redirige vers la page de login quand on se logout
This commit is contained in:
parent
9936146ec1
commit
14ce6b461e
|
@ -42,16 +42,21 @@ if (!$charset) $charset="UTF-8";
|
|||
<link rel="stylesheet" href="styles/style.css" type="text/css" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
|
||||
</head>
|
||||
<body style="margin: 20px;">
|
||||
<body style="margin: 20px;" onLoad="setTimeout('redirect_panel()', 1500)">
|
||||
<div id="global">
|
||||
|
||||
<div id="content" style="width:1000px;">
|
||||
<h3 style="text-align: center"><?php __("Disconnected"); ?></h3>
|
||||
|
||||
<?php __("You have been logged out of your administration desktop."); ?><br />
|
||||
<p><a href="../index.php"><?php __("Click here to log in"); ?></a></p>
|
||||
<p><a href="index.php"><?php __("Click here to log in"); ?></a></p>
|
||||
<p> </p>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function redirect_panel() {
|
||||
window.location = "index.php"
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -52,9 +52,10 @@ $r=$mysql->get_defaultsparam($dbname);
|
|||
?>
|
||||
<p><?php __("Your current connection settings are"); ?> : </p>
|
||||
<table class="tedit">
|
||||
<th colspan=2 style='text-align:center;'><?php echo '<h1>'.$mysql->dbus->HumanHostname.'</h1>'; ?></th>
|
||||
<tr>
|
||||
<th><?php __("Mysql Server"); ?></th>
|
||||
<td><code><?php echo $mysql->dbus->HumanHostname; ?></code></td>
|
||||
<td><code><?php echo $mysql->dbus->Host; ?></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php __("Database"); ?></th>
|
||||
|
|
Loading…
Reference in New Issue