Copypaste error. This could be avoided by doing $theme[] in stead of $theme[n]
[squirrelmail.git] / config / config_default.php
index c965d4c0cd88fa3549436ef3e0b3f03cec4a4a2c..dab7f24cf276da85e8825be5545cd897976432dc 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * BEFORE EDITING THIS FILE!
  *
 
 /* Do not change this value. */
 global $config_version;
-$config_version = '1.2.0';
+$config_version = '1.4.0';
 
 /* Organization's logo picture (blank if none) */
 global $org_logo;
 $org_logo = '../images/sm_logo.png';
 
+/*  The width of the logo (0 for default) */
+$org_logo_width = 308;
+
+/*  The height of the logo (0 for default) */
+$org_logo_height = 111;
+
+
 /* Organization's name */
 global $org_name;
 $org_name = 'SquirrelMail';
@@ -25,7 +33,7 @@ $org_name = 'SquirrelMail';
  *   This is the web page title that appears at the top of the browser window.
  */
 global $org_title;
-$org_title = 'SquirrelMail $version';
+$org_title = "SquirrelMail $version";
     
 /**
  * Default language
@@ -260,12 +268,11 @@ $force_username_lowercase = false;
  * To add a new theme to the options that users can choose from, just
  * add a new number to the array at the bottom, and follow the pattern.
  */
+
+$theme_default = 0;
+
 global $theme;
 
-/**
- * The first one HAS to be here, and is your system's default
- * theme. It can be any theme you want.
- */
 $theme[0]['PATH'] = '../themes/default_theme.php';
 $theme[0]['NAME'] = 'Default';
 
@@ -362,6 +369,15 @@ $theme[30]['NAME'] = 'Random (Changes every login)';
 $theme[31]['PATH'] = '../themes/midnight.php';
 $theme[31]['NAME'] = 'Midnight';
 
+$theme[32]['PATH'] = '../themes/alien_glow.php';
+$theme[32]['NAME'] = 'Alien Glow';
+
+$theme[33]['PATH'] = '../themes/dark_green.php';
+$theme[33]['NAME'] = 'Dark Green';
+
+$theme[34]['PATH'] = '../themes/penguin.php';
+$theme[34]['NAME'] = 'Penguin';
+
 /**
  * LDAP server(s)
  *   Array of arrays with LDAP server parameters. See
@@ -448,6 +464,75 @@ global $plugins;
  *    $plugins[1] = 'attachment_common';
  */
 
+/**
+ * If you don't want to allow users to change their email address
+ * then you can set $edit_identity to false, if you want them to
+ * not be able to change their full name too then set $edit_name
+ * to false as well. $edit_name has no effect unless $edit_identity
+ * is false;
+ */
+
+global $edit_identity, $edit_name;
+$edit_identity = true;
+$edit_name = true;
+
+
+/**
+ * If you want to enable server side thread sorting options
+ * Your IMAP server must support the THREAD extension for 
+ * this to work.
+ */
+
+global $allow_thread_sort;
+$allow_thread_sort = false;
+
+/** 
+ * to use server-side sorting instead of SM client side.
+ * Your IMAP server must support the SORT extension for this
+ * to work.
+ */
+
+global $allow_server_sort;
+$allow_server_sort = false;
+
+/**
+ * This enables the no select fix for Cyrus when subfolders
+ * exist but parent folders do not
+ */
+
+global $noselect_fix_enable;
+$noselect_fix_enable = false;
+
+/**
+ * this disables listing all of the folders on the IMAP Server to
+ * generate the folder subscribe listbox (this can take a long time
+ * when you have a lot of folders).  Instead, a textbox will be
+ * displayed allowing users to enter a specific folder name to subscribe to */
+global $no_list_for_subscribe;
+$no_list_for_subscribe = false;
+
+/**
+ * Advanced authentication options
+ * CRAM-MD5, DIGEST-MD5, Plain, and TLS
+ * Set reasonable defaults - you'd never know this was there unless you ask for it
+ */
+global $use_imap_tls;
+global $use_smtp_tls;
+$use_imap_tls = false;
+$use_smtp_tls = false;
+
+/* auth_mech can be either 'plain', 'cram-md5', or 'digest-md5'
+   SMTP can also be 'none'
+*/
+global $smtp_auth_mech;
+global $imap_auth_mech;
+$smtp_auth_mech = 'none';
+$imap_auth_mech = 'plain';
+
+/* PHP session name.  Leave this alone unless you know what you are doing. */
+global $session_name;
+$session_name = 'SQMSESSID';
+
 /**
  * Make sure there are no characters after the PHP closing
  * tag below (including newline characters and whitespace).