From 7a5f951c64ce15c58311137f1faf9ac70e77cbaf Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 10 Feb 2008 13:04:35 +0000 Subject: [PATCH] use PMA_generate_html_radio() --- db_search.php | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) 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); + ?>