[PHPTAL] Problem with PHPTAL::addSourceResolver()

2009-04-23 Thread Michał Wysoczański
Hello, There is a little error in PHPTAL::addSourceResolver(). The attached simple patch fixes this. Regards, Michał Wysoczański PHPTAL_addSourceResolver.patch Description: Binary data ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http

[PHPTAL] PHPTAL fails with long text nodes

2009-06-08 Thread Michał Wysoczański
Hello, I've tried to use PHPTAL with templates with some long text nodes (i.e. long text here...), and noticed that PHPTAL generates internal server error (500) (tested on 1.2.0b3 and svn HEAD). Error is generated by preg_match() call in checkEncoding() method of PHPTAL_Dom_SaxXmlParser class (lin

Re: [PHPTAL] PHPTAL fails with long text nodes

2009-06-09 Thread Michał Wysoczański
2009/6/8 Kornel Lesiński > > In the meantime I've added not-so-pretty workaround that splits string into > small chunks and checks each one individually. > > See if that helps: > > http://phptal.org/files/PHPTAL-1.2.0beta4.tar.gz > Works fine, thanks. Regards, Michał W. ___

Re: [PHPTAL] Compose an HTML attribute using static text + dynamic text

2009-09-13 Thread Michał Wysoczański
Hi, On Sun, Sep 13, 2009 at 1:09 PM, Mariano Calandra < mariano.calan...@gmail.com> wrote: > some text > > I resolve partially my problem cause I just have 1, 2. How can i prepone > the static text "name_" to the dynamic text from person/id_name??? > Try something like that: some text Regard