X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fwebmail.php;h=2493ff0b2467ec2a3a7004eb2dcca12d66d3c8cf;hb=1c5dd6f2c4703243a932974cf22e78abf34defe5;hp=a7bc9586fd594d35eb1b34e2912032d60cc74d4f;hpb=202bcbcc2b67c7c153db1b09b608b62beeba0496;p=squirrelmail.git
diff --git a/src/webmail.php b/src/webmail.php
index a7bc9586..2493ff0b 100644
--- a/src/webmail.php
+++ b/src/webmail.php
@@ -1,5 +1,4 @@
\n".
- "
\n" .
- "\n" .
- "$org_title\n".
- "";
-
-$left_size = getPref($data_dir, $username, 'left_size');
-$location_of_bar = getPref($data_dir, $username, 'location_of_bar');
-
-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';
+ $mailtourl = '';
}
-if ($location_of_bar == '') {
- $location_of_bar = $temp_location_of_bar;
-}
-$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;
@@ -76,13 +51,25 @@ if ($left_size == "") {
}
}
-if ($location_of_bar == 'right') {
- $output .= "