diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-06-08 21:13:20 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-06-08 21:13:20 +0000 |
| commit | 7ef06989436850c264a50d6905c1aea9551f717e (patch) | |
| tree | 0f96e6c98e201c59d806f8d8c95e34c648896c43 /roundcubemail/program/include | |
| parent | fc1a0f654ba040ddee620fbf60bf943799946c42 (diff) | |
Bring back some previously removed lines
git-svn-id: https://svn.roundcube.net/trunk@3729 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rwxr-xr-x | roundcubemail/program/include/rcube_template.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_template.php b/roundcubemail/program/include/rcube_template.php index fec12ae19..2c9e95100 100755 --- a/roundcubemail/program/include/rcube_template.php +++ b/roundcubemail/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++); |
