From a8c180251205c7d36901dbb17897771515e84f29 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 1 Nov 2012 20:14:22 +0400 Subject: simplify search dialog --- classes/dlg.php | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) (limited to 'classes/dlg.php') diff --git a/classes/dlg.php b/classes/dlg.php index 71e801059..6c649539f 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -375,27 +375,9 @@ class Dlg extends Handler_Protected { print "
"; - if (!SPHINX_ENABLED) { - - print ""; - - print " " . __('match on')." "; - - $search_fields = array( - "title" => __("Title"), - "content" => __("Content"), - "both" => __("Title or content")); - - print_select_hash("match_on", 3, $search_fields, - 'dojoType="dijit.form.Select"'); - } else { - print ""; - } - + print ""; print "
".__('Limit search to:')." "; -- cgit v1.2.3-54-g00ecf