misc dialog tweaks

master
Andrew Dolgov 15 years ago
parent 588e4dc3d3
commit b171066641

@ -2862,8 +2862,11 @@
} else {
$is_selected = "";
}
$title = truncate_string(htmlspecialchars($line["title"]), 40);
printf("<option $is_selected value='%d'>%s</option>",
$line["id"], htmlspecialchars($line["title"]));
$line["id"], $title);
}
print "</select>";

@ -153,13 +153,13 @@
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)\"
onchange=\"toggleSubmitNotEmpty(this, 'search_submit_btn')\"
onkeyup=\"toggleSubmitNotEmpty(this, 'search_submit_btn')\"
value=\"\">";
print " " . __('match on:')." ";
print " " . __('match on')." ";
$search_fields = array(
"title" => __("Title"),

Loading…
Cancel
Save