diff options
author | thomascube <thomas@roundcube.net> | 2010-06-08 21:13:20 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2010-06-08 21:13:20 +0000 |
commit | af3cf8a0a7de74ab169f44277eda73f5f9e18cd7 (patch) | |
tree | 5f44ee9019645412b3d3fe0e1427cf29b8f3bedb /program/include/rcube_template.php | |
parent | e9b5a6c2d55f1fc31715ad7ff05aed631cc12699 (diff) |
Bring back some previously removed lines
Diffstat (limited to 'program/include/rcube_template.php')
-rwxr-xr-x | program/include/rcube_template.php | 4 |
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++); |