diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-06-10 18:37:38 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-06-10 18:37:38 +0000 |
| commit | cc6138a1b68456ac4e5fb1de6df648158f191a0b (patch) | |
| tree | b92b8777fb2e515120077bf3c54cdb269d5c5227 | |
| parent | 2d6e7302e3ce24c76a08415a00a4c322fa77e173 (diff) | |
- allow tabindex in buttons and #1484171
git-svn-id: https://svn.roundcube.net/trunk@1503 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rwxr-xr-x | roundcubemail/program/include/rcube_template.php | 6 | ||||
| -rw-r--r-- | roundcubemail/skins/default/templates/compose.html | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/roundcubemail/program/include/rcube_template.php b/roundcubemail/program/include/rcube_template.php index 2173784b6..0c0a9211b 100755 --- a/roundcubemail/program/include/rcube_template.php +++ b/roundcubemail/program/include/rcube_template.php @@ -760,7 +760,7 @@ class rcube_template extends rcube_html_page array( 'style', 'class', 'id', 'width', 'height', 'border', 'hspace', - 'vspace', 'align', 'alt', + 'vspace', 'align', 'alt', 'tabindex' ) ); $btn_content = sprintf('<img src="%s"%s />', $this->abs_url($attrib['image']), $attrib_str); @@ -771,7 +771,7 @@ class rcube_template extends rcube_html_page } else if ($attrib['type']=='link') { $btn_content = $attrib['label'] ? $attrib['label'] : $attrib['command']; - $link_attrib = array('href', 'onclick', 'title', 'id', 'class', 'style'); + $link_attrib = array('href', 'onclick', 'title', 'id', 'class', 'style', 'tabindex'); } else if ($attrib['type']=='input') { $attrib['type'] = 'button'; @@ -784,7 +784,7 @@ class rcube_template extends rcube_html_page $attrib, array( 'type', 'value', 'onclick', - 'id', 'class', 'style' + 'id', 'class', 'style', 'tabindex' ) ); $out = sprintf('<input%s disabled="disabled" />', $attrib_str); diff --git a/roundcubemail/skins/default/templates/compose.html b/roundcubemail/skins/default/templates/compose.html index 25a3ef91f..a666bed90 100644 --- a/roundcubemail/skins/default/templates/compose.html +++ b/roundcubemail/skins/default/templates/compose.html @@ -133,12 +133,12 @@ function rcmail_prev_sibling(elm) <table border="0" cellspacing="0" width="100%" summary=""><tbody> <tr> <td> -<roundcube:button type="input" command="send" class="button" label="sendmessage" /> -<roundcube:button type="input" command="list" class="button" label="cancel" /> +<roundcube:button type="input" command="send" class="button" label="sendmessage" tabindex="8" /> +<roundcube:button type="input" command="list" class="button" label="cancel" tabindex="9" /> </td> <td align="right"> <roundcube:label name="editortype" />: - <span class="radios-left"><roundcube:object name="editorSelector" tabindex="9" /></span> + <span class="radios-left"><roundcube:object name="editorSelector" tabindex="10" /></span> </td> </tr> </tbody></table> |
