2010/3/17 Kornel Lesiński <kor...@aardvarkmedia.co.uk> > function phptal_tales_erorrclass($fieldname, $nothrow) > { > return phptal_tales('true:error/'.$fieldname, $nothrow)." ? 'error' : > NULL"; > } > > <label class="${errorclass:first_name} labelbox"> >
I've noticed "true:" there. Is "true" one of PHPTALES? (It's not documented at http://phptal.org/manual/en/#phptales.) If so, are there other undocumented ones? If not, then would you please explain how this code works?
_______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal