X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fview_text.php;h=0aa24e99924e7da7d87f50c6ca6ed61f53627929;hb=787f3030091d4946466817cfcb6a50ab9925df4c;hp=53ad394550e31872140902d01a9356606d8d7277;hpb=fe369c7058d247ee83505595d6770d77cd7fa476;p=squirrelmail.git diff --git a/src/view_text.php b/src/view_text.php index 53ad3945..0aa24e99 100644 --- a/src/view_text.php +++ b/src/view_text.php @@ -3,7 +3,7 @@ /** * view_text.php -- Displays the main frameset * - * Copyright (c) 1999-2002 The SquirrelMail development team + * Copyright (c) 1999-2003 The SquirrelMail development team * Licensed under the GNU GPL. For full terms see the file COPYING. * * Who knows what this file does. However PUT IT HERE DID NOT PUT @@ -29,11 +29,18 @@ if (!isset($_GET['passed_ent_id'])) { $passed_ent_id = $_GET['passed_ent_id']; } $passed_id = $_GET['passed_id']; +if (isset($_GET['ent_id'])) { + $ent_id = $_GET['ent_id']; +} else { + $ent_id = ''; +} + $username = $_SESSION['username']; $key = $_COOKIE['key']; $delimiter = $_SESSION['delimiter']; $onetimepad = $_SESSION['onetimepad']; - +$QUERY_STRING = $_SERVER['QUERY_STRING']; +sqextractGlobalVar('messages'); $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0); $mbx_response = sqimap_mailbox_select($imapConnection, $mailbox);