X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwebmail.php;h=cdd66223fd5247f0a91258a673b4bea1ecfdb6b4;hb=fdf58ef92a0b69f93bd08e22be831aa8172bfe62;hp=3f9c11199a59b2ae9166f5b170ebfecfa8f2a146;hpb=15e6162eacc97158393bc75aed3afeb7b19c24a6;p=squirrelmail.git
diff --git a/src/webmail.php b/src/webmail.php
index 3f9c1119..cdd66223 100644
--- a/src/webmail.php
+++ b/src/webmail.php
@@ -1,56 +1,44 @@
\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('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 +46,21 @@ if ($left_size == "") {
else {
$left_size = 200;
}
-}
-
-if ($location_of_bar == 'right') {
- echo "