Feedback JavaScript syntax highlighting
| From: | patrick dot allaert at belgacom dot be | Date: | Mon, 25 Aug 2003 09:46:58 +0000 |
| Subject: | Feedback JavaScript syntax highlighting | ||
| Groups: | php.doc.chm | ||
| Request: | Send a blank email to php-doc-chm+get-736@lists.php.net to get a copy of this message | ||
This is a very good job !!
2 remarks:
* Speed optimisation is really necessary :s (The attached file loads in 20 seconds on a Pentium III)
* Just a little bug with the attached file on line 124:
print('<img src="css/images/'.getExt($doc['ext']).'.gif"
alt=""></td><td><a
onmouseover="EnterContent(\'ToolTip\',\''.htmlentities(addcslashes($doc['description'],"'")).'\');
Activate();" onmouseout="deActivate()"
href="viewDoc.php?id_doc='.$doc['id_document'].'&id_lang='.$doc['id_lang'].'&id_version='.$doc['id_version'].'&ext='.$doc['ext'].'">'.htmlentities($doc['name']).(isset($_COOKIE['archives'])?('
(v'.$doc['id_version'].')'):'').'</a>'.(($doc['id_lang']
== IDLANG)?'':' <img src="pics/'.($doc['id_lang'] ==
1?'fr':($doc['id_lang'] == 2?'nl':'en')).'.png"
alt="">'));
should be something like:
print('<img src="css/images/'.getExt($doc['ext']).'.gif"
alt=""></td><td><a
onmouseover="EnterContent(\'ToolTip\',\''.htmlentities(addcslashes($doc['description'],"'")).'\');
Activate();" onmouseout="deActivate()"
href="viewDoc.php?id_doc='.$doc['id_document'].'&id_lang='.$doc['id_lang'].'&id_version='.$doc['id_version'].'&ext='.$doc['ext'].'">'.htmlentities($doc['name']).(isset($_COOKIE['archives'])?('
(v'.$doc['id_version'].')'):'').'</a>'.(($doc['id_lang']
== IDLANG)?'':' <img src="pics/'.($doc['id_lang'] ==
1?'fr':($doc['id_lang'] == 2?'nl':'en')).'.png"
alt="">'));
Special thanks to Brendan Ferguson and Gabor Hojtsy for such good job :-)
Best regards
Patrick Allaert
PS: please, don't publish my email, thanks
***** DISCLAIMER ***** "This e-mail and any attachments thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by persons other than the designated recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer. Thank you for your cooperation."
***** DISCLAIMER ***** "This e-mail and any attachments thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by persons other than the designated recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer. Thank you for your cooperation."