X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fwebmail.php;h=c8af2939e7ca39334a479b6cdc98874fa787ebb1;hb=b28e73038621072dea0b1e73e39c3faa206011cd;hp=8e9c76c09f626b0d03eb61463ee8b515cf469158;hpb=544602600fd0bc1d74c14ceb5131bbb146989270;p=squirrelmail.git
diff --git a/src/webmail.php b/src/webmail.php
index 8e9c76c0..c8af2939 100644
--- a/src/webmail.php
+++ b/src/webmail.php
@@ -1,88 +1,42 @@
'.
- "
\n" .
- "$org_title";
-
-$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';
-} else {
- $temp_location_of_bar = 'left';
+if(!sqgetGlobalVar('mailto', $mailto)) {
+ $mailto = '';
}
-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;
@@ -92,13 +46,19 @@ if ($left_size == "") {
}
}
-if ($location_of_bar == 'right') {
- echo "