From cb105aa9f12396d1644e87d91c35e8f5c3eefbbd Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 5 Nov 2010 11:01:15 +0000 Subject: - Fix displaying long header names in message headers table - Fix translation labels names for Mail-Followup-to and Mail-Reply-To --- program/steps/mail/compose.inc | 8 ++++---- program/steps/mail/func.inc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'program/steps/mail') 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 -- cgit v1.2.3