logo       

Re: [webmin-devel] html templates ok?: msg#00021

web.webmin.devel

Subject: Re: [webmin-devel] html templates ok?

I'm currently developing with HTML:Template, but I had to use CPAN to
download and install the module. Should I add an auto-download sort of
script so that if they don't have HTML:Template, it will go and do it?
And yes, I'm calling header and footer. I'm just tired of writing html
and cgi all in one file.
-ben
Jamie Cameron said:
> Because Webmin module program are just CGI scripts, there is really no
> restriction on what tool you can use to generate the HTML they output.
> However, it is a good idea to always call the header and footer
> function, as these can be overridden by themes to produce a custom
> style. If your module was to produce the full HTML for a page from the
> <html> tag onwards itself without calling header, it would look out of
> place in a different theme ..
>
> - Jamie
>
> On Fri, 2004-05-21 at 08:05, ben@xxxxxxxxxxx wrote:
>> Is it ok if I make a module that uses a template engine? How about an
>> external one? (such as: http://www.template-toolkit.org/ ). Or should
>> I just stick to HTML:Template
>> -ben
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> -
> Forwarded by the Webmin development list at webmin-devel@xxxxxxxxxx To
> remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-devel





-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id?66&op=click
-
Forwarded by the Webmin development list at webmin-devel@xxxxxxxxxx
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise