Changeset 74 in subversion


Ignore:
Timestamp:
Nov 2, 2005 5:49:02 PM (8 years ago)
Author:
roundcube
Message:

Added tab-index for compose form

Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/compose.inc

    r58 r74  
    8484      $field_attrib = array('name' => '_from'); 
    8585      foreach ($attrib as $attr => $value) 
    86         if (in_array($attr, array('id', 'class', 'style', 'size'))) 
     86        if (in_array($attr, array('id', 'class', 'style', 'size', 'tabindex'))) 
    8787          $field_attrib[$attr] = $value; 
    8888     
     
    147147        $fname = '_bcc'; 
    148148         
    149       $allow_attrib = array('id', 'class', 'style', 'cols', 'rows', 'wrap'); 
     149      $allow_attrib = array('id', 'class', 'style', 'cols', 'rows', 'wrap', 'tabindex'); 
    150150      $field_type = 'textarea';             
    151151      break; 
     
    154154    case 'reply-to': 
    155155      $fname = '_replyto'; 
    156       $allow_attrib = array('id', 'class', 'style', 'size'); 
     156      $allow_attrib = array('id', 'class', 'style', 'size', 'tabindex'); 
    157157      $field_type = 'textfield'; 
    158158      break; 
  • trunk/roundcubemail/skins/default/templates/compose.html

    r73 r74  
    4949 
    5050<td class="title"><roundcube:label name="from" /></td> 
    51 <td><roundcube:object name="composeHeaders" part="from" form="form" /></td> 
     51<td><roundcube:object name="composeHeaders" part="from" form="form" tabindex="1" /></td> 
    5252 
    5353</tr><tr> 
    5454 
    5555<td class="title top"><roundcube:label name="to" /></td> 
    56 <td><roundcube:object name="composeHeaders" part="to" form="form" cols="80" rows="2" /></td> 
     56<td><roundcube:object name="composeHeaders" part="to" form="form" cols="80" rows="2" tabindex="2" /></td> 
    5757<td class="add-button"><a href="#" onclick="return rcmail_toggle_display('compose-cc')">[Cc]</a><br /> 
    5858<a href="#" onclick="return rcmail_toggle_display('compose-bcc')">[Bcc]</a><br /></td> 
     
    6161 
    6262<td class="title top"><roundcube:label name="cc" /></td> 
    63 <td><roundcube:object name="composeHeaders" part="cc" form="form" cols="80" rows="2" /></td> 
     63<td><roundcube:object name="composeHeaders" part="cc" form="form" cols="80" rows="2" tabindex="3" /></td> 
    6464 
    6565</tr><tr id="compose-bcc"> 
    6666 
    6767<td class="title top"><roundcube:label name="bcc" /></td> 
    68 <td><roundcube:object name="composeHeaders" part="bcc" form="form" cols="80" rows="2" /></td> 
     68<td><roundcube:object name="composeHeaders" part="bcc" form="form" cols="80" rows="2" tabindex="4" /></td> 
    6969 
    7070</tr><tr id="compose-replyto"> 
    7171 
    7272<td class="title top"><roundcube:label name="replyto" /></td> 
    73 <td><roundcube:object name="composeHeaders" part="replyto" form="form" size="80" /></td> 
     73<td><roundcube:object name="composeHeaders" part="replyto" form="form" size="80" tabindex="5" /></td> 
    7474 
    7575<!-- </tr><tr> 
     
    8080 
    8181<td class="title"><roundcube:label name="subject" /></td> 
    82 <td><roundcube:object name="composeSubject" id="compose-subject" form="form" /></td> 
     82<td><roundcube:object name="composeSubject" id="compose-subject" form="form" tabindex="6" /></td> 
    8383 
    8484</tr></table> 
     
    8989 
    9090<td style="width:100%; height:100%; vertical-align:top;"> 
    91 <roundcube:object name="composeBody" id="compose-body" form="form" cols="80" rows="20" warp="virtual" /> 
     91<roundcube:object name="composeBody" id="compose-body" form="form" cols="80" rows="20" warp="virtual" tabindex="7" /> 
    9292</td> 
    9393 
Note: See TracChangeset for help on using the changeset viewer.