mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 19:05:55 +00:00
simplify search dialog
This commit is contained in:
@@ -375,27 +375,9 @@ class Dlg extends Handler_Protected {
|
||||
|
||||
print "<div class=\"dlgSecCont\">";
|
||||
|
||||
if (!SPHINX_ENABLED) {
|
||||
|
||||
print "<input dojoType=\"dijit.form.ValidationTextBox\"
|
||||
style=\"font-size : 16px; width : 12em;\"
|
||||
required=\"1\" name=\"query\" type=\"search\" value=''>";
|
||||
|
||||
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 "<input dojoType=\"dijit.form.ValidationTextBox\"
|
||||
style=\"font-size : 16px; width : 20em;\"
|
||||
required=\"1\" name=\"query\" type=\"search\" value=''>";
|
||||
}
|
||||
|
||||
print "<input dojoType=\"dijit.form.ValidationTextBox\"
|
||||
style=\"font-size : 16px; width : 20em;\"
|
||||
required=\"1\" name=\"query\" type=\"search\" value=''>";
|
||||
|
||||
print "<hr/>".__('Limit search to:')." ";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user