]> git.joonet.de Git - adminer.git/commitdiff
Margins
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Tue, 10 Jul 2007 20:57:35 +0000 (20:57 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Tue, 10 Jul 2007 20:57:35 +0000 (20:57 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@108 7c3ca157-0c34-0410-bff1-cbf682f78f5c

connect.inc.php
database.inc.php
design.inc.php
indexes.inc.php
select.inc.php

index 95d7499b8b77512e1a83743e4641766cca73e392..eac668ee1b068fbf5c2e4bdb93ceb16ce10d0b13 100644 (file)
@@ -4,7 +4,7 @@ if (!(strlen($_GET["db"]) ? $mysql->select_db($_GET["db"]) : isset($_GET["sql"])
        if (strlen($_GET["db"])) {
                echo "<p class='error'>" . lang('Invalid database.') . "</p>\n";
        } else {
-               echo '<a href="' . htmlspecialchars($SELF) . 'database=">' . lang('Create new database') . '</a>';
+               echo '<p><a href="' . htmlspecialchars($SELF) . 'database=">' . lang('Create new database') . '</a></p>';
        }
        page_footer("db");
        exit;
index d3538e1ec1b45b25c020b184ec1ea0c82041ae8f..d1519504e87708fa53109dc22478fbba89107501 100644 (file)
@@ -45,10 +45,10 @@ if ($_POST) {
 }
 ?>
 
-<form action="" method="post"><div>
+<form action="" method="post"><p>
 <input name="name" value="<?php echo htmlspecialchars($name); ?>" maxlength="64" />
 <select name="collation"><option value="">(<?php echo lang('collation'); ?>)</option><?php echo optionlist(collations(), $collate, "not_vals"); ?></select>
 <input type="hidden" name="token" value="<?php echo $token; ?>" />
 <input type="submit" value="<?php echo lang('Save'); ?>" />
 <?php if (strlen($_GET["db"])) { ?><input type="submit" name="drop" value="<?php echo lang('Drop'); ?>" /><?php } ?>
-</div></form>
+</p></form>
index 7e130fdf032c5dc58e5c8f077c1f307752f4727a..331a3f21ed098d3dd7572da6abe60c8523e86687 100644 (file)
@@ -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; }
index 8d7ab6519ba47367375d834dbfb08eb2fd44fe36..8d00ae7ac353cdb2ee49195963cf545681f13154 100644 (file)
@@ -32,7 +32,6 @@ if ($_POST && !$error && !$_POST["add"]) {
        }
        $error = $mysql->error;
 }
-
 page_header(lang('Indexes') . ': ' . htmlspecialchars($_GET["indexes"]));
 
 if ($_POST) {
index 5496b0531cf0b24417bf351cb7d52264fe7902d2..734aaff0a1b2bf841c1c1375ead2f991c959a453 100644 (file)
@@ -88,7 +88,7 @@ for (var i=0; <?php echo $i; ?> > i; i++) {
        
        echo "<fieldset><legend>" . lang('Action') . "</legend><div><input type='submit' value='" . lang('Select') . "' /></div></fieldset>\n";
        echo "</form>\n";
-       echo "<div style='clear: left; margin-bottom: 1em;'></div>\n";
+       echo "<div style='clear: left;'></div>\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) {