From abc229d0b055d7328bedfc1d2eed916335b2310a Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 23 May 2010 08:27:27 -0400 Subject: [PATCH] bug #3004216 Field attributes use inline CSS --- ChangeLog | 1 + tbl_structure.php | 11 +++++------ themes/darkblue_orange/css/theme_right.css.php | 9 ++++++++- themes/original/css/theme_right.css.php | 9 ++++++++- 4 files changed, 22 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9351e0703..160d5f8f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -81,6 +81,7 @@ $Id$ to Muhammad Adnan. + [doc] Incorporate synchronisation docs into main document. + [core] Include Content Security Policy HTTP headers. +- bug #3004216 [CSS] Field attributes use inline CSS 3.3.4.0 (not yet released) - bug #2996161 [import] properly escape import value diff --git a/tbl_structure.php b/tbl_structure.php index ae90d6b24..c255cde8d 100644 --- a/tbl_structure.php +++ b/tbl_structure.php @@ -327,9 +327,8 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) { // underline commented fields and display a hover-title (CSS only) - $comment_style = ''; if (isset($comments_map[$row['Field']])) { - $displayed_field_name = '' . $field_name . ''; + $displayed_field_name = '' . $field_name . ''; } if ($primary && $primary->hasColumn($field_name)) { @@ -347,7 +346,7 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) { > ' . $field_charset . ''); ?> - + '; } - echo sprintf(__('Add %s field(s)'), ''); + echo sprintf(__('Add %s field(s)'), ''); // I tried displaying the drop-down inside the label but with Firefox // the drop-down was blinking - $fieldOptions = ''; foreach ($aryFields as $fieldname) { $fieldOptions .= '' . "\n"; } @@ -560,7 +559,7 @@ if (! $tbl_is_view && ! $db_is_information_schema) { echo $fieldOptions; unset($fieldOptions, $choices); ?> - +