On 11 May 2004, at 20:47, Mark Fuller wrote:


If I have something like this for readability in the template:

==============================
<TMPL_IF NAME="ERRMSG">

<p>Error: <TMPL_VAR NAME=ERRMSG>

<TMPL_IF NAME="EMAIL_AVAILABLE">

(Forgot your password? <a href="">Reset and email it to yourself</a>.)

</TMPL_IF>

</p>

</TMPL_IF>
================================

The resulting HTML has a lot of newlines.


There are mod_perl and apache filters for doing this. mod_gzip makes it particularly
academic if you're prepared to trade a little CPU for a *lot* of bandwidth.


Stuff in the right place.


-- Dave Hodgkinson CTO, Rockit Factory Ltd. http://www.rockitfactory.com/ Web sites for rock bands



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to