From a6c2552322f89f8a644e3faaf8fbb7758f07fff9 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 13 Nov 2007 17:49:48 +0000 Subject: [PATCH] IE fixes --- lam/HISTORY | 1 + lam/lib/lists.inc | 12 ++++++++++-- lam/style/600_type_group.css | 5 +++++ lam/style/600_type_host.css | 5 +++++ lam/style/600_type_mailAlias.css | 5 +++++ lam/style/600_type_smbDomain.css | 5 +++++ lam/style/600_type_user.css | 5 +++++ 7 files changed, 36 insertions(+), 2 deletions(-) diff --git a/lam/HISTORY b/lam/HISTORY index 4054bbf1..2e784691 100644 --- a/lam/HISTORY +++ b/lam/HISTORY @@ -4,6 +4,7 @@ - use suffix from account list as default for new accounts (patch 1823583) - Security: passwords in configuration files are now saved as hash values - Unix: allow to set host passwords (RFE 1754069) + - style fixes for Internet Explorer users 07.11.2007 2.1.0 diff --git a/lam/lib/lists.inc b/lam/lib/lists.inc index 0cdcdbca..4a41d028 100644 --- a/lam/lib/lists.inc +++ b/lam/lib/lists.inc @@ -670,13 +670,19 @@ class lamList { // mouseOver function echo "function list_over(list, box, scope) {\n"; echo "cbox = document.getElementsByName(box)[0];\n"; - echo "if (cbox.checked == false) list.setAttribute('class', scope + 'list-over', 0);\n"; + echo "if (cbox.checked == false) {\n"; + echo "list.setAttribute('className', scope + 'list-over', 0);\n"; + echo "list.setAttribute('class', scope + 'list-over', 0);"; + echo "}\n"; echo "}"; // mouseOut function echo "function list_out(list, box, scope) {\n"; echo "cbox = document.getElementsByName(box)[0];\n"; - echo "if (cbox.checked == false) list.setAttribute('class', scope + 'list', 0);\n"; + echo "if (cbox.checked == false) {\n"; + echo "list.setAttribute('className', scope + 'list', 0);\n"; + echo "list.setAttribute('class', scope + 'list', 0);\n"; + echo "}\n"; echo "}\n"; // onClick function @@ -684,10 +690,12 @@ class lamList { echo "cbox = document.getElementsByName(box)[0];\n"; echo "if (cbox.checked == true) {\n"; echo "cbox.checked = false;\n"; + echo "list.setAttribute('className', scope + 'list-over', 0);\n"; echo "list.setAttribute('class', scope + 'list-over', 0);\n"; echo "}\n"; echo "else {\n"; echo "cbox.checked = true;\n"; + echo "list.setAttribute('className', scope + 'list-checked', 0);\n"; echo "list.setAttribute('class', scope + 'list-checked', 0);\n"; echo "}\n"; echo "}\n"; diff --git a/lam/style/600_type_group.css b/lam/style/600_type_group.css index 1d3b80d8..29ce7ce9 100644 --- a/lam/style/600_type_group.css +++ b/lam/style/600_type_group.css @@ -56,6 +56,11 @@ table.grouplist { border-width:1px; border-style:solid; border-color:#7167bf; + border-collapse:collapse; +} + +table.grouplist td,th { + border-color:#7167bf; } /* input elements */ diff --git a/lam/style/600_type_host.css b/lam/style/600_type_host.css index a013dd24..74096472 100644 --- a/lam/style/600_type_host.css +++ b/lam/style/600_type_host.css @@ -56,6 +56,11 @@ table.hostlist { border-width:1px; border-style:solid; border-color:#911a1a; + border-collapse:collapse; +} + +table.hostlist td,th { + border-color:#911a1a; } /* input elements */ diff --git a/lam/style/600_type_mailAlias.css b/lam/style/600_type_mailAlias.css index f7812cc5..9f2b8d78 100644 --- a/lam/style/600_type_mailAlias.css +++ b/lam/style/600_type_mailAlias.css @@ -56,6 +56,11 @@ table.mailAliaslist { border-width:1px; border-style:solid; border-color:#af8800; + border-collapse:collapse; +} + +table.mailAliaslist td,th { + border-color:#af8800; } /* input elements */ diff --git a/lam/style/600_type_smbDomain.css b/lam/style/600_type_smbDomain.css index 10e9f41e..5625d3e5 100644 --- a/lam/style/600_type_smbDomain.css +++ b/lam/style/600_type_smbDomain.css @@ -56,6 +56,11 @@ table.smbDomainlist { border-width:1px; border-style:solid; border-color:#1d993e; + border-collapse:collapse; +} + +table.smbDomainlist td,th { + border-color:#1d993e; } /* input elements */ diff --git a/lam/style/600_type_user.css b/lam/style/600_type_user.css index 191f52ae..8dd7cd7e 100644 --- a/lam/style/600_type_user.css +++ b/lam/style/600_type_user.css @@ -34,6 +34,11 @@ table.userlist { border-width:1px; border-style:solid; border-color:#9b8523; + border-collapse:collapse; +} + +table.userlist td,th { + border-color:#9b8523; } /* input elements */