[qmailadmin] qmailadmin-1.0.12 - images problem

2003-03-06 Thread Alexandre Barbosa



I'm using the new feature 

--enable-imageurl=

It works fine except at the login page and the main 
menu.

The problem is in the files list below

main_menu.html
show_login.html
show_login_help.html



Re: [qmailadmin] qmailadmin-1.0.12 - images problem - PATCH

2003-03-06 Thread Tom Collins
On Thursday, March 6, 2003, at 11:15  AM, Alexandre Barbosa wrote:
I'm using the new feature   
--enable-imageurl=
 
It works fine except at the login page and the main menu.
 
The problem is in the files list below
 
main_menu.html
show_login.html
show_login_help.html

Here's a patch that fixes this problem.

I've added the macro ##Z to substitute the images directory in the HTML code.  It's just a quick fix, but I went ahead and organized the macros in template.c to be in alphabetical order to make finding them (and finding available macros) easier.

I also added a missing break on option 'O'.  This bug didn't show up in earlier releases, because it would insert the output of ##P in the middle of a SELECT tag.  Something that most (all?) browsers would ignore.



patch-1.0.12-tc.txt.gz
Description: GNU Zip compressed data


--
Tom Collins
[EMAIL PROTECTED]