require_once('../functions/i18n.php');
require_once('../functions/auth.php');
-ereg ("(^.*/)[^/]+/[^/]+$", $PHP_SELF, $regs);
+ereg( '(^.*/)[^/]+/[^/]+$', $PHP_SELF, $regs);
$base_uri = $regs[1];
session_start();
* Send him a cookie with his language preference, if there is
* such discrepancy.
*/
-$my_language = getPref($data_dir, $username, "language");
+$my_language = getPref($data_dir, $username, 'language');
if ($my_language != $squirrelmail_language) {
setcookie('squirrelmail_language', $my_language, time()+2592000, $base_uri);
}
echo $org_title;
echo '</TITLE>';
-$left_size = getPref($data_dir, $username, "left_size");
-$location_of_bar = getPref($data_dir, $username, "location_of_bar");
+$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';
}
$right_frame_url = "compose.php?send_to=$rcptaddress";
}
else {
- $right_frame_url = "right_main.php";
+ $right_frame_url = 'right_main.php';
}
if ($location_of_bar == 'right') {