From: stekkel Date: Tue, 30 Jul 2002 12:33:32 +0000 (+0000) Subject: adapt layout to fit in read_body + fix for comp_in_new stuff X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=d6ba3a2d774086cdf85df64c891451a5824f71ec;ds=sidebyside adapt layout to fit in read_body + fix for comp_in_new stuff git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3185 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/listcommands/setup.php b/plugins/listcommands/setup.php index b33ababf..506bdc10 100644 --- a/plugins/listcommands/setup.php +++ b/plugins/listcommands/setup.php @@ -77,27 +77,26 @@ function plugin_listcommands_menu() { $url = 'compose.php?'; } else { $url = "../plugins/listcommands/mailout.php?action=$cmd&"; + } - - $url .= 'mailbox=' . urlencode($mailbox) - . '&send_to=' . $purl['path']; + $url .= '&send_to=' . $purl['path']; if (isset($purl['query'])) { $url .= '&' . $purl['query']; } if ($compose_new_win == '1') { - $output[] = "" . $fieldsdescr[$cmd] . ''; + $output[] = "" . $fieldsdescr[$cmd] . ''; } else { $output[] = '' . $fieldsdescr[$cmd] . ''; } if ($cmd == 'Post') { - $url .= '&reply_subj=' . urlencode($subject) - . '&reply_id=' . $passed_id - . '&ent_num=' . $ent_num - . '&mailprio=' . $priority_level; + $url .= '&passed_id='.$passed_id. + '&mailbox='.urlencode($mailbox). + (isset($passed_ent_id)?'&passed_ent_id='.$passed_ent_id:''); + $url .= '&action=reply'; if ($compose_new_win == '1') { - $output[] = "" . $fieldsdescr['Reply'] . ''; + $output[] = "" . $fieldsdescr['Reply'] . ''; } else { $output[] = '' . $fieldsdescr['Reply'] . ''; @@ -110,12 +109,14 @@ function plugin_listcommands_menu() { } if (count($output) > 0) { - echo html_tag( 'tr', - html_tag( 'td', str_replace(' ', ' ', _("Mailing List:")), 'right', $color[0]) . - html_tag( 'td', - '' . implode(' | ', $output) . '' , - 'left', $color[0], 'width="100%" colspan="2"') - ); + echo ''. "\n"; + echo ''; + echo html_tag( 'td', ''._("Mailing List").':  ', 'right', $color[0], 'valign="top" width="20%"') . "\n"; + echo html_tag( 'td', + '' . implode(' | ', $output) . '', 'left', $color[0], 'valign="top" width="80%"'); + echo "\n"; + echo '
'."\n"; } }