From a3d6c63eaf7d76a260625292970b88e2d618346d Mon Sep 17 00:00:00 2001 From: tassium Date: Sat, 4 Jan 2003 04:30:39 +0000 Subject: [PATCH 1/1] 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... git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4372 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/administrator/defines.php | 44 ++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/plugins/administrator/defines.php b/plugins/administrator/defines.php index 419abbf3..24660287 100644 --- a/plugins/administrator/defines.php +++ b/plugins/administrator/defines.php @@ -79,6 +79,10 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"), '$signout_page' => array( 'name' => _("Signout Page"), 'type' => SMOPT_TYPE_PATH, '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"), 'type' => SMOPT_TYPE_STRLIST, 'size' => 7, @@ -110,17 +114,18 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"), 'comment' => _("Use \"detect\" to auto-detect."), 'size' => 10, '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, - 'comment' => "Requires PHP 4.3.x! Experimental.", + 'comment' => _("Requires PHP 4.3.x! Experimental."), 'default' => false ), - '$imap_auth_mech' => array( 'name' => "IMAP Authentication Mech", + '$imap_auth_mech' => array( 'name' => _("IMAP Authentication Type"), 'type' => SMOPT_TYPE_STRLIST, 'posvals' => array('plain' => 'Plaintext', 'cram-md5' => 'CRAM-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"), 'type' => SMOPT_TYPE_STRING, 'size' => 40 ), @@ -129,18 +134,18 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"), 'size' => 40 ), '$smtpPort' => array( 'name' => _("SMTP Server Port"), '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, - 'comment' => "Requires PHP 4.3.x! Experimental.", + 'comment' => _("Requires PHP 4.3.x! Experimental."), 'default' => false ), - '$smtp_auth_mech' => array( 'name' => "SMTP Authentication Mech", + '$smtp_auth_mech' => array( 'name' => _("SMTP Authentication Type"), 'type' => SMOPT_TYPE_STRLIST, 'posvals' => array('none' => 'No SMTP auth', 'plain' => 'Plaintext', 'cram-md5' => 'CRAM-MD5', 'digest-md5' => 'DIGEST-MD5'), 'default' => 'none'), - '$pop_before_smtp' => array( 'name' => "POP3 before SMTP?", + '$pop_before_smtp' => array( 'name' => _("POP3 Before SMTP?"), 'type' => SMOPT_TYPE_BOOLEAN, 'default' => false ), '$invert_time' => array( 'name' => _("Invert Time"), @@ -195,6 +200,9 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"), 'type' => SMOPT_TYPE_BOOLEAN ), '$delete_folder' => array( 'name' => _("Auto delete folders"), 'type' => SMOPT_TYPE_BOOLEAN ), + '$noselect_fix_enable' => array( 'name' => _("Enable /NoSelect folder fix"), + 'type' => SMOPT_TYPE_BOOLEAN, + 'default' => false), /* --------------------------------------------------------*/ 'Group4' => array( 'name' => _("General Options"), 'type' => SMOPT_TYPE_TITLE ), @@ -238,19 +246,19 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"), 'type' => SMOPT_TYPE_BOOLEAN ), '$edit_name' => array( 'name' => _("Allow editing of full name"), '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, '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, 'default' => false ), - '$allow_charset_search' => array( 'name' => "Allow server charset search", + '$allow_charset_search' => array( 'name' => _("Allow server charset search"), 'type' => SMOPT_TYPE_BOOLEAN, 'default' => false ), - '$uid_support' => array( 'name' => "UID support", + '$uid_support' => array( 'name' => _("UID support"), 'type' => SMOPT_TYPE_BOOLEAN, 'default' => false ), - '$session_name' => array( 'name' => "PHP session name", + '$session_name' => array( 'name' => _("PHP session name"), 'type' => SMOPT_TYPE_HIDDEN ), /* --------------------------------------------------------*/ '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)"), 'type' => SMOPT_TYPE_PATH, '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' => '', - 'type' => SMOPT_TYPE_HIDDEN ) + 'type' => SMOPT_TYPE_HIDDEN ), + '$no_list_for_subscribe' => array( 'name' => '', + 'type' => SMOPT_TYPE_HIDDEN ), /* --------------------------------------------------------*/ ); -- 2.25.1