X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fwebmail.php;h=0c6ef8e1b257e8b41cb2275927cb14e2777470b7;hb=c720eadda2bcf0e3710754ca4e642d641a9a1395;hp=c30b0b355b0ffb5d34747a3a81ce01ce4a8dfb51;hpb=2848c63043510b5335e45c6186a4afd13807194e;p=squirrelmail.git
diff --git a/src/webmail.php b/src/webmail.php
index c30b0b35..0c6ef8e1 100644
--- a/src/webmail.php
+++ b/src/webmail.php
@@ -1,60 +1,169 @@
-
- /**
- ** webmail.php
- **
- ** This simply creates the frames.
- **
- **/
-
- if(!isset($username)) {
- echo _("You need a valid user and password to access this page!");
- exit;
- }
-
- setcookie("username", $username, 0, "/");
- setcookie("key", $key, 0, "/");
- setcookie("logged_in", 1, 0, "/");
- // Refresh the language cookie.
- if (isset($squirrelmail_language))
- setcookie("squirrelmail_language", $squirrelmail_language,
- time()+2592000);
-?>
-
-
- include ("../config/config.php");
- include ("../functions/prefs.php");
-
- include ("../src/load_prefs.php");
-
- echo "";
- echo "$org_title";
- echo "";
- echo "