Adds language options in config.
[squirrelmail.git] / plugins / administrator / defines.php
index 1b9a8674e01a910698fa21b5cf1c6beac0650881..f4ac3dd9388696d06ec303370b88d0e877fd258f 100644 (file)
@@ -83,10 +83,6 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
                                                                                   'type' => SMOPT_TYPE_STRING ),
                                 '$provider_name' => array( 'name' => _("Provider Name"),
                                                                                    'type' => SMOPT_TYPE_STRING ),
-                 '$squirrelmail_default_language' => array( 'name' => _("Default Language"),
-                                                            'type' => SMOPT_TYPE_STRLIST,
-                                                            'size' => 7,
-                                                            'posvals' => $language_values ),
                  '$frame_top' => array( 'name' => _("Top Frame"),
                                         'type' => SMOPT_TYPE_STRING,
                                         'size' => 40,
@@ -207,18 +203,6 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
                  /* --------------------------------------------------------*/
                  'Group4' => array( 'name' => _("General Options"),
                                     'type' => SMOPT_TYPE_TITLE ),
-                 '$default_charset' => array( 'name' => _("Default Charset"),
-                                              'type' => SMOPT_TYPE_STRLIST,
-                                              'posvals' => array( 'iso-8859-1' => 'iso-8859-1',
-                                                                  'iso-8859-2' => 'iso-8859-2',
-                                                                  'iso-8859-7' => 'iso-8859-7',
-                                                                  'iso-8859-15' => 'iso-8859-15',
-                                                                  'iso-8859-15' => 'iso-8859-15',
-                                                                  'ns_4551_1' => 'ns_4551_1',
-                                                                  'koi8-r' => 'koi8-r',
-                                                                  'euc-KR' => 'euc-KR',
-                                                                  'windows-1251' => 'windows-1251',
-                                                                  'ISO-2022-JP' => 'ISO-2022-JP' ) ),
                  '$data_dir' => array( 'name' => _("Data Directory"),
                                        'type' => SMOPT_TYPE_PATH,
                                        'size' => 40 ),
@@ -302,15 +286,51 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
                  '$theme_css' => array( 'name' => _("Style Sheet URL (css)"),
                                         'type' => SMOPT_TYPE_PATH,
                                         'size' => 40 ),
-                                '$theme_default' => array( 'name' => _("Default theme"),
-                                                                                       'type' => SMOPT_TYPE_INTEGER,
-                                                                                       'default' => 0,
-                                                                                       'comment' => _("Use index number of theme") ),
+                '$theme_default' => array( 'name' => _("Default theme"),
+                                           'type' => SMOPT_TYPE_INTEGER,
+                                           'default' => 0,
+                                           'comment' => _("Use index number of theme") ),
+                 'Group9' => array( 'name' => _("Language settings"),
+                                    'type' => SMOPT_TYPE_TITLE ),
+               '$squirrelmail_default_language' => array( 'name' => _("Default Language"),
+                                                            'type' => SMOPT_TYPE_STRLIST,
+                                                            'size' => 7,
+                                                            'posvals' => $language_values ),
+
+                '$default_charset' => array( 'name' => _("Default Charset"),
+                                              'type' => SMOPT_TYPE_STRLIST,
+                                              'posvals' => array( 'iso-8859-1' => 'iso-8859-1',
+                                                                  'iso-8859-2' => 'iso-8859-2',
+                                                                  'iso-8859-7' => 'iso-8859-7',
+                                                                  'iso-8859-15' => 'iso-8859-15',
+                                                                  'iso-8859-15' => 'iso-8859-15',
+                                                                  'ns_4551_1' => 'ns_4551_1',
+                                                                  'koi8-r' => 'koi8-r',
+                                                                  'euc-KR' => 'euc-KR',
+                                                                  'windows-1251' => 'windows-1251',
+                                                                  'ISO-2022-JP' => 'ISO-2022-JP' ) ),
+               '$show_alternative_names'  => array( 'name' => _("Show alternative language names"),
+                                                    'type' => SMOPT_TYPE_BOOLEAN ),
+               '$available_languages' => array( 'name' => _("Available languages"),
+                                           'type' => SMOPT_TYPE_STRING,
+                                           'size' => 40 ),
+               '$agresive_decoding'  => array( 'name' => _("Use agresive decoding"),
+                                                    'type' => SMOPT_TYPE_BOOLEAN ),
+                 'Group10' => array( 'name' => _("Tweaks"),
+                                    'type' => SMOPT_TYPE_TITLE ),
+                '$advanced_tree'  => array( 'name' => _("Use advanced tree folder listing"),
+                                                    'type' => SMOPT_TYPE_BOOLEAN ),
+                '$oldway'  => array( 'name' => _("Use old folder listing functions"),
+                                                    'type' => SMOPT_TYPE_BOOLEAN ),
+                '$use_php_recode'  => array( 'name' => _("Use php recode functions"),
+                                                    'type' => SMOPT_TYPE_BOOLEAN ),
+                '$use_php_iconv'  => array( 'name' => _("Use php iconv functions"),
+                                                    'type' => SMOPT_TYPE_BOOLEAN ),
                  /* --------------------------------------------------------*/
                  '$config_use_color' => array(  'name' => '',
                                                 'type' => SMOPT_TYPE_HIDDEN ),
                                 '$no_list_for_subscribe' => array( 'name' => '',
-                                                                                                       'type' => SMOPT_TYPE_HIDDEN ),
+                               'type' => SMOPT_TYPE_HIDDEN ),
                  /* --------------------------------------------------------*/
 
                );