momo Tue Jul 22 09:00:21 2003 EDT Modified files: /phpdoc/scripts/rtlpatch HtmlExtParser.class.php Log: more rtl tuning Index: phpdoc/scripts/rtlpatch/HtmlExtParser.class.php diff -u phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.9 phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.10 --- phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.9 Thu Jul 10 05:23:30 2003 +++ phpdoc/scripts/rtlpatch/HtmlExtParser.class.php Tue Jul 22 09:00:21 2003 @@ -16,7 +16,7 @@ | Authors: Moshe Doron <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $Id: HtmlExtParser.class.php,v 1.9 2003/07/10 09:23:30 momo Exp $ + $Id: HtmlExtParser.class.php,v 1.10 2003/07/22 13:00:21 momo Exp $ */ class CHtmlExtParse extends CHtmlParse{ @@ -79,6 +79,23 @@ $tmp=0; do{ if($tmp = $this->get_element_id_by_rule(array("tag"=>"tt","properties"=>array("class","option"),"offset"=>($tmp+1)))){ + $this->ATE[$tmp]["dir"] = "ltr"; + } + } while($tmp); + + + //fix filenames: + $tmp=0; + do{ + if($tmp = $this->get_element_id_by_rule(array("tag"=>"tt","properties"=>array("class","filename"),"offset"=>($tmp+1)))){ + $this->ATE[$tmp]["dir"] = "ltr"; + } + } while($tmp); + + //fix varnames: + $tmp=0; + do{ + if($tmp = $this->get_element_id_by_rule(array("tag"=>"tt","properties"=>array("class","varname"),"offset"=>($tmp+1)))){ $this->ATE[$tmp]["dir"] = "ltr"; } } while($tmp);
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php