mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-10 01:56:48 +01:00
Improve button capabilities
This commit is contained in:
@@ -876,7 +876,7 @@ class rcube_template extends rcube_html_page
|
||||
$link_attrib = array('href', 'onclick', 'onmouseover', 'onmouseout', 'onmousedown', 'onmouseup', 'target');
|
||||
}
|
||||
else if ($attrib['type']=='link') {
|
||||
$btn_content = $attrib['label'] ? $attrib['label'] : $attrib['command'];
|
||||
$btn_content = isset($attrib['content']) ? $attrib['content'] : ($attrib['label'] ? $attrib['label'] : $attrib['command']);
|
||||
$link_attrib = array('href', 'onclick', 'title', 'id', 'class', 'style', 'tabindex', 'target');
|
||||
}
|
||||
else if ($attrib['type']=='input') {
|
||||
|
||||
Reference in New Issue
Block a user