From: Geoffrey T. D. <da...@us...> - 2001-02-09 04:00:02
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv31896/lib Modified Files: transform.php Log Message: Fix type in wtm_fulltext_search() Index: transform.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/transform.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** transform.php 2001/02/08 10:29:44 1.12 --- transform.php 2001/02/09 04:00:25 1.13 *************** *** 415,419 **** $html = "<form action=\"$ScriptUrl\">\n" . "<input type=text size=30 name=search>\n" . ! "<input type=submit value=\"". gettext("Search") . "\"></form>\n"; $line = str_replace('%%Search%%', $html, $line); --- 415,419 ---- $html = "<form action=\"$ScriptUrl\">\n" . "<input type=text size=30 name=search>\n" . ! "<input type=submit value=\"". htmlspecialchars(gettext("Search")) . "\"></form>\n"; $line = str_replace('%%Search%%', $html, $line); *************** *** 427,432 **** if (strpos($line, '%%Fullsearch%%') !== false) { $html = "<form action=\"$ScriptUrl\">\n" . ! "<input type=text size=30 name=full\n" . ! "<input type=submit value=\"". gettext("Search") . "\"></form>\n"; $line = str_replace('%%Fullsearch%%', $html, $line); --- 427,432 ---- if (strpos($line, '%%Fullsearch%%') !== false) { $html = "<form action=\"$ScriptUrl\">\n" . ! "<input type=text size=30 name=full>\n" . ! "<input type=submit value=\"". htmlspecialchars(gettext("Search")) . "\"></form>\n"; $line = str_replace('%%Fullsearch%%', $html, $line); |