Removed urlencode call. $rcptaddress is already encoded.
[squirrelmail.git] / config / config_default.php
index e4c761cb537b9d9d408aa1ebddddace9236c5970..1d341d2e4d0eb87ffc37b3abe1419cbecc77d7c9 100644 (file)
@@ -139,9 +139,13 @@ $show_prefix_option = false;
  *      marked 'Deleted'.
  *   $sent_folder
  *      This is the path to where Sent messages will be stored.
+ *   $delete_folder
+ *      If this is true, when a folder is deleted then it will
+ *      not get moved into the Trash folder.
  */
 global $default_move_to_trash, $default_move_to_sent, $default_save_as_draft;
 global $trash_folder, $sent_folder, $draft_folder, $auto_expunge;
+global $delete_folder;
 $default_move_to_trash = true;
 $default_move_to_sent  = true;
 $default_save_as_draft = true;
@@ -149,6 +153,7 @@ $trash_folder = 'INBOX.Trash';
 $sent_folder  = 'INBOX.Sent';
 $draft_folder = 'INBOX.Drafts';
 $auto_expunge = true;
+$delete_folder = false;
 
 /**
  * Should I create the Sent and Trash folders automatically for
@@ -388,7 +393,7 @@ $addrbook_table = 'address';
 
 global $prefs_dsn, $prefs_table;
 $prefs_dsn = '';
-$prefs_table = 'userprefs'
+$prefs_table = 'userprefs';
 
 /**
  * Users may search their addressbook via either a plain HTML or Javascript
@@ -443,6 +448,18 @@ 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;
+
 /**
  * Make sure there are no characters after the PHP closing
  * tag below (including newline characters and whitespace).