print "<tr>
<td colspan=\"3\" class=\"title\">" . $line["title"] . "</td></tr>";
- if ($ext == "SEARCH") {
+ if ($subop == "search") {
$search = $_GET["search"];
$search_query_part = "(upper(title) LIKE upper('%$search%')
OR content LIKE '%$search%') AND";
document.getElementById('content').innerHTML=' ';
xmlhttp.open("GET", "backend.php?op=viewfeed&feed=" + param_escape(feed) +
- "&search=" + param_escape(sender.value) + "&ext=SEARCH", true);
+ "&search=" + param_escape(sender.value) + "&subop=search", true);
xmlhttp.onreadystatechange=viewfeed_callback;
xmlhttp.send(null);