summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-06-10 18:37:38 +0000
committeralecpl <alec@alec.pl>2008-06-10 18:37:38 +0000
commit23bba05d7ddf44e99534acc8f177ac1e8d814988 (patch)
tree2f78e1c2e621aca4db8cb8c716641ad500bc9b9e /program
parent8b365e22fa39266aaf43665500fa94cbddd62837 (diff)
- allow tabindex in buttons and #1484171
Diffstat (limited to 'program')
-rwxr-xr-xprogram/include/rcube_template.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index 2173784b6..0c0a9211b 100755
--- a/program/include/rcube_template.php
+++ b/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);