From 7a139816d18f970b01f9c5240295bd09b67bb2f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 28 Jun 2017 16:19:54 +0200 Subject: [PATCH] Remove explicit size attributes from operation inputs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is really no reason to specify this for every input. Issue #13145 Signed-off-by: Michal Čihař --- libraries/operations.lib.php | 18 +++++++++--------- view_operations.php | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/libraries/operations.lib.php b/libraries/operations.lib.php index 2eda6154ad..1066e5f430 100644 --- a/libraries/operations.lib.php +++ b/libraries/operations.lib.php @@ -37,7 +37,7 @@ function PMA_getHtmlForDatabaseComment($db) $html_output .= __('Database comment'); $html_output .= ''; $html_output .= '' . ''; $html_output .= '
' @@ -81,7 +81,7 @@ function PMA_getHtmlForRenameDatabase($db) . ''; $html_output .= ''; + . 'maxlength="64" class="textfield" required="required"/>'; if ($GLOBALS['db_priv'] && $GLOBALS['table_priv'] && $GLOBALS['col_priv'] && $GLOBALS['proc_priv'] @@ -200,7 +200,7 @@ function PMA_getHtmlForCopyDatabase($db) } $html_output .= __('Copy database to') . '' - . '
' . Util::getRadioFields( 'what', $choices, 'data', true @@ -819,7 +819,7 @@ function PMA_getHtmlForMoveTable() . ''; if (count($GLOBALS['dblist']->databases) > $GLOBALS['cfg']['MaxDbList']) { - $html_output .= ''; } else { @@ -828,7 +828,7 @@ function PMA_getHtmlForMoveTable() . ''; } $html_output .= ' . '; - $html_output .= '
'; @@ -922,7 +922,7 @@ function PMA_getHtmlForRenameTable() { $html_output = '' . __('Rename table to') . '' . '' - . '' . '' @@ -962,7 +962,7 @@ function PMA_getHtmlForTableComments($current_value) $commentLength = PMA_MYSQL_INT_VERSION >= 50503 ? 2048 : 60; $html_output = '' . __('Table comments') . '' . '' . '' @@ -1235,7 +1235,7 @@ function PMA_getHtmlForCopytable() if (count($GLOBALS['dblist']->databases) > $GLOBALS['cfg']['MaxDbList']) { $html_output .= ''; } else { $html_output .= '
'; $choices = array( diff --git a/view_operations.php b/view_operations.php index 4768164a54..090090f82a 100644 --- a/view_operations.php +++ b/view_operations.php @@ -103,7 +103,7 @@ $url_params['back'] = 'view_operations.php'; -