diff options
author | thomascube <thomas@roundcube.net> | 2008-02-11 22:45:26 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-02-11 22:45:26 +0000 |
commit | 7f9ea15463a7d14b4316e4859e29d53bd727fb32 (patch) | |
tree | 3539cef73e3f5e394ecd40d226103dcb6693915c /program/include | |
parent | 29bee0a4ac17218f4ac892deaf3396ab9e24d307 (diff) |
Add UI elements to mark the selected messages read/unread
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcmail_template.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/program/include/rcmail_template.inc b/program/include/rcmail_template.inc index d6eb35ca5..301b3f20d 100644 --- a/program/include/rcmail_template.inc +++ b/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 |