On 09/01/2011 11:08 PM, Kornel Lesiński wrote:
On 1 wrz 2011, at 14:56, Tarjei Huse tar...@scanmine.com wrote:
Hi, I'm trying to include a JQuery template containing ${} into a PHPTal
template. Is there a way to say do not use phptal within this block or
just escape the $ signs?
Yes, $${}
On Fri, 02 Sep 2011 09:59:51 +0100, Tarjei Huse tar...@scanmine.com
wrote:
Hi, I'm trying to include a JQuery template containing ${} into a
PHPTal template. Is there a way to say do not use phptal within this
block or just escape the $ signs?
Yes, $${} will be printed as ${} in
Hi,
Small typo, should be 'escape' instead of 'exscape' ;)
On Sep 3, 2011 3:06 AM, Kornel Lesiński kor...@geekhood.net wrote:
On Fri, 02 Sep 2011 09:59:51 +0100, Tarjei Huse tar...@scanmine.com
wrote:
Hi, I'm trying to include a JQuery template containing ${} into a
PHPTal template. Is there
Hi, I'm trying to include a JQuery template containing ${} into a PHPTal
template. Is there a way to say do not use phptal within this block or
just escape the $ signs?
--
Regards
Tarjei Huse
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
On 1 wrz 2011, at 14:56, Tarjei Huse tar...@scanmine.com wrote:
Hi, I'm trying to include a JQuery template containing ${} into a PHPTal
template. Is there a way to say do not use phptal within this block or
just escape the $ signs?
Yes, $${} will be printed as ${} in generated HTML.
--
On 03-11-2009 at 17:56:02 Tobias Herp bruno-the-questiona...@gmx.net
wrote:
Kornel Lesiński wrote:
I could change it to:
${x} → value
$${x} → ${x}
$$${x} → $value
{x} → $${x}
${x} → $$value
$${x} → $$${x}
etc.
Yes, please!
This is logical, and it is the behaviour defined by
On 04-11-2009 at 10:22:56 Tjerk Meesters tjerk.meest...@gmail.com wrote:
Would it be possible to use a preg_replace() with two expressions, one
to replace $$ by $ and one to handle \b${?(\w+)
You'd have to use assertions or other tricks, to avoid replacing unrelated
$$s.
I think I'll just
Kornel Lesiński wrote:
I could change it to:
${x} → value
$${x} → ${x}
$$${x} → $value
{x} → $${x}
${x} → $$value
$${x} → $$${x}
etc.
Yes, please!
This is logical, and it is the behaviour defined by the TALES standard
What about the html entity: #36;
On 26/10/2009 23:10, Cameron Junge cameron.ju...@finda.co.nz wrote:
Hi All,
Not sure if this has been covered on this list before, my quick search
couldn't find anything that seemed appropriate.
If I wish to display a $ followed by a tal variable using
On 26-10-2009 at 23:10:45 Cameron Junge cameron.ju...@finda.co.nz wrote:
Eg. if I have a variable amount with the value 100, and I want to
display is as $100 then I either have to do:
a) $ ${amount}; or
b) $tal:block replace=amount /; or
c) tal:block replace=money: amount /
$x
I vote for not changing the current behaviour; I agree that if it's
documented, it can be a little weird ;-)
Personally I would choose to have a money formatter TALES construct,
because I hate having to go through my templates again when I start
adding another currency for instance.
Best,
11 matches
Mail list logo