diff --git a/ChangeLog b/ChangeLog index 50c0d1a68d..ae9a0f82f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ phpMyAdmin - ChangeLog - bug Correctly fetch length of user and host fields in MySQL tables - bug #4364 examples/signon.php does not support the SessionSavePath directive - bug #4382 Missing source for OpenLayers library +- bug Incorrect attributes for number fields 4.2.0.0 (not yet released) + rfe #1403 Export only triggers diff --git a/libraries/TableSearch.class.php b/libraries/TableSearch.class.php index 1f47cd3eeb..bbc233c0a7 100644 --- a/libraries/TableSearch.class.php +++ b/libraries/TableSearch.class.php @@ -829,7 +829,7 @@ EOT; */ $html_output .= '
' . '' . __('Number of rows per page') . '' - . '' . '
'; @@ -901,7 +901,7 @@ EOT; . __("Maximum rows to plot") . ''; $html_output .= ''; $html_output .= ''; break; case 'number_text': - echo ''; break; case 'checkbox': diff --git a/libraries/display_create_table.lib.php b/libraries/display_create_table.lib.php index 4ebbec9db3..219b6bc127 100644 --- a/libraries/display_create_table.lib.php +++ b/libraries/display_create_table.lib.php @@ -63,7 +63,7 @@ function PMA_getHtmlForCreateTable($db) $html .= ' '; $html .= '
'; $html .= __('Number of columns') . ":"; - $html .= ' '; + $html .= ' '; $html .= '
'; $html .= '
'; $html .= ''; diff --git a/libraries/index.lib.php b/libraries/index.lib.php index 4572d00543..e60aab4e44 100644 --- a/libraries/index.lib.php +++ b/libraries/index.lib.php @@ -32,8 +32,8 @@ function PMA_getHtmlForDisplayIndexes() ); $html_output .= sprintf( __('Create an index on  %s columns'), - '' + '' ); $html_output .= '' . '' . "\n" . '' . "\n" diff --git a/libraries/structure.lib.php b/libraries/structure.lib.php index f1bd21e94e..146e9778bf 100644 --- a/libraries/structure.lib.php +++ b/libraries/structure.lib.php @@ -1587,8 +1587,8 @@ function PMA_getHtmlForAddColumn($columns_list) __('Add column') ); } - $num_fields = ''; $html_output .= sprintf(__('Add %s column(s)'), $num_fields); diff --git a/themes/pmahomme/css/common.css.php b/themes/pmahomme/css/common.css.php index 63a5a25905..438c8839ec 100644 --- a/themes/pmahomme/css/common.css.php +++ b/themes/pmahomme/css/common.css.php @@ -201,6 +201,10 @@ input[type=date] { margin: 6px; } +input[type=number] { + width: 50px; +} + input[type=text], input[type=password], input[type=number],