Re: Keys into keys in template flexy
| From: | Alan Knowles | Date: | Mon, 14 May 2007 13:48:49 +0000 |
| Subject: | Re: Keys into keys in template flexy | ||
| References: | 1 | Groups: | php.pear.general php.pear.general |
| Request: | Send a blank email to pear-general+get-27290@lists.php.net to get a copy of this message | ||
Jandro brozaman wrote:
Hi all,
I have a silly doubt about flexy templates.
I would like something like this, but I don't know and i haven't found how to put {} in the HTML.
.
<style type="text/css" title="dummy" media="screen">
@import "{css}";
h1{background: url(img/headers/{head}) no-repeat left top;}
</style>
That "should" (famous last words) work as expected - Flexy uses a full preditive lexer - so it should work out that {xxx:<White_Space> is not a valid flexy tag, and just ignore it..
Regards
Alan
. As you see css and head are variables but {background...} isn't Thanks____________________________________________________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com