AW: [SMARTY] Escape the '{'?
| From: | Werner Schweizer | Date: | Sat, 16 Nov 2002 10:09:36 +0000 |
| Subject: | AW: [SMARTY] Escape the '{'? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6443@lists.php.net to get a copy of this message | ||
I'm loading my stylesheets and javascripts as external files.
<link rel="stylesheet" type="text/css" href="styles/xyz.css">
<script src="scripts/xyz.js" type="text/javascript"></script>
So there is no need to escape '{' ... '}'.
Werner Schweizer
> -----Ursprüngliche Nachricht-----
> Von: Roy [mailto:roy@monkeybots.com]
> Gesendet: Freitag, 15. November 2002 23:02
> An: smarty-general@lists.php.net
> Betreff: [SMARTY] Escape the '{'?
>
>
> Okay, finally trying to do some real work with Smarty. I can't find
> anything the manual about how to escape out the Smarty '{' and '}' in
> templates (like when doing CSS commands). I know you can change those
> characters, but how do you just escape out the occasional one?
>
> I tried backslashing them out, and doubling up on them. But,
> neither seemed
> to work.
>
> I thought I might have found something in the manual under
> '$left_delimiter' and '$right_delimiter', but saw no info on
> how to escape
> them out.
>
> Thanks,
> Roy
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>