Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
Thanks your for this help. Anton On Jan 21, 2008 2:39 PM, Christoph Frick <[EMAIL PROTECTED]> wrote: > On Mon, Jan 21, 2008 at 02:16:13PM +0200, Anton Andrievskij wrote: > > > Buy the way, how can I output text with quotes using tal:content? If > always > > replaces quotes by htmlentities, but s

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Christoph Frick
On Mon, Jan 21, 2008 at 02:16:13PM +0200, Anton Andrievskij wrote: > Buy the way, how can I output text with quotes using tal:content? If always > replaces quotes by htmlentities, but sometimes I do not want quotes to be > replaced. i assume your problem arent quotes but some "html" you generate

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
exit; > > > > > > } else if (isset($__xml_attributes['execute'])) { > > > > > > > > > > > > $benchmark->start('loading-sub-controller-section'); > > > > > >

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
t; > > $benchmark->start('loading-sub-controller-section'); > > > > > > > > > > include_once("controllers/{$__xml_attributes['execute']}.php"); > > > > > > > > > > $benchmark->stop('loading-

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Levi Stanley
$benchmark->stop('loading-sub-controller-section'); > > > > } > > > > *... > > > > > > > > *Nevermind the benchmark stuff, I like to know how long everything > > > > takes to run. > > > >

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
de_once("controllers/{$__xml_attributes['execute']}.php"); > > > > $benchmark->stop('loading-sub-controller-section'); > > > > } > > > > *... > > > > > > > > *Nevermind the be

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
gt; > On Jan 21, 2008 5:27 AM, Anton Andrievskij < [EMAIL PROTECTED]> > > > wrote: > > > > > > > Thanks you; I got your idea, but it seems that I can't execute PHP > > > > scripts from templates using PHPTAL (?) > > > > > > &g

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
:27 AM, Anton Andrievskij < [EMAIL PROTECTED]> wrote: > > > > > Thanks you; I got your idea, but it seems that I can't execute PHP > > > scripts from templates using PHPTAL (?) > > > > > > Anton > > > > > > > > > On Jan 21, 2008 12:13

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Kornel Lesinski
On Mon, 21 Jan 2008 09:12:48 -, Anton Andrievskij <[EMAIL PROTECTED]> wrote: I write this letter to ask about what the best idea about how to use the PHPTAL engine with the standard PHP site engine technology like this: www.mysite.com/index.php?page=login www.mysite.com/index.php?page=faq

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Levi Stanley
M, Levi Stanley < [EMAIL PROTECTED]> wrote: > > > > > Sorry, forgot to change the email, I was sending this from. > > > > > > Read below: > > > > > > -- Forwarded message -- > > > Date: Jan 21, 2008 5:08 AM > > >

Re: [PHPTAL] Using PHPTAL with index.php?page=... thing

2008-01-21 Thread Anton Andrievskij
Forwarded message -- > Date: Jan 21, 2008 5:08 AM > Subject: Re: [PHPTAL] Using PHPTAL with index.php?page=... thing > To: Template Attribute Language for PHP > > > Hmm, kind of sounds like the system I built. I have a > site-controller.xml