From f8509c37d8fcba152e75074d828c921ee1f32a1e Mon Sep 17 00:00:00 2001
From: jakubvrana
Date: Tue, 10 Jul 2007 20:57:35 +0000
Subject: [PATCH] Margins
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@108 7c3ca157-0c34-0410-bff1-cbf682f78f5c
---
connect.inc.php | 2 +-
database.inc.php | 4 ++--
design.inc.php | 6 +++---
indexes.inc.php | 1 -
select.inc.php | 2 +-
5 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/connect.inc.php b/connect.inc.php
index 95d7499b..eac668ee 100644
--- a/connect.inc.php
+++ b/connect.inc.php
@@ -4,7 +4,7 @@ if (!(strlen($_GET["db"]) ? $mysql->select_db($_GET["db"]) : isset($_GET["sql"])
if (strlen($_GET["db"])) {
echo "" . lang('Invalid database.') . "
\n";
} else {
- echo '' . lang('Create new database') . '';
+ echo '' . lang('Create new database') . '
';
}
page_footer("db");
exit;
diff --git a/database.inc.php b/database.inc.php
index d3538e1e..d1519504 100644
--- a/database.inc.php
+++ b/database.inc.php
@@ -45,10 +45,10 @@ if ($_POST) {
}
?>
-
+
diff --git a/design.inc.php b/design.inc.php
index 7e130fdf..331a3f21 100644
--- a/design.inc.php
+++ b/design.inc.php
@@ -13,10 +13,10 @@ BODY { color: Black; background-color: White; }
A { color: Blue; }
A:visited { color: Navy; }
H1 { font-size: 150%; margin: 0; }
-H2 { font-size: 150%; margin-top: 0; }
+H2 { font-size: 150%; margin: 0; }
FIELDSET { float: left; padding: .5em; margin: 0; }
-PRE { margin: 0; margin: .12em 0; }
-TABLE { margin-bottom: 1em; }
+PRE { margin: .12em 0; }
+TABLE { margin-top: 1em; }
.error { color: Red; }
.message { color: Green; }
#menu { position: absolute; top: 8px; left: 8px; width: 15em; overflow: auto; white-space: nowrap; }
diff --git a/indexes.inc.php b/indexes.inc.php
index 8d7ab651..8d00ae7a 100644
--- a/indexes.inc.php
+++ b/indexes.inc.php
@@ -32,7 +32,6 @@ if ($_POST && !$error && !$_POST["add"]) {
}
$error = $mysql->error;
}
-
page_header(lang('Indexes') . ': ' . htmlspecialchars($_GET["indexes"]));
if ($_POST) {
diff --git a/select.inc.php b/select.inc.php
index 5496b053..734aaff0 100644
--- a/select.inc.php
+++ b/select.inc.php
@@ -88,7 +88,7 @@ for (var i=0; > i; i++) {
echo "\n";
echo "\n";
- echo "\n";
+ echo "\n";
$result = $mysql->query("SELECT SQL_CALC_FOUND_ROWS " . implode(", ", array_map('idf_escape', $columns)) . " FROM " . idf_escape($_GET["select"]) . ($where ? " WHERE " . implode(" AND ", $where) : "") . ($order ? " ORDER BY " . implode(", ", $order) : "") . (strlen($limit) ? " LIMIT " . intval($limit) . " OFFSET " . ($limit * $_GET["page"]) : ""));
if (!$result->num_rows) {