From: Quinn C. <qu...@st...> - 2006-10-15 02:07:48
|
That's great news. I met with our developers today to discuss rebuilding it. There are HTML bits scattered everywhere in the C code -- you are right, it would be very hard to remove all code from there -- but it would be easy to simply make it XHTML compliant. Some of the HTML I don't see how it would be possible to move out of the source -- the <table> lists of user accounts for example -- without defining a template processing language (ala Smarty). But, first things first, I'll start with converting to XHTML. My priorities for the work would be as follows: - Convert to valid XHTML. - Remove all display tags (<font>, <b>, etc) to separate content from presentation, so that all parts of the site can be modified with CSS. - Apply structural HTML that is semantically correct and can be styled by CSS. - Improve the design by adding a global navigation menu, optimizing form layouts, and adding help text (only in english to start with, obviously). This would change something like this, for a very basic example: printf ("<P><B><U>%s</U></B><BR>\n", html_text[275]); Into simply: printf ("<h3>%s</h3>\n", html_text[275]); If necessary, we can deliver a default CSS file that makes the design look identical to the original qmailadmin design, just so nobody freaks out. I would love to start immediately on this (or rather, get my dev'ers started on it asap ;). How shall we proceed? We could download the latest devel version, update all the code and send it back to you within a couple days. I'm not sure any of us are too experienced with diff/patch. Quinn On Sat, 14 Oct 2006 17:37:30 -0700, Tom Collins wrote: > I'd love to see that, and would be willing to modify the C source as > necessary. It would take a lot of work to remove all HTML from the C > source, but we could at least make it valid XHTML with id tags that a > stylesheet would control. |