فهرست منبع

Finished up defines for all current config options. Should be up to date with 1.3.x/1.4.0. This plugin is shaping up nicely...

tassium 22 سال پیش
والد
کامیت
908f57897d
1فایلهای تغییر یافته به همراه29 افزوده شده و 15 حذف شده
  1. 29 15
      plugins/administrator/defines.php

+ 29 - 15
plugins/administrator/defines.php

@@ -79,6 +79,10 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
                  '$signout_page' => array( 'name' => _("Signout Page"),
                  '$signout_page' => array( 'name' => _("Signout Page"),
                                            'type' => SMOPT_TYPE_PATH,
                                            'type' => SMOPT_TYPE_PATH,
                                            'size' => 40 ),
                                            'size' => 40 ),
+				 '$provider_uri' => array( 'name' => _("Provider Link URI"),
+				 						   'type' => SMOPT_TYPE_STRING ),
+				 '$provider_name' => array( 'name' => _("Provider Name"),
+				 						    'type' => SMOPT_TYPE_STRING ),
                  '$squirrelmail_default_language' => array( 'name' => _("Default Language"),
                  '$squirrelmail_default_language' => array( 'name' => _("Default Language"),
                                                             'type' => SMOPT_TYPE_STRLIST,
                                                             'type' => SMOPT_TYPE_STRLIST,
                                                             'size' => 7,
                                                             'size' => 7,
@@ -110,17 +114,18 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
                                                  'comment' => _("Use \"detect\" to auto-detect."),
                                                  'comment' => _("Use \"detect\" to auto-detect."),
                                                  'size' => 10,
                                                  'size' => 10,
                                                  'default' => 'detect' ),
                                                  'default' => 'detect' ),
-				 '$use_imap_tls' => array( 'name' => "Use TLS for IMAP connections",
+				 '$use_imap_tls' => array( 'name' => _("Use TLS for IMAP Connections"),
 				 						   'type' => SMOPT_TYPE_BOOLEAN,
 				 						   'type' => SMOPT_TYPE_BOOLEAN,
-										   'comment' => "Requires PHP 4.3.x! Experimental.",
+										   'comment' => _("Requires PHP 4.3.x! Experimental."),
 										   'default' => false ),
 										   'default' => false ),
-				 '$imap_auth_mech' => array( 'name' => "IMAP Authentication Mech",
+				 '$imap_auth_mech' => array( 'name' => _("IMAP Authentication Type"),
 				 							 'type' => SMOPT_TYPE_STRLIST,
 				 							 'type' => SMOPT_TYPE_STRLIST,
 											 'posvals' => array('plain' => 'Plaintext',
 											 'posvals' => array('plain' => 'Plaintext',
 											 				    'cram-md5' => 'CRAM-MD5',
 											 				    'cram-md5' => 'CRAM-MD5',
 																'digest-md5' => 'DIGEST-MD5') ),
 																'digest-md5' => 'DIGEST-MD5') ),
-                 '$useSendmail' => array( 'name' => _("Use Sendmail"),
-                                          'type' => SMOPT_TYPE_BOOLEAN ),
+                 '$useSendmail' => array( 'name' => _("Use Sendmail Binary"),
+                                          'type' => SMOPT_TYPE_BOOLEAN,
+										  'comment' => "Say 'no' for SMTP" ),
                  '$sendmail_path' => array( 'name' => _("Sendmail Path"),
                  '$sendmail_path' => array( 'name' => _("Sendmail Path"),
                                             'type' => SMOPT_TYPE_STRING,
                                             'type' => SMOPT_TYPE_STRING,
                                             'size' => 40 ),
                                             'size' => 40 ),
@@ -129,18 +134,18 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
                                                 'size' => 40 ),
                                                 'size' => 40 ),
                  '$smtpPort' => array( 'name' => _("SMTP Server Port"),
                  '$smtpPort' => array( 'name' => _("SMTP Server Port"),
                                        'type' => SMOPT_TYPE_INTEGER ),
                                        'type' => SMOPT_TYPE_INTEGER ),
-				 '$use_smtp_tls' => array( 'name' => "Use TLS for SMTP connections",
+				 '$use_smtp_tls' => array( 'name' => _("Use TLS for SMTP Connections"),
 				 						   'type' => SMOPT_TYPE_BOOLEAN,
 				 						   'type' => SMOPT_TYPE_BOOLEAN,
-										   'comment' => "Requires PHP 4.3.x! Experimental.",
+										   'comment' => _("Requires PHP 4.3.x! Experimental."),
 										   'default' => false ),
 										   'default' => false ),
