From af3cf8a0a7de74ab169f44277eda73f5f9e18cd7 Mon Sep 17 00:00:00 2001 From: thomascube Date: Tue, 8 Jun 2010 21:13:20 +0000 Subject: [PATCH] Bring back some previously removed lines --- program/include/rcube_template.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php index fec12ae19..2c9e95100 100755 --- a/program/include/rcube_template.php +++ b/program/include/rcube_template.php @@ -791,6 +791,10 @@ class rcube_template extends rcube_html_page if ($attrib['task']) $command = $attrib['task'] . '.' . $command; + + if (!$attrib['image']) { + $attrib['image'] = $attrib['imagepas'] ? $attrib['imagepas'] : $attrib['imageact']; + } if (!$attrib['id']) { $attrib['id'] = sprintf('rcmbtn%d', $s_button_count++);