-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I got a situation where I want the user to be able to define a header
based on some of the variables in my template.

Simple example:

I got the variables date (02.02.08), title (mytitle) and number(3) added
to the template, as well as the titleTemplate variable.

titleTemplate is a string containing the value "${date} ${title}".

I would like the template
<html><body><h1>${titleTemplate}</h1></body></html>
to be expanded to:
<html><body><h1>02.02.08 mytitle</h1></body></html>

Is this possible?

Kind regards,
Tarjei

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIrD3gYVRKCnSvzfIRAnu9AJwL6bzZzKfKqeEYR7XTlEdY9QONpACdH81s
FRx6IlrU9hkh0CamqMzGa2Y=
=/NFC
-----END PGP SIGNATURE-----

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

Reply via email to