X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fwebmail.php;h=1156b7589b32f7d6b638831be885441e9b55b42c;hb=1ad27d869eee2c3cb75bf399ac4f2b7c7825a8c2;hp=1f1362da1bed1515a528215e0b4083d3bfb3034b;hpb=b82a6bba738f2f8e6bb04bb5e56ebe166dab6346;p=squirrelmail.git
diff --git a/src/webmail.php b/src/webmail.php
index 1f1362da..1156b758 100644
--- a/src/webmail.php
+++ b/src/webmail.php
@@ -1,66 +1,47 @@
\n" .
- "$org_title";
+if (!sqgetGlobalVar('mailbox', $mailbox)) {
+ $mailbox = 'INBOX';
+}
-$left_size = getPref($data_dir, $username, 'left_size');
-$location_of_bar = getPref($data_dir, $username, 'location_of_bar');
+sqgetGlobalVar('right_frame', $right_frame, SQ_GET);
-if (isset($languages[$squirrelmail_language]['DIR']) &&
- strtolower($languages[$squirrelmail_language]['DIR']) == 'rtl') {
- $temp_location_of_bar = 'right';
+if (sqgetGlobalVar('mailtodata', $mailtodata)) {
+ $mailtourl = 'mailtodata='.urlencode($mailtodata);
} else {
- $temp_location_of_bar = 'left';
-}
-
-if ($location_of_bar == '') {
- $location_of_bar = $temp_location_of_bar;
+ $mailtourl = '';
}
-$temp_location_of_bar = '';
+// 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;
@@ -70,13 +51,25 @@ if ($left_size == "") {
}
}
-if ($location_of_bar == 'right') {
- echo "