]> git.joonet.de Git - adminer.git/commitdiff
IE8 spaces
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Tue, 2 Mar 2010 16:33:28 +0000 (16:33 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Tue, 2 Mar 2010 16:33:28 +0000 (16:33 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1337 7c3ca157-0c34-0410-bff1-cbf682f78f5c

adminer/create.inc.php
adminer/dump.inc.php
adminer/foreign.inc.php
adminer/include/adminer.inc.php
adminer/include/editing.inc.php
adminer/static/default.css

index 51ce06c7dc534e48814ccb26a1c2278a5fd44de8..50ce9ddae2fe7a8bbe6cf82928f23301fcd3fb66 100644 (file)
@@ -164,7 +164,6 @@ foreach ($engines as $engine) {
 <?php echo ($engines ? html_select("Engine", array("" => "(" . lang('engine') . ")") + $engines, $row["Engine"]) : ""); ?>
  <?php echo html_select("Collation", array("" => "(" . lang('collation') . ")") + $collations, $row["Collation"]); ?>
  <input type="submit" value="<?php echo lang('Save'); ?>">
-</p>
 <table cellspacing="0" id="edit-fields" class="nowrap">
 <?php $column_comments = edit_fields($row["fields"], $collations, "TABLE", $suhosin, $foreign_keys); ?>
 </table>
index 143fb20cca22f8dbdacf2f8d9e61e234703b45f8..12336c560c21fbbdca10c1213530d12d375c92b5 100644 (file)
@@ -161,7 +161,7 @@ echo "<tr><th>" . lang('Tables') . "<td>" . html_select('table_style', $table_st
 echo "<tr><th>" . lang('Data') . "<td>" . html_select('data_style', $data_style, 'INSERT');
 ?>
 </table>
-<p><input type="submit" value="<?php echo lang('Export'); ?>"></p>
+<p><input type="submit" value="<?php echo lang('Export'); ?>">
 
 <table cellspacing="0">
 <?php
index 33c45e64a786ab0aca2bc0625ae45824aba1de02..bc117a1cc10daf09a8a3bcce1cfaa555eac37446 100644 (file)
@@ -47,7 +47,6 @@ $target = ($TABLE === $row["table"] ? $source : array_keys(fields($row["table"])
 <?php echo lang('Target table'); ?>:
 <?php echo html_select("table", array_keys(table_status_referencable()), $row["table"], "this.form['change-js'].value = '1'; this.form.submit();"); ?>
 <input type="hidden" name="change-js" value="">
-</p>
 <noscript><p><input type="submit" name="change" value="<?php echo lang('Change'); ?>"></noscript>
 <table cellspacing="0">
 <thead><tr><th><?php echo lang('Source'); ?><th><?php echo lang('Target'); ?></thead>
index aa0dc42522834a9d1652cff8dd7280a8950ff7da..d853253c41d24649edab2c6bdee11fec604680b2 100644 (file)
@@ -126,7 +126,7 @@ class Adminer {
        * @return string
        */
        function selectQuery($query) {
-               return "<p><code class='jush-sql'>" . h($query) . "</code> <a href='" . h(ME) . "sql=" . urlencode($query) . "'>" . lang('Edit') . "</a></p>\n";
+               return "<p><code class='jush-sql'>" . h($query) . "</code> <a href='" . h(ME) . "sql=" . urlencode($query) . "'>" . lang('Edit') . "</a>\n";
        }
        
        /** Description of a row in a table
index 8f4babe9177835c7a31d7d9f056da60abcb69c35..289df78b54f94666a99224afc49ed2208e3fa0b3 100644 (file)
@@ -111,7 +111,7 @@ function edit_type($key, $field, $collations, $foreign_keys = array()) {
 <td><select name="<?php echo $key; ?>[type]" class="type" onfocus="lastType = selectValue(this);" onchange="editingTypeChange(this);"><?php echo optionlist($structured_types + ($foreign_keys ? array(lang('Foreign keys') => $foreign_keys) : array()), $field["type"]); ?></select>
 <td><input name="<?php echo $key; ?>[length]" value="<?php echo h($field["length"]); ?>" size="3" onfocus="editingLengthFocus(this);"><td><?php
        echo "<select name='$key" . "[collation]'" . (ereg('(char|text|enum|set)$', $field["type"]) ? "" : " class='hidden'") . '><option value="">(' . lang('collation') . ')' . optionlist($collations, $field["collation"]) . '</select>';
-       echo ($unsigned ? "<select name='$key" . "[unsigned]'" . (!$field["type"] || ereg('(int|float|double|decimal)$', $field["type"]) ? "" : " class='hidden'") . '><option>' . optionlist($unsigned, $field["unsigned"]) . '</select>' : '');
+       echo ($unsigned ? "<select name='$key" . "[unsigned]'" . (!$field["type"] || ereg('(int|float|double|decimal)$', $field["type"]) ? "" : " class='hidden'") . '><option>' . optionlist($unsigned, $field["unsigned"]) . '</select> ' : ' '); // space for IE
 }
 
 /** Filter length value including enums
index 9dd813e23190e98c70a8fdf077f03881ee23995f..efce9b90fc9bb7180e2fc2d6b7d4a9a5a2bf89b1 100644 (file)
@@ -6,7 +6,7 @@ h1 { font-size: 150%; margin: 0; padding: .8em 1em; border-bottom: 1px solid #99
 h2 { font-size: 150%; margin: 0 0 20px -18px; padding: .8em 1em; border-bottom: 1px solid #000; color: #000; font-weight: normal; background: #ddf; }
 h3 { font-weight: normal; font-size: 130%; margin: .8em 0; }
 form { margin: 0; }
-table { margin: 0 20px .8em 0; border: 0; border-top: 1px solid #999; border-left: 1px solid #999; font-size: 90%; }
+table { margin: 1em 20px .8em 0; border: 0; border-top: 1px solid #999; border-left: 1px solid #999; font-size: 90%; }
 td, th { margin-bottom: 1em; border: 0; border-right: 1px solid #999; border-bottom: 1px solid #999; padding: .2em .3em; }
 th { background: #eee; text-align: left; }
 thead th { text-align: center; }