goba Sun Jan 25 05:33:11 2004 EDT
Modified files:
/phpdoc/scripts/quickref originalafter.js processafter.php
Log:
fix some processing issues on the function list script
http://cvs.php.net/diff.php/phpdoc/scripts/quickref/originalafter.js?r1=1.10&r2=1.11&ty=u
Index: phpdoc/scripts/quickref/originalafter.js
diff -u phpdoc/scripts/quickref/originalafter.js:1.10
phpdoc/scripts/quickref/originalafter.js:1.11
--- phpdoc/scripts/quickref/originalafter.js:1.10 Wed Jan 21 05:31:09 2004
+++ phpdoc/scripts/quickref/originalafter.js Sun Jan 25 05:33:11 2004
@@ -200,7 +200,7 @@
if (f_s.value=="quickref"&&ev) {
var cc=ev.charCode||ev.keyCode||ev.which;
if (cc==32) {
- f_p.value = f_p.value.replace(/ /g, "");
+ f_p.value = f_p.value.replace(/\s/g, "");
return false;
}
//if ((cc>=97&&cc<=122)||(cc>=65&&cc<=90)||(cc>=48&&cc<=57)||cc==95) return
true; // a-z A-Z 0-9 _
@@ -287,4 +287,4 @@
f_p.onblur=fh_EBlur;
f_p.onkeydown=fh_EKeyDown;
f_p.onkeyup=fh_EKeyUp;
-f_s.onchange=fh_EDropDownChange;
\ No newline at end of file
+f_s.onchange=fh_EDropDownChange;
http://cvs.php.net/diff.php/phpdoc/scripts/quickref/processafter.php?r1=1.7&r2=1.8&ty=u
Index: phpdoc/scripts/quickref/processafter.php
diff -u phpdoc/scripts/quickref/processafter.php:1.7
phpdoc/scripts/quickref/processafter.php:1.8
--- phpdoc/scripts/quickref/processafter.php:1.7 Thu Jan 1 09:34:47 2004
+++ phpdoc/scripts/quickref/processafter.php Sun Jan 25 05:33:11 2004
@@ -16,7 +16,7 @@
| Authors: Mitja Slenc <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: processafter.php,v 1.7 2004/01/01 14:34:47 goba Exp $
+ $Id: processafter.php,v 1.8 2004/01/25 10:33:11 goba Exp $
*/
$lines=file("originalafter.js");
@@ -24,7 +24,7 @@
$lines[$key]=array_shift(explode("//", trim($line)));
}
-$leave=array("cpd", "dcp", "for", "document", "forms", "break", "if", "continue",
"var", "style", "innerHTML", "value", "getElementById", "onblur", "onfocus",
"onkeyup", "onkeydown", "onkeypress", "onchange", "display", "pattern", "show",
"left", "top", "event", "evt", "ev", "which", "length", "all", "navigator",
"userAgent", "toLowerCase", "indexOf", "width", "else", "write", "split", "join",
"charAt", "substring", "function", "return", "new", "Array", "switch", "case", "push",
"pop", "default", "true", "false", "offsetLeft", "offsetParent", "while", "null",
"tagName", "clientLeft", "parseInt", "border", "isNaN", "getAttribute", "charCode",
"keyCode", "cc", "setTimeout", "fh_HideAll", "setAttribute");
+$leave=array("cpd", "dcp", "for", "document", "forms", "break", "if", "continue",
"var", "style", "innerHTML", "value", "getElementById", "onblur", "onfocus",
"onkeyup", "onkeydown", "onkeypress", "onchange", "display", "pattern", "show",
"left", "top", "event", "evt", "ev", "which", "length", "all", "navigator",
"userAgent", "toLowerCase", "indexOf", "width", "else", "write", "split", "join",
"charAt", "substring", "function", "return", "new", "Array", "switch", "case", "push",
"pop", "default", "true", "false", "offsetLeft", "offsetParent", "while", "null",
"tagName", "clientLeft", "parseInt", "border", "isNaN", "getAttribute", "charCode",
"keyCode", "cc", "setTimeout", "fh_HideAll", "setAttribute", "replace", "g", "s");
$text=implode(" ", $lines);