summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2010-06-08 21:13:20 +0000
committerthomascube <thomas@roundcube.net>2010-06-08 21:13:20 +0000
commitaf3cf8a0a7de74ab169f44277eda73f5f9e18cd7 (patch)
tree5f44ee9019645412b3d3fe0e1427cf29b8f3bedb /program/include
parente9b5a6c2d55f1fc31715ad7ff05aed631cc12699 (diff)
Bring back some previously removed lines
Diffstat (limited to 'program/include')
-rwxr-xr-xprogram/include/rcube_template.php4
1 files changed, 4 insertions, 0 deletions
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++);