On Mon, Apr 07, 2008 at 03:34:23PM +0100, Kornel Lesinski wrote:

> $phptal->set('cache_duration', 3);  // variable's value must be integer
> ...
> <div phptal:cache="cache_duration h"> <!-- you must put unit in the 
> attribute after variable's name -->

$phptal->set('cache_duration', "3 h");  // variable's value must be integer
...
<div phptal:cache="cache_duration"> <!-- you must put unit in the 
attribute after variable's name -->

i hope this is allowed too? otherwise, the original requeester still has
the problem, that template and application logic mix.

-- 
cu

Attachment: pgpbUr2j2qb1b.pgp
Description: PGP signature

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to