diff --git a/backend.php b/backend.php index 860fec181..72b563d05 100644 --- a/backend.php +++ b/backend.php @@ -2348,7 +2348,11 @@ if ($num_matches > 0) { - print "
Query returned $num_matches matches, showing up to first 10:
"; + if ($num_matches > 10) { + $showing_msg = ", showing first 10"; + } + + print "Query returned $num_matches matches$showing_msg:
"; $result = db_query($link, "SELECT ttrss_entries.title, @@ -2453,10 +2457,11 @@ print ""; - if ($subop == "edit") { - print "Edit label: - - - "; - - } else { - print " + print " Selection: "; - } + onclick=\"javascript:removeSelectedLabels()\" value=\"Remove\">"; + } else { print "
No labels defined.
"; }