misc dialog tweaks
This commit is contained in:
parent
588e4dc3d3
commit
b171066641
|
@ -2862,8 +2862,11 @@
|
||||||
} else {
|
} else {
|
||||||
$is_selected = "";
|
$is_selected = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$title = truncate_string(htmlspecialchars($line["title"]), 40);
|
||||||
|
|
||||||
printf("<option $is_selected value='%d'>%s</option>",
|
printf("<option $is_selected value='%d'>%s</option>",
|
||||||
$line["id"], htmlspecialchars($line["title"]));
|
$line["id"], $title);
|
||||||
}
|
}
|
||||||
|
|
||||||
print "</select>";
|
print "</select>";
|
||||||
|
|
|
@ -153,13 +153,13 @@
|
||||||
|
|
||||||
print "<div class=\"dlgSecCont\">";
|
print "<div class=\"dlgSecCont\">";
|
||||||
|
|
||||||
print "<input name=\"query\" size=\"30\" type=\"search\"
|
print "<input name=\"query\" size=\"20\" type=\"search\"
|
||||||
onkeypress=\"return filterCR(event, search)\"
|
onkeypress=\"return filterCR(event, search)\"
|
||||||
onchange=\"toggleSubmitNotEmpty(this, 'search_submit_btn')\"
|
onchange=\"toggleSubmitNotEmpty(this, 'search_submit_btn')\"
|
||||||
onkeyup=\"toggleSubmitNotEmpty(this, 'search_submit_btn')\"
|
onkeyup=\"toggleSubmitNotEmpty(this, 'search_submit_btn')\"
|
||||||
value=\"\">";
|
value=\"\">";
|
||||||
|
|
||||||
print " " . __('match on:')." ";
|
print " " . __('match on')." ";
|
||||||
|
|
||||||
$search_fields = array(
|
$search_fields = array(
|
||||||
"title" => __("Title"),
|
"title" => __("Title"),
|
||||||
|
|
Loading…
Reference in New Issue