on 7/31/01 2:30 PM, Rob Genovesi at [EMAIL PROTECTED] spake:
>> I don't like the idea of requiring an outside tool to process templates.  My
>> idea was this:
>> 
>> send_template("main_menu.html") would first parse html/header.html, then
>> html/main_menu.html, then html/footer.html.  All the hooks (##D, etc) would
>> work in the header and footer files as well.  Then, you could move whatever
>> you wanted into these file to accommodate your needs.  Seems like the
>> simplest way.  And if you don't want to use them, leave them empty.
>> 
>> Regards,
>> 
>> Bill Shupp
> 
> Sounds like the right way to do it to me...
> Whichever routine is parsing the templates should be the one to build
> header/footers.
> 
> 
> -Rob

Ok, I'll try to get it done this week.  The next question is, should
anything be in the header/footer files by default?  If anything, I would
probably want to put this in the header:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRansitional//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";>
<html>
  <head>
    <title>QmailAdmin</title>
    <meta http-equiv="content-type" content="text/html; charset=##X000">
    <meta name="robots" content="noindex,follow">
  </head>
<body bgcolor="#ffffff">
<h2>##S</h2>


And this in the footer:

</html>


Thoughts?

Regards,

Bill Shupp

Reply via email to