From 317219dafe98b70797ef853571c255de0654d4aa Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 2 Nov 2005 22:49:02 +0000 Subject: Added tab-index for compose form --- program/steps/mail/compose.inc | 6 +++--- skins/default/templates/compose.html | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index f70759914..0dc450205 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -83,7 +83,7 @@ function rcmail_compose_headers($attrib) // pass the following attributes to the form class $field_attrib = array('name' => '_from'); foreach ($attrib as $attr => $value) - if (in_array($attr, array('id', 'class', 'style', 'size'))) + if (in_array($attr, array('id', 'class', 'style', 'size', 'tabindex'))) $field_attrib[$attr] = $value; // get this user's identities @@ -146,14 +146,14 @@ function rcmail_compose_headers($attrib) if (!$fname) $fname = '_bcc'; - $allow_attrib = array('id', 'class', 'style', 'cols', 'rows', 'wrap'); + $allow_attrib = array('id', 'class', 'style', 'cols', 'rows', 'wrap', 'tabindex'); $field_type = 'textarea'; break; case 'replyto': case 'reply-to': $fname = '_replyto'; - $allow_attrib = array('id', 'class', 'style', 'size'); + $allow_attrib = array('id', 'class', 'style', 'size', 'tabindex'); $field_type = 'textfield'; break; diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html index 9dda5dad3..2071c0e05 100644 --- a/skins/default/templates/compose.html +++ b/skins/default/templates/compose.html @@ -48,29 +48,29 @@ function rcmail_toggle_display(id) - + - + - + - + - +
[Cc]
[Bcc]