Allow easy selection of database backed prefs
[squirrelmail.git] / config / config_default.php
index 4d7bbd8168b204780d74f67a736b0cbcd42742a2..e4c761cb537b9d9d408aa1ebddddace9236c5970 100644 (file)
@@ -34,7 +34,7 @@ $org_title = 'SquirrelMail $version';
  *   Use the two-letter code.
  */
 global $squirrelmail_default_language;
-$squirrelmail_default_language = 'en';
+$squirrelmail_default_language = 'en_US';
 
 /* The dns name and port for your imap server. */
 global $imapServerAddress, $imapPort;
@@ -150,21 +150,6 @@ $sent_folder  = 'INBOX.Sent';
 $draft_folder = 'INBOX.Drafts';
 $auto_expunge = true;
 
-/**
- * Special Folders are folders that can't be manipulated like normal user
- * created folders can. A couple of examples would be 'INBOX.Trash', 
- * 'INBOX.Drafts'. We have them set to Netscape's default mailboxes, but
- * this obviously can be changed. To add one, just add a new number to the
- * array.
- */
-global $special_folders;
-$special_folders[0] = 'INBOX'; /* The first special folder should always */
-                               /* be the inbox (whatever it is named).   */
-$special_folders[1] = $trash_folder;
-$special_folders[2] = $sent_folder;
-$special_folders[3] = $draft_folder;
-$special_folders[4] = 'INBOX.Templates';
-
 /**
  * Should I create the Sent and Trash folders automatically for
  * a new user that doesn't already have them created?
@@ -327,8 +312,8 @@ $theme[15]['NAME'] = 'BluesNews';
 $theme[16]['PATH'] = '../themes/deepocean2_theme.php';
 $theme[16]['NAME'] = 'Deep Ocean 2';
 
-$theme[17]['PATH'] = '../themes/blue_gray_theme.php';
-$theme[17]['NAME'] = 'Blue Gray';
+$theme[17]['PATH'] = '../themes/blue_grey_theme.php';
+$theme[17]['NAME'] = 'Blue Grey';
 
 $theme[18]['PATH'] = '../themes/dompie_theme.php';
 $theme[18]['NAME'] = 'Dompie';
@@ -367,7 +352,10 @@ $theme[29]['PATH'] = '../themes/darkness.php';
 $theme[29]['NAME'] = 'Darkness (Changes)';
 
 $theme[30]['PATH'] = '../themes/random.php';
-$theme[30]['PATH'] = 'Random (Changes every login)';
+$theme[30]['NAME'] = 'Random (Changes every login)';
+
+$theme[31]['PATH'] = '../themes/midnight.php';
+$theme[31]['NAME'] = 'Midnight';
 
 /**
  * LDAP server(s)
@@ -388,11 +376,19 @@ global $ldap_server;
  * Database-driven private addressbooks
  *   DSN (Data Source Name) for a database where the private
  *   addressbooks are stored.  See doc/db-backend.txt for more info.
- *   If it is not defined, the addressbooks are stored in files
+ *   If it is not set, the addressbooks are stored in files
  *   in the data dir.
+ *   The DSN is in the format: mysql://user:pass@hostname/dbname
+ *   The table is the name of the table to use within the
+ *   specified database.
  */
-#global $addrbook_dsn;
-#$addrbook_dsn = 'mysql://user:pass@hostname/dbname';
+global $addrbook_dsn, $addrbook_table;
+$addrbook_dsn = '';
+$addrbook_table = 'address';
+
+global $prefs_dsn, $prefs_table;
+$prefs_dsn = '';
+$prefs_table = 'userprefs'
 
 /**
  * Users may search their addressbook via either a plain HTML or Javascript
@@ -428,6 +424,15 @@ $default_unseen_type   = 1;
 global $invert_time;
 $invert_time = false;
 
+/**
+ * By default SquirrelMail takes up the whole browser window,
+ * this allows you to embed it within sites using frames. Set
+ * this to the frame you want it to stay in.
+ */
+
+global $frame_top;
+$frame_top = '_top';
+
 global $plugins;
 /**
  * To install plugins, just add elements to this array that have