X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fwebmail.php;h=7817850bad243dc01d2b776fd63acda427e0b3cf;hb=refs%2Fheads%2Fmaster;hp=3f9c11199a59b2ae9166f5b170ebfecfa8f2a146;hpb=15e6162eacc97158393bc75aed3afeb7b19c24a6;p=squirrelmail.git
diff --git a/src/webmail.php b/src/webmail.php
index 3f9c1119..2ba8f5a9 100644
--- a/src/webmail.php
+++ b/src/webmail.php
@@ -1,56 +1,47 @@
\n";
-echo '';
-echo $org_title;
-echo '';
-
-$left_size = getPref($data_dir, $username, 'left_size');
-$location_of_bar = getPref($data_dir, $username, 'location_of_bar');
-if ($location_of_bar == '') {
- $location_of_bar = 'left';
+if (!sqgetGlobalVar('mailbox', $mailbox)) {
+ $mailbox = 'INBOX';
+}
+
+sqgetGlobalVar('right_frame', $right_frame, SQ_GET);
+
+if (sqgetGlobalVar('mailtodata', $mailtodata)) {
+ $mailtourl = 'mailtodata='.urlencode($mailtodata);
+} else {
+ $mailtourl = '';
}
+
+// Determine the size of the left frame
+$left_size = getPref($data_dir, $username, 'left_size');
if ($left_size == "") {
if (isset($default_left_size)) {
$left_size = $default_left_size;
@@ -58,15 +49,27 @@ if ($left_size == "") {
else {
$left_size = 200;
}
-}
-
-if ($location_of_bar == 'right') {
- echo "