X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fprinter_friendly_bottom.php;h=b0f91071c0bd0d53abfa3baa74f1e46a1ca9849b;hb=93ea3e709f55c1ff9cb5238207500806d6508aa4;hp=da3764c5656ad2420d22d486f7b94d6c31422a2f;hpb=0b97a708e71c931153cd1ceee1495c9f4e1e209b;p=squirrelmail.git diff --git a/src/printer_friendly_bottom.php b/src/printer_friendly_bottom.php index da3764c5..b0f91071 100644 --- a/src/printer_friendly_bottom.php +++ b/src/printer_friendly_bottom.php @@ -31,8 +31,7 @@ $key = $_COOKIE['key']; $username = $_SESSION['username']; $onetimepad = $_SESSION['onetimepad']; -$passed_ent_id = $_GET['passed_ent_id']; -$passed_id = $_GET['passed_id']; +$passed_id = (int) $_GET['passed_id']; $mailbox = $_GET['mailbox']; /* end globals */ @@ -106,7 +105,7 @@ displayHtmlHeader( _("Printer Friendly"), '', FALSE ); echo "\n" . /* headers (we use table because translations are not all the same width) */ - html_tag( 'table', '', 'center', '', 'cellspacing="0" cellpadding="0" border="0"' ) . + html_tag( 'table', '', 'center', '', 'cellspacing="0" cellpadding="0" border="0" width="100%"' ) . html_tag( 'tr', html_tag( 'td', _("From").' ', 'left' ,'','valign="top"') . html_tag( 'td', htmlspecialchars($from), 'left' )