Ver código fonte

did a few bugfixes in imap functions,
applied patches from list

Luke Ehresman 25 anos atrás
pai
commit
64293cc273
4 arquivos alterados com 8 adições e 1 exclusões
  1. 1 0
      ChangeLog
  2. 3 0
      config/config_default.php
  3. 1 1
      functions/url_parser.php
  4. 3 0
      src/help.php

+ 1 - 0
ChangeLog

@@ -1,5 +1,6 @@
 Version 0.5pre2 -- DEVELOPMENT
 ------------------------------
+- Using encryption for passwords
 - Added a patch from Bill Thousand to allow easier virtual domains
 - Security updates with attachments
 - Added more hooks for plugins, updated plugin.txt

+ 3 - 0
config/config_default.php

@@ -215,6 +215,9 @@
     $theme[11]["PATH"] = "../themes/high_contrast_theme.php";
     $theme[11]["NAME"] = "High Contrast";
 
+    $theme[11]["PATH"] = "../themes/black_bean_burrito_theme.php";
+    $theme[11]["NAME"] = "Black Bean Burrito";
+
 //  LDAP server(s)
 //
 //    Array of arrays with LDAP server parameters. See

+ 1 - 1
functions/url_parser.php

@@ -27,7 +27,7 @@
          $body = eregi_replace ("([a-z]|[0-9]|_|\.|-)+\@([a-z]|[0-9]|_|-)+(\.([a-z]|[0-9]|_|-)+)*", "<a href=\"../src/compose.php?send_to=\\0\">\\0</a>", $body);
       }
       */
-      $body = eregi_replace ("([a-z]|[0-9]|_|\.|-)+\@([a-z]|[0-9]|_|-)+(\.([a-z]|[0-9]|_|-)+)*", "<a href=\"../src/compose.php?send_to=\\0\">\\0</a>", $body);
+      $body = eregi_replace ("([a-z]|[0-9]|_|\.|-)+\@([a-z]|[0-9]|_|-)+\.(\.|[a-z]|[0-9]|_|-)+", "<a href=\"../src/compose.php?send_to=\\0\">\\0</a>", $body); 
       return $body;
    }
 

+ 3 - 0
src/help.php

@@ -114,6 +114,9 @@
          $context = "search"; 
    }
    
+   if (!$squirrelmail_language)
+      $squirrelmail_language = "en";
+
    if (file_exists("../help/$squirrelmail_language")) {
       $help_exists = true;
       $user_language = $squirrelmail_language;