Updated mailto and popup plugins for xhtml compatibility
| From: | Andr� Rabold | Date: | Fri, 21 Mar 2003 12:12:04 +0000 |
| Subject: | Updated mailto and popup plugins for xhtml compatibility | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-1002@lists.php.net to get a copy of this message | ||
I have just updated two of the standard plugins which were not XHTML
compatible. Now they work both for HTML 4.0 and XHTML 1.1 :-)
Bye,
André
Index: function.mailto.php
===================================================================
RCS file: /repository/smarty/libs/plugins/function.mailto.php,v
retrieving revision 1.2
diff -r1.2 function.mailto.php
92c92
< return '<SCRIPT
language="javascript">eval(unescape(\''.$js_encode.'\'))</SCRIPT>';
---
> return '<script type="text/javascript"
language="javascript">eval(unescape(\''.$js_encode.'\'))</script>';
Index: function.popup.php
===================================================================
RCS file: /repository/smarty/libs/plugins/function.popup.php,v
retrieving revision 1.6
diff -r1.6 function.popup.php
20c20
< if (empty($trigger)) { $trigger = "onMouseOver"; }
---
> if (empty($trigger)) { $trigger = "onmouseover"; }