X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fmessage_details%2Fmessage_details_bottom.php;h=83c33df981a6152cab5e4fa624eff0f91d160540;hb=145dc7aa9346d0fd8eeed8840f677e76364f63ee;hp=6520a0963997ebee1c203ec33afe5129138ca39f;hpb=8d6a115b0ef06dbcf9b149ba2509208f09b3a2ab;p=squirrelmail.git diff --git a/plugins/message_details/message_details_bottom.php b/plugins/message_details/message_details_bottom.php index 6520a096..83c33df9 100644 --- a/plugins/message_details/message_details_bottom.php +++ b/plugins/message_details/message_details_bottom.php @@ -21,18 +21,25 @@ require_once(SM_PATH . 'functions/prefs.php'); global $color, $uid_support; +sqgetGlobalVar('passed_id', $passed_id, SQ_GET); +sqgetGlobalVar('mailbox', $mailbox, SQ_GET); + +sqgetGlobalVar('username', $username, SQ_SESSION); +sqgetGlobalVar('key', $key, SQ_COOKIE); +sqgetGlobalVar('onetimepad', $onetimepad, SQ_SESSION); + function CalcEntity($entString, $direction) { $result = $entString; if ($direction == -1) { - $pos = strrpos($entString,'.'); - $result = substr($entString,0,$pos); + $pos = strrpos($entString,'.'); + $result = substr($entString,0,$pos); } switch ($direction) { case 0: $pos = strrpos($entString,'.'); if ($pos === false) { - $entString++; + $entString++; $result= $entString; } else { @@ -300,11 +307,11 @@ if (count($content) > 0) { echo ''; if (isset($content[$i]['name'])) { echo $content[$i]['name']; - } else echo ' '; + } else echo ' '; echo ''; if (isset($content[$i]['encoding'])) { echo $content[$i]['encoding']; - } else echo ' '; + } else echo ' '; echo ''."\n"; } echo '
'."\n";