diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-10-08 17:26:56 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-10-08 17:26:56 +0000 |
commit | 06665eccc937ef67d4f4e00ed4c8c816e872b780 (patch) | |
tree | 3f7dadb1becd1fd87a4c04a8dc282c6cab36a843 /doc | |
parent | f08d400dbc3f3f1e1d8a2939198b76b458a45559 (diff) | |
download | android_external_libxml2-06665eccc937ef67d4f4e00ed4c8c816e872b780.tar.gz android_external_libxml2-06665eccc937ef67d4f4e00ed4c8c816e872b780.tar.bz2 android_external_libxml2-06665eccc937ef67d4f4e00ed4c8c816e872b780.zip |
Limit the number of returned hits, Daniel
Diffstat (limited to 'doc')
-rw-r--r-- | doc/search.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/search.php b/doc/search.php index dd17c6d3..94f5569b 100644 --- a/doc/search.php +++ b/doc/search.php @@ -254,12 +254,16 @@ A:link, A:visited, A:active { text-decoration: underline } if ($nb > 0) { printf("<table><tbody>\n"); printf("<tr><td>Quality</td><td>Symbol</td><td>Type</td><td>module</td><td>Description</td></tr>\n"); + $i = 0; while (list ($name, $val) = each ($results)) { list($r,$t,$m,$d,$s,$u) = $val; $m = str_replace("<", "<", $m); $s = str_replace("<", "<", $s); $d = str_replace("<", "<", $d); echo "<tr><td>$r</td><td><a href='$u'>$s</a></td><td>$t</td><td>$m</td><td>$d</td></tr>"; + $i = $i + 1; + if ($i > 75) + break; } printf("</tbody></table>\n"); } |