-				 '$smtp_auth_mech' => array( 'name' => "SMTP Authentication Mech",
+				 '$smtp_auth_mech' => array( 'name' => _("SMTP Authentication Type"),
 				 							 'type' => SMOPT_TYPE_STRLIST,
 				 							 'type' => SMOPT_TYPE_STRLIST,
 											 'posvals' => array('none' => 'No SMTP auth',
 											 'posvals' => array('none' => 'No SMTP auth',
 											                    'plain' => 'Plaintext',
 											                    'plain' => 'Plaintext',
 																'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?",
+				 '$pop_before_smtp' => array( 'name' => _("POP3 Before SMTP?"),
 				 							  'type' => SMOPT_TYPE_BOOLEAN,
 				 							  'type' => SMOPT_TYPE_BOOLEAN,
 											  'default' => false ),
 											  'default' => false ),
                  '$invert_time' => array( 'name' => _("Invert Time"),
                  '$invert_time' => array( 'name' => _("Invert Time"),
@@ -195,6 +200,9 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
                                                   'type' => SMOPT_TYPE_BOOLEAN ),
                                                   'type' => SMOPT_TYPE_BOOLEAN ),
                  '$delete_folder' => array( 'name' => _("Auto delete folders"),
                  '$delete_folder' => array( 'name' => _("Auto delete folders"),
                                             'type' => SMOPT_TYPE_BOOLEAN ),
                                             'type' => SMOPT_TYPE_BOOLEAN ),
+				 '$noselect_fix_enable' => array( 'name' => _("Enable /NoSelect folder fix"),
+				 								  'type' => SMOPT_TYPE_BOOLEAN,
+												  'default' => false),
                  /* --------------------------------------------------------*/
                  /* --------------------------------------------------------*/
                  'Group4' => array( 'name' => _("General Options"),
                  'Group4' => array( 'name' => _("General Options"),
                                     'type' => SMOPT_TYPE_TITLE ),
                                     'type' => SMOPT_TYPE_TITLE ),
@@ -238,19 +246,19 @@ $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",
+				 '$allow_server_sort' => array( 'name' => _("Use server-side sorting"),
 				 							    'type' => SMOPT_TYPE_BOOLEAN,
 				 							    'type' => SMOPT_TYPE_BOOLEAN,
 												'default' => false ),
 												'default' => false ),
-				 '$allow_thread_sort' => array( 'name' => "Use server-side thread sorting",
+				 '$allow_thread_sort' => array( 'name' => _("Use server-side thread sorting"),
 				 								'type' => SMOPT_TYPE_BOOLEAN,
 				 								'type' => SMOPT_TYPE_BOOLEAN,
 												'default' => false ),
 												'default' => false ),
-				 '$allow_charset_search' => array( 'name' => "Allow server charset search",
+				 '$allow_charset_search' => array( 'name' => _("Allow server charset search"),
 				 								   'type' => SMOPT_TYPE_BOOLEAN,
 				 								   'type' => SMOPT_TYPE_BOOLEAN,
 												   'default' => false ),
 												   'default' => false ),
-				 '$uid_support' => array( 'name' => "UID support",
+				 '$uid_support' => array( 'name' => _("UID support"),
 				 						  'type' => SMOPT_TYPE_BOOLEAN,
 				 						  'type' => SMOPT_TYPE_BOOLEAN,
 										  'default' => false ),
 										  'default' => false ),
-				 '$session_name' => array( 'name' => "PHP session name",
+				 '$session_name' => array( 'name' => _("PHP session name"),
 				 						   'type' => SMOPT_TYPE_HIDDEN ),
 				 						   'type' => SMOPT_TYPE_HIDDEN ),
                  /* --------------------------------------------------------*/
                  /* --------------------------------------------------------*/
                  'Group5' => array( 'name' => _("Message of the Day"),
                  'Group5' => array( 'name' => _("Message of the Day"),
@@ -293,9 +301,15 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
                  '$theme_css' => array( 'name' => _("Style Sheet URL (css)"),
                  '$theme_css' => array( 'name' => _("Style Sheet URL (css)"),
                                         'type' => SMOPT_TYPE_PATH,
                                         'type' => SMOPT_TYPE_PATH,
                                         'size' => 40 ),
                                         'size' => 40 ),
+				 '$theme_default' => array( 'name' => _("Default theme"),
+				 							'type' => SMOPT_TYPE_INTEGER,
+											'default' => 0,
+											'comment' => _("Use index number of theme") ),
                  /* --------------------------------------------------------*/
                  /* --------------------------------------------------------*/
                  '$config_use_color' => array(  'name' => '',
                  '$config_use_color' => array(  'name' => '',
-                                                'type' => SMOPT_TYPE_HIDDEN )
+                                                'type' => SMOPT_TYPE_HIDDEN ),
+				 '$no_list_for_subscribe' => array( 'name' => '',
+				 									'type' => SMOPT_TYPE_HIDDEN ),
                  /* --------------------------------------------------------*/
                  /* --------------------------------------------------------*/
 
 
                );
                );