浏览代码

Added support for:

Server Options: POP before SMTP

General Options: Server sort, server thread sort, server charset search, UID support, PHP session name (hidden - edit that, and you broke the plugin)
tassium 22 年之前
父节点
当前提交
bdb2e58f4b
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. 17 0
      plugins/administrator/defines.php

+ 17 - 0
plugins/administrator/defines.php

@@ -140,6 +140,9 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
 																'cram-md5' => 'CRAM-MD5',
 																'cram-md5' => 'CRAM-MD5',
 																'digest-md5' => 'DIGEST-MD5'),
 																'digest-md5' => 'DIGEST-MD5'),
 											 'default' => 'none'),
 											 'default' => 'none'),
+				 '$pop_before_smtp' => array( 'name' => "POP3 before SMTP?",
+				 							  'type' => SMOPT_TYPE_BOOLEAN,
+											  'default' => false ),
                  '$invert_time' => array( 'name' => _("Invert Time"),
                  '$invert_time' => array( 'name' => _("Invert Time"),
                                           'type' => SMOPT_TYPE_BOOLEAN ),
                                           'type' => SMOPT_TYPE_BOOLEAN ),
                  '$default_use_mdn' => array( 'name' => _("Use Confirmation Flags"),
                  '$default_use_mdn' => array( 'name' => _("Use Confirmation Flags"),
@@ -235,6 +238,20 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
                                             'type' => SMOPT_TYPE_BOOLEAN ),
                                             'type' => SMOPT_TYPE_BOOLEAN ),
                  '$edit_name' => array( 'name' => _("Allow editing of full name"),
                  '$edit_name' => array( 'name' => _("Allow editing of full name"),
                                         'type' => SMOPT_TYPE_BOOLEAN ),
                                         'type' => SMOPT_TYPE_BOOLEAN ),
+				 '$allow_server_sort' => array( 'name' => "Use server-side sorting",
+				 							    'type' => SMOPT_TYPE_BOOLEAN,
+												'default' => false ),
+				 '$allow_thread_sort' => array( 'name' => "Use server-side thread sorting",
+				 								'type' => SMOPT_TYPE_BOOLEAN,
+												'default' => false ),
+				 '$allow_charset_search' => array( 'name' => "Allow server charset search",
+				 								   'type' => SMOPT_TYPE_BOOLEAN,
+												   'default' => false ),
+				 '$uid_support' => array( 'name' => "UID support",
+				 						  'type' => SMOPT_TYPE_BOOLEAN,
+										  'default' => false ),
+				 '$session_name' => array( 'name' => "PHP session name",
+				 						   'type' => SMOPT_TYPE_HIDDEN ),
                  /* --------------------------------------------------------*/
                  /* --------------------------------------------------------*/
                  'Group5' => array( 'name' => _("Message of the Day"),
                  'Group5' => array( 'name' => _("Message of the Day"),
                                     'type' => SMOPT_TYPE_TITLE ),
                                     'type' => SMOPT_TYPE_TITLE ),