momo Thu May 29 08:33:20 2003 EDT Modified files: /phpdoc/scripts/rtlpatch HtmlParser.class.php rtlpatch.php Log: nuke warnings Index: phpdoc/scripts/rtlpatch/HtmlParser.class.php diff -u phpdoc/scripts/rtlpatch/HtmlParser.class.php:1.2 phpdoc/scripts/rtlpatch/HtmlParser.class.php:1.3 --- phpdoc/scripts/rtlpatch/HtmlParser.class.php:1.2 Mon May 26 06:41:37 2003 +++ phpdoc/scripts/rtlpatch/HtmlParser.class.php Thu May 29 08:33:20 2003 @@ -16,7 +16,7 @@ | Authors: Moshe Doron <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $Id: HtmlParser.class.php,v 1.2 2003/05/26 10:41:37 momo Exp $ + $Id: HtmlParser.class.php,v 1.3 2003/05/29 12:33:20 momo Exp $ */ define("__HTML_FREE_ENGLISH__",1); @@ -188,7 +188,7 @@ while($this->pos < $this->len){ //debuginfo("pos is: ". $this->pos. ", character is: " .$this->data{$this->pos}); if($this->data{$this->pos} != "<"){ - if ($x = $this->plaintext()) $this->map(&$x); + if ($x = $this->plaintext()) $this->map($x); }else if(++$this->pos < $this->len){ $p = $this->data{$this->pos}; if($p == "!"){ @@ -201,7 +201,7 @@ $this->map($this->parse_process()); }else{ //debuginfo("opening"); - $this->map($this->parse_start(&$endfl),$endfl); + $this->map($this->parse_start($endfl),$endfl); $this->pos++; } } @@ -209,7 +209,7 @@ } } - function parse_start($endfl){ + function parse_start(&$endfl){ global $HEType; //fining the <html> tag type: Index: phpdoc/scripts/rtlpatch/rtlpatch.php diff -u phpdoc/scripts/rtlpatch/rtlpatch.php:1.5 phpdoc/scripts/rtlpatch/rtlpatch.php:1.6 --- phpdoc/scripts/rtlpatch/rtlpatch.php:1.5 Mon May 26 06:41:37 2003 +++ phpdoc/scripts/rtlpatch/rtlpatch.php Thu May 29 08:33:20 2003 @@ -16,11 +16,11 @@ | Authors: Moshe Doron <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $Id: rtlpatch.php,v 1.5 2003/05/26 10:41:37 momo Exp $ + $Id: rtlpatch.php,v 1.6 2003/05/29 12:33:20 momo Exp $ */ /* - REQUIRES: PHP 4.3.2 or higher + REQUIRES: PHP 4.3.2 CLI or higher This file is temporary patch allow the hebrew and (in the future arabic) html generation. @@ -37,7 +37,6 @@ */ error_reporting(2047); - // finding the real path of the needed files: $mypath = $_SERVER["SCRIPT_NAME"]; $spos = strrpos($mypath,"/");
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php