| | |
| | | $_SESSION['compose'] = array('id' => uniqid(rand())); |
| | | |
| | | |
| | | // add some labels to client |
| | | rcube_add_label('nosubject', 'norecipientwarning', 'nosubjectwarning', 'nobodywarning', 'sendingmessage'); |
| | | |
| | | |
| | | if ($_GET['_reply_uid'] || $_GET['_forward_uid']) |
| | | { |
| | | $msg_uid = $_GET['_reply_uid'] ? $_GET['_reply_uid'] : $_GET['_forward_uid']; |
| | |
| | | // 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 |
| | |
| | | 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; |
| | | |