summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-12-12 17:23:19 +0000
committerthomascube <thomas@roundcube.net>2011-12-12 17:23:19 +0000
commitc7dcb30025c184c1e02a2e859b2f10f874c479f6 (patch)
tree20f35fd1dcb4f9d0372d6a8d4df044fd5f437294 /program/steps
parent312ad9d51e9fdc05897cf983683903e791dce6c5 (diff)
More from Larry...
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/func.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 2bc0091cb..5f36da9a9 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1391,7 +1391,7 @@ function rcmail_draftinfo_decode($str)
}
-function rcmail_message_part_controls()
+function rcmail_message_part_controls($attrib)
{
global $MESSAGE;
@@ -1404,13 +1404,13 @@ function rcmail_message_part_controls()
if (!empty($part->filename)) {
$table->add('title', Q(rcube_label('filename')));
- $table->add(null, Q($part->filename));
- $table->add(null, '[' . html::a('?'.str_replace('_frame=', '_download=', $_SERVER['QUERY_STRING']), Q(rcube_label('download'))) . ']');
+ $table->add('header', Q($part->filename));
+ $table->add('download-link', html::a(array('href' => './?'.str_replace('_frame=', '_download=', $_SERVER['QUERY_STRING'])), Q(rcube_label('download'))));
}
if (!empty($part->size)) {
$table->add('title', Q(rcube_label('filesize')));
- $table->add(null, Q(show_bytes($part->size)));
+ $table->add('header', Q(show_bytes($part->size)));
}
return $table->show($attrib);