From 7f9ea15463a7d14b4316e4859e29d53bd727fb32 Mon Sep 17 00:00:00 2001 From: thomascube Date: Mon, 11 Feb 2008 22:45:26 +0000 Subject: Add UI elements to mark the selected messages read/unread --- program/include/rcmail_template.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'program/include/rcmail_template.inc') 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 -- cgit v1.2.3