- allow tabindex in buttons and #1484171
| | |
| | | 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); |
| | |
| | | } |
| | | 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'; |
| | |
| | | $attrib, |
| | | array( |
| | | 'type', 'value', 'onclick', |
| | | 'id', 'class', 'style' |
| | | 'id', 'class', 'style', 'tabindex' |
| | | ) |
| | | ); |
| | | $out = sprintf('<input%s disabled="disabled" />', $attrib_str); |
| | |
| | | <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> |