cvs: phpweb / quickref.php /include mozsearch.inc
| From: | Gabor Hojtsy | Date: | Mon, 19 Jan 2004 14:38:21 +0000 |
| Subject: | cvs: phpweb / quickref.php /include mozsearch.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-23028@lists.php.net to get a copy of this message | ||
goba Mon Jan 19 09:38:21 2004 EDT
Modified files:
/phpweb quickref.php
/phpweb/include mozsearch.inc
Log:
Better list item start marking, so Mozilla will parse the results better
http://cvs.php.net/diff.php/phpweb/quickref.php?r1=1.32&r2=1.33&ty=u
Index: phpweb/quickref.php
diff -u phpweb/quickref.php:1.32 phpweb/quickref.php:1.33
--- phpweb/quickref.php:1.32 Mon Jan 19 08:21:41 2004
+++ phpweb/quickref.php Mon Jan 19 09:38:20 2004
@@ -1,6 +1,6 @@
<?php
-// $Id: quickref.php,v 1.32 2004/01/19 13:21:41 goba Exp $
+// $Id: quickref.php,v 1.33 2004/01/19 14:38:20 goba Exp $
/*
@@ -24,7 +24,8 @@
define("COLUMNS", 3);
define("SHOW_CLOSE", 20);
-// Print out the table of found (or all) functions
+// Print out the table of found (or all) functions. The HTML comments are
+// needed to support MyCroft search (Mozilla browser family and Sherlock for MacOSX)
function quickref_table($functions)
{
global $LANG;
@@ -45,7 +46,7 @@
if ($i > 0 && $i % $limit==0) {
echo "</td><td>\n";
}
- echo "<a href=\"/manual/$LANG/$file\">$name</a><br
/>\n";
+ echo "<!--i--><a
href=\"/manual/$LANG/$file\">$name</a><br />\n";
$i++;
}
echo "</td></tr></table>\n";
http://cvs.php.net/diff.php/phpweb/include/mozsearch.inc?r1=1.3&r2=1.4&ty=u
Index: phpweb/include/mozsearch.inc
diff -u phpweb/include/mozsearch.inc:1.3 phpweb/include/mozsearch.inc:1.4
--- phpweb/include/mozsearch.inc:1.3 Mon Jan 19 09:33:17 2004
+++ phpweb/include/mozsearch.inc Mon Jan 19 09:38:21 2004
@@ -15,6 +15,7 @@
browserResultType="result"
resultListStart="<!-- result list start -->"
resultListEnd="<!-- result list end -->"
+ resultItemStart="<!--i-->"
resultItemEnd="<br />"
>