XHTML compliance

This commit is contained in:
Marc Delisle 2013-08-28 13:02:40 -04:00
parent 9938f346f9
commit 39fdb7d3a1

View File

@ -2526,7 +2526,8 @@ function PMA_getHtmlForDisplaySelectDbInEditPrivs($found_rows)
}
$html_output .= '</select>' . "\n";
}
$html_output .= '<input type="text" id="text_dbname" name="dbname" required />'
$html_output .= '<input type="text" id="text_dbname" name="dbname" '
. 'required="required" />'
. "\n"
. PMA_Util::showHint(
__('Wildcards % and _ should be escaped with a \ to use them literally.')
@ -3796,7 +3797,7 @@ function PMA_getHtmlToEditUserGroup($userGroup = null)
if ($userGroup == null) {
$html_output .= '<label for="userGroup">' . __('Group name:') . '</label>';
$html_output .= '<input type="text" name="userGroup" '
. 'autocomplete="off" required />';
. 'autocomplete="off" required="required" />';
$html_output .= '<div class="clearfloat"></div>';
}