Popup Plugin: Single Quote Bug!?
| From: | Mario Deutschmann | Date: | Fri, 30 Jan 2004 10:14:28 +0000 |
| Subject: | Popup Plugin: Single Quote Bug!? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10897@lists.php.net to get a copy of this message | ||
Hi all!
I installed smarty 2.61 and overlib 3.51. while testing the examples on:
http://smarty.php.net/manual/en/language.function.popup.php
i got an javascript error on the second example. first example WORKS for me!
smarty-source for 2nd example:
----------------------------------------------------------------
<A href="mypage.html" {popup
text="<UL><LI>links<LI>pages<LI>images</UL>" sticky=true
caption="mypage
contents"} >mypage</A>
----------------------------------------------------------------
i looked at the html source and found this part:
----------------------------------------------------------------
<A href="mypage.html" onmouseover="return
overlib('<UL><LI>links<LI>pages<LI>images</UL>',STICKY,CAPTION','mypage
contents');" onmouseout="nd();">mypage</A>
----------------------------------------------------------------
the single quote ' after "CAPTION" seems wrong.
has anyone the same problem?!
the fixed class "plugins/function.popup.php" is attached and works for me.
could someone test it and maybe commit the file?!
thanx in advance.
kindly regards
mario