From 8c32798e055179a93a56066be88068e890e298ee Mon Sep 17 00:00:00 2001 From: lorilee Date: Wed, 14 Jul 2010 13:05:43 -0700 Subject: [PATCH 1/2] Changed variable names that conflict with other existing variable names, causing table rows to become missing --- tbl_structure.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tbl_structure.php b/tbl_structure.php index cfbd961ad..64e2b14c2 100644 --- a/tbl_structure.php +++ b/tbl_structure.php @@ -391,14 +391,14 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) { hasColumn($field_name))) { echo $titles['NoPrimary'] . "\n"; - $primary = false; + $primary_enabled = false; } else { echo "\n"; ?> - @@ -407,13 +407,13 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) { - @@ -422,14 +422,14 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) { @@ -443,7 +443,7 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) { - + - + Date: Wed, 14 Jul 2010 13:10:18 -0700 Subject: [PATCH 2/2] Copying over new styles from the original theme --- .../darkblue_orange/css/theme_right.css.php | 30 +++++++++++++++++-- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/themes/darkblue_orange/css/theme_right.css.php b/themes/darkblue_orange/css/theme_right.css.php index fe64ca925..a44567c44 100644 --- a/themes/darkblue_orange/css/theme_right.css.php +++ b/themes/darkblue_orange/css/theme_right.css.php @@ -234,7 +234,8 @@ table tr.marked { /* hovered items */ .odd:hover, .even:hover, -.hover { +.hover, +.structure_actions_dropdown { background: ; color: ; } @@ -375,11 +376,16 @@ img.lightbulb { } /* leave some space between icons and text */ -.icon { +.icon, img.footnotemarker { vertical-align: middle; margin-right: 0.3em; margin-left: 0.3em; } + +img.footnotemarker { + display: none; +} + /* no extra space in table cells */ td .icon { margin: 0; @@ -1328,7 +1334,7 @@ table#serverconnection_trg_local { } .exportoptions, .importoptions { - margin: 30px 30px 30px 10px + margin: 20px 30px 30px 10px } .exportoptions #buttonGo, .importoptions #buttonGo { @@ -1373,6 +1379,10 @@ select#db_select, select#table_select { border-bottom: 1px #999999 solid; } +#quick_or_custom, #output_quick_export { + display: none; +} + /** * Import styles only */ @@ -1449,4 +1459,18 @@ a.close_enum_editor { #enum_editor_output { margin-top: 50px; +} + +/** + * Table structure styles + */ +.structure_actions_dropdown { + position: absolute; + padding: 3px; + display: none; + margin-left: 30px; +} + +td.more_opts { + display: none; } \ No newline at end of file