summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-11-05 11:01:15 +0000
committeralecpl <alec@alec.pl>2010-11-05 11:01:15 +0000
commitcb105aa9f12396d1644e87d91c35e8f5c3eefbbd (patch)
treef9c24ce420af5e4a2c11ba36835f9a9378f77874 /program/steps
parent93681d1e5e473359337b7a41046eb97e5644a218 (diff)
- Fix displaying long header names in message headers table
- Fix translation labels names for Mail-Followup-to and Mail-Reply-To
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/compose.inc8
-rw-r--r--program/steps/mail/func.inc2
2 files changed, 5 insertions, 5 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 421ff32c6..2c29fc708 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -266,19 +266,19 @@ function rcmail_compose_headers($attrib)
$header = 'reply-to';
case 'mailreplyto':
- case 'mailreply-to':
+ case 'mail-reply-to':
if (!$fname) {
$fname = '_mailreplyto';
$param = 'mailreplyto';
- $header = 'mailreply-to';
+ $header = 'mail-reply-to';
}
case 'mailfollowupto':
- case 'mailfollowup-to':
+ case 'mail-followup-to':
if (!$fname) {
$fname = '_mailfollowupto';
$param = 'mailfollowupto';
- $header = 'mailfollowup-to';
+ $header = 'mail-followup-to';
}
$allow_attrib = array('id', 'class', 'style', 'size', 'tabindex');
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index a4f945fea..39551c1c0 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -972,7 +972,7 @@ function rcmail_message_headers($attrib, $headers=NULL)
foreach ($plugin['output'] as $hkey => $row) {
$table->add(array('class' => 'header-title'), Q($row['title']));
- $table->add(array('class' => $hkey, 'width' => "90%"), Q($row['value'], ($hkey == 'subject' ? 'strict' : 'show')));
+ $table->add(array('class' => 'header '.$hkey), Q($row['value'], ($hkey == 'subject' ? 'strict' : 'show')));
}
// all headers division