durusmail: quixote-users: Support $-substitution in templates
Support $-substitution in templates
2004-12-14
2004-12-14
2004-12-14
2004-12-14
2004-12-16
2004-12-16
2004-12-17
2004-12-17
2004-12-14
2005-01-01
2004-12-14
Support $-substitution in templates
Mike Orr
2004-12-16
On Thu, Dec 16, 2004 at 07:22:52AM -0500, David Binger wrote:
> Here's one option for optional $-substitution in templates.
>
> Make [plain] and [html] templates work exactly as before: no
> $-substitution.
> Add support for [plain$] and [html$] templates that do include
> $-substitution.
>
> How does that sound?

Funny, I was thinking the same thing this morning.  It's obvious
yet unobtrusive.

Alternatively, [plain, $] and [html, $].  That would allow for
easier expansion if we add another decorator in the future.  But
aesthetically it's less desirable.

If $ is optional, can we have it pull in globals as well as locals?
Or maybe $$ to include globals.

--
-Mike Orr (aka. Sluggo), mso@oz.net  (iron@sense-sea-MegaSub-1-465.oz.net)
   http://sluggo.kicks-ass.org/                  Cxu vi parolas Esperante?

reply