[Cartoweb-users] What is smarty doing to my href!!!!

Milo van der Linden mlinden at zeelandnet.nl
Tue Oct 2 12:52:13 EDT 2007


I am one step further, it probably has to do with the fact that I use 
ajax and xml, the <> signs in my code are not ajax compatible, so I 
probably should use some sort of function to transfer them to html valid 
characters, is there a function for that?

Milo van der Linden schreef:
> I am entering the following in a tables.tpl  
>
> {capture name=some_content assign=popText}
> <img 
> SRC="http://wssoilution.bosqom.nl/Boorstaat.aspx?width=550&height=250&language=nl&layout=someBPLname&view=single&measurementobjects={$value}&outputtype=jpg&database=BoormanagerV2">
> {/capture}
> <a href="#" {popup caption='Server Info' text=$popText}>MouseOver Me!</a>
>
>
> The href gets completely screwed up, everything gets mixed: Firebug 
> reports this:
>
> <a 
> boorstaat.aspx?width="550&height=250&language=nl&layout=someBPLname&view=single&measurementobjects=1-4&outputtype=jpg&database=BoormanagerV2"" 
> wssoilution.bosqom.nl="" http:="" onmouseover="return overlib('<img 
> SRC=" href="#">\r\r',CAPTION,'Server Info');" 
> onmouseout="nd();">MouseOver Me!</a>
>
> unterminated string literal
> http://cartoweb.bosqom.nl/cartoweb3/htdocs/index.php
> Line 1
>
> This problem is really messing with my mind, for a complete day 
> already. Is there anyone that is able to answer me?
>
> -- 
>
>
> 	
>
> Milo van der Linden
> skype: milovanderlinden <skype:milovanderlinden?add>
> mlinden at zeelandnet.nl <mailto:mlinden at zeelandnet.nl>
> milovanderlinden at gmail.com <mailto:milovanderlinden at gmail.com>
> milo at 3dsite.nl <mailto:milo at 3dsite.nl>
> http://www.3dsite.nl
>
> 	  	
>
> De informatie in dit bericht reflecteert mijn persoonlijke mening en 
> niet die van een bedrijf of instantie. Aan de informatie kunnen geen 
> rechten worden ontleend. Indien dit bericht onderdeel is van een 
> forum, mailing-list of community dan gelden automatisch de bij het 
> betreffende medium behorende voorwaarden. The information in this 
> message reflects my personal opinion and not that of a company or 
> public body. All rights reserved.If this message is contained in a 
> mailing-list or community, the rights on the medium are automatically 
> adapted.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>   


-- 


	

Milo van der Linden
skype: milovanderlinden <skype:milovanderlinden?add>
mlinden at zeelandnet.nl <mailto:mlinden at zeelandnet.nl>
milovanderlinden at gmail.com <mailto:milovanderlinden at gmail.com>
milo at 3dsite.nl <mailto:milo at 3dsite.nl>
http://www.3dsite.nl

	  	

De informatie in dit bericht reflecteert mijn persoonlijke mening en 
niet die van een bedrijf of instantie. Aan de informatie kunnen geen 
rechten worden ontleend. Indien dit bericht onderdeel is van een forum, 
mailing-list of community dan gelden automatisch de bij het betreffende 
medium behorende voorwaarden. The information in this message reflects 
my personal opinion and not that of a company or public body. All rights 
reserved.If this message is contained in a mailing-list or community, 
the rights on the medium are automatically adapted.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20071002/8544f1d9/attachment.html


More information about the Cartoweb-users mailing list