From: Andrew Dolgov Date: Wed, 6 Aug 2008 08:27:57 +0000 (+0100) Subject: rework search dialog X-Git-Tag: 1.2.26~36 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5bac8c29be0b5321d185459024aa99f5323abf8f;p=tt-rss.git rework search dialog --- 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 "