From 5bac8c29be0b5321d185459024aa99f5323abf8f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 6 Aug 2008 09:27:57 +0100 Subject: [PATCH] rework search dialog --- modules/popup-dialog.php | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index bdfc62b9..a9f1e2d7 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -149,16 +149,27 @@ $active_feed_id = sprintf("%d", $params[0]); $is_cat = $params[1] == "true"; - print ""; - - print ""; - - print "
".__('Search:').""; - - print "".__('Search').""; + + print "
"; + + print " -
".__('Where:').""; + value=\"\">"; + + print " " . __('match on:')." "; + + $search_fields = array( + "title" => __("Title"), + "content" => __("Content"), + "both" => __("Title or content")); + + print_select_hash("match_on", 3, $search_fields); + + + print "
".__('Limit search to:')." "; print "
".__('Match on:').""; - - $search_fields = array( - "title" => __("Title"), - "content" => __("Content"), - "both" => __("Title or content")); + print ""; - print_select_hash("match_on", 3, $search_fields); - - print "
"; + print ""; print ""; - print "
+ print "