merge Loic's version

This commit is contained in:
Marc Delisle
2001-07-30 21:21:19 +00:00
parent 5e29b9ec10
commit 0ab0ad63b1
37 changed files with 5108 additions and 3655 deletions

View File

@@ -1,18 +1,23 @@
<?php
/* $Id$ */
/**
* Gets a core script and starts output buffering work
*/
require('./lib.inc.php3');
require('./ob_lib.inc.php3');
if ($cfgOBGzip)
{
$ob_mode = out_buffer_mode_get();
if ($ob_mode)
out_buffer_pre($ob_mode);
$ob_mode = out_buffer_mode_get();
if ($ob_mode) {
out_buffer_pre($ob_mode);
}
}
/**
* Send http headers
* Sends http headers
*/
// Don't use cache (required for Opera)
$now = gmdate('D, d M Y H:i:s') . ' GMT';
@@ -24,8 +29,14 @@ header('Pragma: no-cache'); // HTTP/1.0
// Define the charset to be used
header('Content-Type: text/html; charset=' . $charset);
/**
* Sends the beginning of the html page then returns to the calling script
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>phpMyAdmin</title>
<style type="text/css">
@@ -49,10 +60,11 @@ A:hover.nav {font-family: <?php echo $right_font_family; ?>; color: #FF0000}
<body bgcolor="#F5F5F5" text="#000000" background="images/bkg.gif">
<?php
if (isset($db)) {
echo "<h1> $strDatabase $db";
echo '<h1> ' . $strDatabase . ' ' . htmlspecialchars($db);
if (isset($table) && !isset($btnDrop)) {
echo " - $strTable $table";
echo ' - ' . $strTable . ' ' . htmlspecialchars($table);
}
echo '</h1>' . "\n";
}
echo "\n";
?>