[qmailadmin] Differences in html templates

2003-12-23 Thread Rick Widmer
Looking through the template files in RC1 I see 26 files that start with:

/head
body...


Only main_menu.html starts with a style:

style type=text/css
!--
a {color: black;}
--
/style
/head
body...


Then we have just mod_mailinglist-idx.html which starts with:

  META HTTP-EQUIV=Pragma CONTENT=no-cache
  META HTTP-EQUIV=Expires CONTENT=Thu, 1 Jan 1970 00:00:00 GMT
/head
body...


It seems to me that if you are going to use a style sheet, or no-cache 
meta tags in one page, you should use them in all. So... I suggest they 
be moved into header.html.

The real reason I want to move those items is so I can also move all the 
/head and body... tags into the header.  Once you do that you can 
place content above and/or around the qmailadmin content from 
header.html.  Want your logo at the top of every qmailadmin page?  No 
problem...  just put it in the header and it appears above them all. 
Want links on the left like the rest of the site - start a table in 
header with the links in the leftmost column, then start a column for 
qmailadmin.  Finally in the footer, close the cell, row and table.

I've done it here, and it seems to be working just fine.  If you are 
interested I can send a patch.



a l s o . . .

In header.html we have titleQmailAdmin ##H/title but when I look in 
template.c I don't find a case for 'H'.  I haven't ever seen anything 
but 'QmailAdmin' in the title.  Am I missing something?  Should the ##H 
be removed from header.html?



Finally, in template.c the case 'z' doesn't have a comment above it. 
(about line 608).  It appears this is a special case domain name for the 
login page that fills in the domain name from dom=, or possibly 
DOMAIN_AUTOFILL.  I can try to supply a comment, but someone else 
probably has a better idea what to put there than I do.

Rick



[qmailadmin] Announcement: autorespond-perl 0.1

2003-12-23 Thread Derek Watson
  
Hello everybody, sorry for the cross-post but I have been digging through
all of the qmailadmin mailing lists and have discovered that a few of you
are looking for something like this (as I was when I decided to write it).  
 
Let me know if you have any questions or comments, or if you are running
this on your system.
 
 
Package Name: autorespond-perl-0.1
Package Author: Derek Watson
 
Package Description: 
 
autorespond-perl is a drop-in replacement for Inter7's autorespond 2.0.4
that attempts to achieve better handling for exit codes, MIME headers, rate
limiting, and Mailing List identification.  This is a recommended
replacement for anybody running a vpopmail/qmailadmin setup.
 
http://www.dcw.ca/autorespond-perl/autorespond-perl-0.1.tar.gz



Re: [qmailadmin] Qmailadmin 1.2.0-rc1 released

2003-12-23 Thread Eduardo
I can create users with 2000MB of quota or with NOQUOTA, but domain has 25MB 
as limit, and default quota is 20, is this a bug? vpopmail-5.4.0-pre2, auth 
and limits on mysql,  --enable-domainquotas, qmailadmin-1.2.0-rc1. Qmailadmin 
make the select on mysql, but ignore limits.

El Lunes, 22 de Diciembre de 2003 05:43, Tom Collins escribió:
 http://qmailadmin.sf.net/

 Not many changes from the first pre-release.  Unless
 anything significant turns up with this release, we'll
 call it stable around January 10th.

 1.2.0-rc1 - released 21-Dec-03

 Michael Bowe
 - Update to configure.in for libtools 2.57 compatability. [858201]

 Tom Collins
 - Use AM_INSTALL_PROGRAM_FLAGS instead of chown/chgrp/chmod in
Makefile. [827196]



[qmailadmin] proposed usability patches to html templates

2003-12-23 Thread qmailadmin
Hi all,

I find it useful to have the keyboard's focus placed onto the first input text element on several of the forms in the html templates.

The changes to the html are minimal: a setFocus() javascript function is added to header.html, the body tags are modified to include 'onload=setFocus()', and the first input element of type=text is given the attribute of 'id=initial_focus' on the thirteen templates where I thought it would be helpful.

The javascript works on W3C compliant browsers, IE4+, and fails safely and quietly on others.

I'm not part of the development team so instead I've included the patches here as a tar.gz attachment (about 1k).  If someone would like to apply the patches to the development tree I think most users would find the changes useful; otherwise, feel free to apply them to your own installations as you see fit.  I've been using these since 1.0.6.

Thanks,
Mike Wright


html-diffs.tar.gz
Description: GNU Zip compressed data