s/"/'/
authorantipode <antipode@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 11 Dec 2001 05:41:32 +0000 (05:41 +0000)
committerantipode <antipode@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 11 Dec 2001 05:41:32 +0000 (05:41 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1848 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/webmail.php

index ebb9de228cb01d74a7e5da8dcb66a5205e596e18..bb4f3d1e1cc698b98875eca48aaf876562ef1b69 100644 (file)
@@ -21,7 +21,7 @@ require_once('../functions/plugin.php');
 require_once('../functions/i18n.php');
 require_once('../functions/auth.php');
 
-ereg ("(^.*/)[^/]+/[^/]+$", $PHP_SELF, $regs);
+ereg( '(^.*/)[^/]+/[^/]+$', $PHP_SELF, $regs);
 $base_uri = $regs[1];
 
 session_start();
@@ -35,7 +35,7 @@ checkForPrefs($data_dir, $username);
  * 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);
 }
@@ -47,8 +47,8 @@ echo '<TITLE>';
 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';
 }
@@ -99,7 +99,7 @@ elseif ($right_frame == 'compose.php') {
     $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') {