From cc6138a1b68456ac4e5fb1de6df648158f191a0b Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 10 Jun 2008 18:37:38 +0000 Subject: - allow tabindex in buttons and #1484171 git-svn-id: https://svn.roundcube.net/trunk@1503 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roundcubemail/program/include/rcube_template.php') 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('', $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('', $attrib_str); -- cgit v1.2.3