From 7d4b41f592e9af4cc632510332d532aea4503da8 Mon Sep 17 00:00:00 2001 From: Dennis1993 Date: Sun, 21 Jul 2013 19:44:39 +0200 Subject: [PATCH 01/12] Update styles.css added support for required field (HTML5) added border:none; for logos and delete deprecated border="0" html attribute --- skins/larry/styles.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/skins/larry/styles.css b/skins/larry/styles.css index ec4f3047c..288b010ed 100644 --- a/skins/larry/styles.css +++ b/skins/larry/styles.css @@ -50,6 +50,8 @@ textarea { input[type="text"]:focus, input[type="password"]:focus, +input[type="text"]:required, +input[type="password"]:required, input.button:focus, textarea:focus { border-color: #4787b1; @@ -611,6 +613,7 @@ a.iconlink.upload { #toplogo { padding-top: 2px; cursor: pointer; + border: none; } .topleft { @@ -1578,6 +1581,7 @@ ul.proplist li { #login-form #logo { margin-bottom: 20px; + border: none; } #login-form #message { From ec031a35f1147a42c82642d7821a93f58cf8f1a7 Mon Sep 17 00:00:00 2001 From: Dennis1993 Date: Sun, 21 Jul 2013 19:51:38 +0200 Subject: [PATCH 02/12] Update html.php added required attribute to allowed list for input fields --- program/lib/Roundcube/html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/lib/Roundcube/html.php b/program/lib/Roundcube/html.php index 3e6e47a56..a36711281 100644 --- a/program/lib/Roundcube/html.php +++ b/program/lib/Roundcube/html.php @@ -358,7 +358,7 @@ class html_inputfield extends html protected $tagname = 'input'; protected $type = 'text'; protected $allowed = array( - 'type','name','value','size','tabindex','autocapitalize', + 'type','name','value','size','tabindex','autocapitalize','required', 'autocomplete','checked','onchange','onclick','disabled','readonly', 'spellcheck','results','maxlength','src','multiple','accept', 'placeholder','autofocus', From 02b1a15775d1e49cf7ddc59e5ab21c94f833838c Mon Sep 17 00:00:00 2001 From: Dennis1993 Date: Sun, 21 Jul 2013 20:32:56 +0200 Subject: [PATCH 03/12] Update login.html deleted deprecated border="0" Attribute and use css instead --- skins/larry/templates/login.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/larry/templates/login.html b/skins/larry/templates/login.html index 6e56ee2fd..13e919ad3 100644 --- a/skins/larry/templates/login.html +++ b/skins/larry/templates/login.html @@ -9,7 +9,7 @@
-
-
From 8df6bb9b1f6a21f283afc95214036dc2698799d4 Mon Sep 17 00:00:00 2001 From: Dennis1993 Date: Sun, 21 Jul 2013 20:37:36 +0200 Subject: [PATCH 05/12] Update rcmail_output_html.php added required Attribute to Login fields --- program/include/rcmail_output_html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php index 998779509..a2ec29ca3 100644 --- a/program/include/rcmail_output_html.php +++ b/program/include/rcmail_output_html.php @@ -1531,9 +1531,9 @@ class rcmail_output_html extends rcmail_output $input_action = new html_hiddenfield(array('name' => '_action', 'value' => 'login')); $input_tzone = new html_hiddenfield(array('name' => '_timezone', 'id' => 'rcmlogintz', 'value' => '_default_')); $input_url = new html_hiddenfield(array('name' => '_url', 'id' => 'rcmloginurl', 'value' => $url)); - $input_user = new html_inputfield(array('name' => '_user', 'id' => 'rcmloginuser') + $input_user = new html_inputfield(array('name' => '_user', 'id' => 'rcmloginuser', 'required' => 'required') + $attrib + $user_attrib); - $input_pass = new html_passwordfield(array('name' => '_pass', 'id' => 'rcmloginpwd') + $input_pass = new html_passwordfield(array('name' => '_pass', 'id' => 'rcmloginpwd', 'required' => 'required') + $attrib + $pass_attrib); $input_host = null; From f6196e75e8577e71743c2ff646a0f3d77a50f23e Mon Sep 17 00:00:00 2001 From: Dennis1993 Date: Tue, 23 Jul 2013 11:54:20 +0200 Subject: [PATCH 06/12] Update mail.html deleted deprecated frameborder Attribute and use css instead wrong closing DIV tag --- skins/larry/templates/mail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skins/larry/templates/mail.html b/skins/larry/templates/mail.html index 6015054d3..16b12a11c 100644 --- a/skins/larry/templates/mail.html +++ b/skins/larry/templates/mail.html @@ -113,7 +113,7 @@
- +
@@ -124,7 +124,7 @@
-
+
    From 5b976a6187603ca70436fb6260dd0bb84fef9daa Mon Sep 17 00:00:00 2001 From: Dennis1993 Date: Tue, 23 Jul 2013 12:00:02 +0200 Subject: [PATCH 07/12] Update addressbook.html deleted deprecated frameborder attribute and use css instead --- skins/larry/templates/addressbook.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/larry/templates/addressbook.html b/skins/larry/templates/addressbook.html index b33ebd999..36ecd4388 100644 --- a/skins/larry/templates/addressbook.html +++ b/skins/larry/templates/addressbook.html @@ -69,7 +69,7 @@
    - +
    From cfd799b9056ff6b5ce425fc070a299d88b53be59 Mon Sep 17 00:00:00 2001 From: Dennis1993 Date: Tue, 23 Jul 2013 12:02:32 +0200 Subject: [PATCH 08/12] Update settings.html deleted deprecated frameborder attribute and use css instead --- skins/larry/templates/settings.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/larry/templates/settings.html b/skins/larry/templates/settings.html index 427e0a4f5..5a0cd189c 100644 --- a/skins/larry/templates/settings.html +++ b/skins/larry/templates/settings.html @@ -22,7 +22,7 @@
    - +
    From 7d7d1437dd042d306150f9b15a3f97b0ad90ae66 Mon Sep 17 00:00:00 2001 From: Dennis1993 Date: Tue, 23 Jul 2013 12:45:24 +0200 Subject: [PATCH 09/12] Update func.inc added missing ID for label --- program/steps/settings/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index dbc9b3ce2..f6ea79ec6 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -546,7 +546,7 @@ function rcmail_user_prefs($current = null) $blocks['main']['options']['default_charset'] = array( 'title' => html::label($field_id, Q(rcube_label('defaultcharset'))), 'content' => $RCMAIL->output->charset_selector(array( - 'name' => '_default_charset', 'selected' => $config['default_charset'] + 'id' => $field_id, 'name' => '_default_charset', 'selected' => $config['default_charset'] ))); } From 269b5bfa95d31a3b083b477e95d0485f14b8fe33 Mon Sep 17 00:00:00 2001 From: Dennis1993 Date: Fri, 26 Jul 2013 11:18:12 +0200 Subject: [PATCH 10/12] Update mail.html added old frameborder Attribute for IE7 and IE8 --- skins/larry/templates/mail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/larry/templates/mail.html b/skins/larry/templates/mail.html index 16b12a11c..7ef12bfdb 100644 --- a/skins/larry/templates/mail.html +++ b/skins/larry/templates/mail.html @@ -113,7 +113,7 @@
    - +
    From 4bf322d256d0460a2df5c03b1e173f6ccd9a6eb3 Mon Sep 17 00:00:00 2001 From: Dennis1993 Date: Fri, 26 Jul 2013 11:19:16 +0200 Subject: [PATCH 11/12] Update addressbook.html added old frameborder Attribute for IE7 and IE8 --- skins/larry/templates/addressbook.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/larry/templates/addressbook.html b/skins/larry/templates/addressbook.html index 36ecd4388..b33ebd999 100644 --- a/skins/larry/templates/addressbook.html +++ b/skins/larry/templates/addressbook.html @@ -69,7 +69,7 @@
    - +
    From bb0ff201408a7bc5711588e6afdacf7e7f30d920 Mon Sep 17 00:00:00 2001 From: Dennis1993 Date: Fri, 26 Jul 2013 11:19:58 +0200 Subject: [PATCH 12/12] Update settings.html added old frameborder Attribute for IE7 and IE8 --- skins/larry/templates/settings.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/larry/templates/settings.html b/skins/larry/templates/settings.html index 5a0cd189c..427e0a4f5 100644 --- a/skins/larry/templates/settings.html +++ b/skins/larry/templates/settings.html @@ -22,7 +22,7 @@
    - +