Merge pull request #1010 from D-storm/FR-1511

Feature Request #1511
This commit is contained in:
Michal Čihař 2014-03-06 09:33:49 +01:00
commit 8224ca09c5
2 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ function PMA_getHtmlForCreateTable($db)
$html .= ' </div>';
$html .= ' <div class="formelement">';
$html .= __('Number of columns') . ":";
$html .= ' <input type="number" min="1" name="num_fields" size="2" value="4" />';
$html .= ' <input type="number" min="1" name="num_fields" size="2" value="4" required />';
$html .= ' </div>';
$html .= ' <div class="clearfloat"></div>';
$html .= '</fieldset>';

View File

@ -76,7 +76,7 @@ function PMA_getHtmlForRenameDatabase($db)
. '</legend>';
$html_output .= '<input id="new_db_name" type="text" name="newname" '
. 'size="30" class="textfield" value="" />'
. 'size="30" class="textfield" value="" required />'
. '</fieldset>'
. '<fieldset class="tblFooters">'
. '<input id="rename_db_input" type="submit" value="' . __('Go') . '" />'
@ -175,7 +175,7 @@ function PMA_getHtmlForCopyDatabase($db)
$html_output .= __('Copy database to:')
. '</legend>'
. '<input type="text" name="newname" size="30" '
. 'class="textfield" value="" /><br />'
. 'class="textfield" value="" required /><br />'
. PMA_Util::getRadioFields(
'what', $choices, 'data', true
);