summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-11 22:45:26 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-11 22:45:26 +0000
commit681b9e62db843695fa3d76a85455a698f624fbe9 (patch)
tree0bcdd40fa8bfa3e4053cd3ec97157afac4fdd20a /roundcubemail/program/include
parent40df4a39ea87d9d946caf4d778b9dd9a9f47ea57 (diff)
Add UI elements to mark the selected messages read/unread
git-svn-id: https://svn.roundcube.net/trunk@1044 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
-rw-r--r--roundcubemail/program/include/rcmail_template.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/roundcubemail/program/include/rcmail_template.inc b/roundcubemail/program/include/rcmail_template.inc
index d6eb35ca5..301b3f20d 100644
--- a/roundcubemail/program/include/rcmail_template.inc
+++ b/roundcubemail/program/include/rcmail_template.inc
@@ -453,8 +453,7 @@ class rcmail_template extends rcube_html_page
{
// return a button
case 'button':
- if ($attrib['command'])
- return $this->button($attrib);
+ return $this->button($attrib);
break;
// show a label
@@ -582,7 +581,7 @@ class rcmail_template extends rcube_html_page
$skin_path = $this->config['skin_path'];
- if (!($attrib['command'] || $attrib['name']))
+ if (!($attrib['command'] || $attrib['name'] || $attrib['onclick']))
return '';
// try to find out the button type