diff --git a/db_search.php b/db_search.php index d3f479a57..13d5323a6 100644 --- a/db_search.php +++ b/db_search.php @@ -305,26 +305,20 @@ if (isset($_REQUEST['submit_search'])) { - /> - -
- /> - -
- /> -
- /> - +
+$choices = array( + '1' => $GLOBALS['strSearchOption1'] . PMA_showHint($GLOBALS['strSplitWordsWithSpace']), + '2' => $GLOBALS['strSearchOption2'] . PMA_showHint($GLOBALS['strSplitWordsWithSpace']), + '3' => $GLOBALS['strSearchOption3'], + '4' => $GLOBALS['strSearchOption4'] . ' ' . PMA_showMySQLDocu('Regexp', 'Regexp') +); +// 4th parameter set to false to add line breaks +// 5th parameter set to false to avoid htmlspecialchars() escaping in the label +// since we have some HTML in some labels +PMA_generate_html_radio('search_option', $choices, $search_option, true, false); +unset($choices); + ?>