[PHPTAL] Re: PHPTAL Digest, Vol 17, Issue 6
Rony Cohen
cohen.rony at gmail.com
Tue Jun 27 13:54:23 CEST 2006
Ok So I found by myself a solution:
function replace(value){
value = value.replace(/&/g,'&');
return value;
}
aI("offcolor=#974CCB;separatorsize=1;text=${Langue/menu/titre_smenu11};url="+replace('${Langue/menu/url_smenu11}')+";");
force the structure by myself.....
with a javascript function...
2006/6/27, phptal-request at lists.motion-twin.com <
phptal-request at lists.motion-twin.com>:
>
> Send PHPTAL mailing list submissions to
> phptal at lists.motion-twin.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.motion-twin.com/mailman/listinfo/phptal
> or, via email, send a message with subject or body 'help' to
> phptal-request at lists.motion-twin.com
>
> You can reach the person managing the list at
> phptal-owner at lists.motion-twin.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PHPTAL digest..."
>
>
> Today's Topics:
>
> 1. Structure in ${DATA} (Rony Cohen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 27 Jun 2006 11:30:07 +0200
> From: "Rony Cohen" <cohen.rony at gmail.com>
> Subject: [PHPTAL] Structure in ${DATA}
> To: phptal at lists.motion-twin.com
> Message-ID:
> <e810fea20606270230i79de5a49i21085db5c3163eb2 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello all,
>
> thank you for helping me on my last problem!
>
>
> I have a new question:
>
> I need data like that:
> ${Data/value}
>
> but with the structure option which let me have "&" and no "&"
>
> does anybody have a solution?
> because I can't use tal:content or tal:replace.......
> I'm in a javascript specifical function.
>
> Thank you very much.
>
>
>
> Rony
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.motion-twin.com/pipermail/phptal/attachments/20060627/692dc2ff/attachment-0001.htm
>
> ------------------------------
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL at lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
>
> End of PHPTAL Digest, Vol 17, Issue 6
> *************************************
>
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? enlev?e...
URL: http://lists.motion-twin.com/pipermail/phptal/attachments/20060627/14c4064e/attachment.htm
More information about the PHPTAL
mailing list