v. 20200522
more info at https://notes.sagredo.eu/en/qmail-notes-185/qmailadmin-23.html
* Roberto Puzzanghera's qmailadmin-skin patch
Provides a new responsive skin to the control panel.
It modifies everything under the html dir and many .c files in order to adjust the
html code that the original author embedded into the source files.
Added a stylesheet style.ccs in the images folder and some png files for the qmail logo.
== Changelog
* 2020.05.22
-mod_user.html: removed "required" attribute on password field, to allow modifications
in case of no password change
* 2020.05.05
First release of the patch
===========================================================================================
diff -ruN ../qmailadmin-1.2.16-original/Makefile.am qmailadmin-1.2.16/Makefile.am
--- ../qmailadmin-1.2.16-original/Makefile.am 2011-02-22 15:45:48.000000000 +0100
+++ qmailadmin-1.2.16/Makefile.am 2020-05-22 16:10:32.877023997 +0200
@@ -79,4 +79,4 @@
chmod 644 $(DESTDIR)@htmllibdir@/lang/*
$(mkinstalldirs) $(DESTDIR)@imagedir@
cp $(srcdir)/images/*.png $(DESTDIR)@imagedir@
-
+ cp $(srcdir)/images/*.css $(DESTDIR)@imagedir@
diff -ruN ../qmailadmin-1.2.16-original/alias.c qmailadmin-1.2.16/alias.c
--- ../qmailadmin-1.2.16-original/alias.c 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/alias.c 2020-05-22 16:10:32.878023987 +0200
@@ -305,11 +305,11 @@
*/
printf ("%s", HTML_ALIAS_ROW_START);
- qmail_button (this_alias, "deldotqmail", user, dom, mytime, "trash.png");
+ qmail_button (this_alias, "deldotqmail", user, dom, mytime, "delete_forever");
if (*curalias->alias_command == '#')
printf ("%s", HTML_EMPTY_TD); /* don't allow modify on blackhole */
else
- qmail_button (this_alias, "moddotqmail", user, dom, mytime, "modify.png");
+ qmail_button (this_alias, "moddotqmail", user, dom, mytime, "create");
printh (HTML_ALIAS_NAME, this_alias);
printf (HTML_ALIAS_DEST_START);
@@ -715,7 +715,7 @@
*s = '\0';
if ((s = strrchr(user, '/')) == NULL) return NULL;
- if (b != NULL) { snprinth (user, sizeof(user), "%H (%H)", s+1, b); }
+ if (b != NULL) { snprinth (user, sizeof(user), "%H (%H)", s+1, b); }
else { snprinth (user, sizeof(user), "%H", s+1); }
return (user);
@@ -739,7 +739,7 @@
/* back up to pipe or first slash to remove path */
while (line[len] != '/' && line[len] != '|') len--;
len++; /* len is now first char of program name */
- snprinth (command, sizeof(command), "%H", &line[len]);
+ snprinth (command, sizeof(command), "%H", &line[len]);
return(command);
} else {
diff -ruN ../qmailadmin-1.2.16-original/autorespond.c qmailadmin-1.2.16/autorespond.c
--- ../qmailadmin-1.2.16-original/autorespond.c 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/autorespond.c 2020-05-22 16:37:27.916450314 +0200
@@ -77,17 +77,17 @@
for (i = 0; (addr = sort_get_entry(i)); ++i) {
printf ("
");
- printf ("");
+ printf (" | ");
printh ("", cgiurl("delautorespond"), addr);
- printf ("", IMAGEURL);
+ printf ("delete_forever");
printf (" | ");
- printf ("");
+ printf (" | ");
printh ("", cgiurl("modautorespond"), addr);
- printf ("", IMAGEURL);
+ printf ("create");
printf (" | ");
- printh ("%H@%H | ", addr, Domain);
+ printh ("%H@%H | ", addr, Domain);
printf ("
\n");
}
diff -ruN ../qmailadmin-1.2.16-original/html/add_autorespond.html qmailadmin-1.2.16/html/add_autorespond.html
--- ../qmailadmin-1.2.16-original/html/add_autorespond.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/add_autorespond.html 2020-05-22 16:10:32.878023987 +0200
@@ -1,76 +1,45 @@
-
-
+
+
-
-
-
- ##S
-
-
-
-
-
-
-
-
- ##X003
-
- |
-
-
-
-
-
-
- |
-
-
-
- |
-
-
-
+
+
+
+
diff -ruN ../qmailadmin-1.2.16-original/html/add_forward.html qmailadmin-1.2.16/html/add_forward.html
--- ../qmailadmin-1.2.16-original/html/add_forward.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/add_forward.html 2020-05-22 16:10:32.878023987 +0200
@@ -1,85 +1,35 @@
-
-
+
+
-
+
##X007
-
- ##S
-
-
-
-
-
-
-
-
- ##X007
-
- |
-
-
-
-
-
-
- |
-
-
-
-
- |
-
-
+
+
+
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/add_listdig.html qmailadmin-1.2.16/html/add_listdig.html
--- ../qmailadmin-1.2.16-original/html/add_listdig.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/add_listdig.html 2020-05-22 16:10:32.879023977 +0200
@@ -1,68 +1,34 @@
-
-
+
-
-
-
- ##S
-
-
-
-
-
-
-
-
- ##X241
-
- |
-
-
-
-
-
-
- |
-
-
-
- |
-
-
+
+
+
##X241
+
+
##X241 ##A@##D
+
+
+
+
+
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/add_listmod.html qmailadmin-1.2.16/html/add_listmod.html
--- ../qmailadmin-1.2.16-original/html/add_listmod.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/add_listmod.html 2020-05-22 16:10:32.879023977 +0200
@@ -1,68 +1,34 @@
-
-
+
-
-
-
- ##S
-
-
-
-
-
-
-
-
- ##X011
-
- |
-
-
-
-
-
-
- |
-
-
-
- |
-
-
+
+
+
##X011
+
+
##X012 ##A@##D
+
+
+
+
+
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/add_listuser.html qmailadmin-1.2.16/html/add_listuser.html
--- ../qmailadmin-1.2.16-original/html/add_listuser.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/add_listuser.html 2020-05-22 16:10:32.879023977 +0200
@@ -1,68 +1,34 @@
-
-
+
-
-
-
- ##S
-
-
-
-
-
-
-
-
- ##X014
-
- |
-
-
-
-
-
-
- |
-
-
-
- |
-
-
+
+
+
##X014
+
+
##X014 ##A@##D
+
+
+
+
+
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/add_mailinglist-idx.html qmailadmin-1.2.16/html/add_mailinglist-idx.html
--- ../qmailadmin-1.2.16-original/html/add_mailinglist-idx.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/add_mailinglist-idx.html 2020-05-22 16:10:32.879023977 +0200
@@ -1,76 +1,45 @@
-
-
+
+
+
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/add_mailinglist-no-idx.html qmailadmin-1.2.16/html/add_mailinglist-no-idx.html
--- ../qmailadmin-1.2.16-original/html/add_mailinglist-no-idx.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/add_mailinglist-no-idx.html 2020-05-22 16:10:32.880023968 +0200
@@ -1,73 +1,42 @@
-
-
+
+
+
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/add_user.html qmailadmin-1.2.16/html/add_user.html
--- ../qmailadmin-1.2.16-original/html/add_user.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/add_user.html 2020-05-22 16:10:32.880023968 +0200
@@ -1,93 +1,66 @@
-
-
+
+
-
-
-
- ##S
-
-
-
-
-
-
-
-
- ##X090
-
- |
-
-
-
-
-
-
- |
-
-
-
- |
-
-
+
+
+
+
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/change_password.html qmailadmin-1.2.16/html/change_password.html
--- ../qmailadmin-1.2.16-original/html/change_password.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/change_password.html 2020-05-22 16:10:32.880023968 +0200
@@ -1,36 +1,38 @@
-
-
-
-##S
-
-
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/change_password_success.html qmailadmin-1.2.16/html/change_password_success.html
--- ../qmailadmin-1.2.16-original/html/change_password_success.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/change_password_success.html 2020-05-22 16:10:32.880023968 +0200
@@ -1,7 +1,9 @@
-
-
-
-##X139
+
+
+
+
+
##X139
+
##R
-
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/del_autorespond_confirm.html qmailadmin-1.2.16/html/del_autorespond_confirm.html
--- ../qmailadmin-1.2.16-original/html/del_autorespond_confirm.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/del_autorespond_confirm.html 2020-05-22 16:10:32.881023958 +0200
@@ -1,52 +1,27 @@
-
-
-
- ##S
-
-
-
-
-
-
-
-
- ##X098
-
- |
-
-
-
-
-
-
-
-
-
- ##X098 ##A@##D?
- |
-
-
-
- |
-
-
-
- |
-
-
+
+
+
+
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/del_forward_confirm.html qmailadmin-1.2.16/html/del_forward_confirm.html
--- ../qmailadmin-1.2.16-original/html/del_forward_confirm.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/del_forward_confirm.html 2020-05-22 16:10:32.881023958 +0200
@@ -1,52 +1,23 @@
-
-
-
- ##S
-
-
-
-
-
-
-
-
- ##X100
-
- |
-
-
-
-
-
-
- |
-
-
-
- |
-
-
+
+
+
+
##X100
+
+ ##X100 ##A@##D?
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/del_listdig.html qmailadmin-1.2.16/html/del_listdig.html
--- ../qmailadmin-1.2.16-original/html/del_listdig.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/del_listdig.html 2020-05-22 16:10:32.881023958 +0200
@@ -1,58 +1,32 @@
-
-
-
- ##S
-
-
-
-
-
-
-
-
- ##X243
-
- |
-
-
-
-
-
-
- |
-
-
-
- |
-
-
+
+
+
+
+
##X243
+
+
##X243 ##A@##D?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/del_listmod.html qmailadmin-1.2.16/html/del_listmod.html
--- ../qmailadmin-1.2.16-original/html/del_listmod.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/del_listmod.html 2020-05-22 16:10:32.881023958 +0200
@@ -1,58 +1,33 @@
-
-
-
- ##S
-
-
-
-
-
-
-
-
- ##X196
-
- |
-
-
-
-
-
-
- |
-
-
-
- |
-
-
+
+
+
+
+
##X196
+
+
##X196 ##A@##D?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/del_listuser.html qmailadmin-1.2.16/html/del_listuser.html
--- ../qmailadmin-1.2.16-original/html/del_listuser.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/del_listuser.html 2020-05-22 16:10:32.881023958 +0200
@@ -1,58 +1,31 @@
-
-
-
- ##S
-
-
-
-
-
-
-
-
- ##X195
-
- |
-
-
-
-
-
-
- |
-
-
-
- |
-
-
+
+
+
+
+
##X195
+
+
##X195 ##A@##D?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/del_mailinglist_confirm.html qmailadmin-1.2.16/html/del_mailinglist_confirm.html
--- ../qmailadmin-1.2.16-original/html/del_mailinglist_confirm.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/del_mailinglist_confirm.html 2020-05-22 16:10:32.882023948 +0200
@@ -1,52 +1,25 @@
-
-
-
- ##S
-
-
-
-
-
-
-
-
- ##X101
-
- |
-
-
-
-
-
-
- |
-
-
-
- |
-
-
+
+
+
+
+
##X101
+
+ ##X101 ##A@##D?
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/del_user_confirm.html qmailadmin-1.2.16/html/del_user_confirm.html
--- ../qmailadmin-1.2.16-original/html/del_user_confirm.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/del_user_confirm.html 2020-05-22 16:10:32.882023948 +0200
@@ -1,59 +1,39 @@
-
-
-
- ##S
-
-
-
-
-
-
-
-
- ##X102
-
- |
-
-
-
-
-
-
- |
-
-
-
- |
-
-
+
+
+
+
##X102
+
+
##X102 ##A@##D?
+
+
+
+
+
+
+
+
+
+
+ ##ta
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -ruN ../qmailadmin-1.2.16-original/html/footer.html qmailadmin-1.2.16/html/footer.html
--- ../qmailadmin-1.2.16-original/html/footer.html 2011-02-22 15:45:47.000000000 +0100
+++ qmailadmin-1.2.16/html/footer.html 2020-05-22 16:10:32.882023948 +0200
@@ -1,2 +1,13 @@
-
+
+
+
+
+
+
+
+
+
+