From: tokul Date: Thu, 9 Feb 2006 19:07:14 +0000 (+0000) Subject: style changes in server sorting option descriptions X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=801da708a8ed5de2e956a6a12620a8ddf045a1b7 style changes in server sorting option descriptions git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10679 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/config/conf.pl b/config/conf.pl index c5a1b1d5..0ea3ec13 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -342,8 +342,6 @@ $provider_uri = '' if ( !$provider_uri ); $provider_name = '' if ( !$provider_name ); $edit_identity = 'true' if ( !$edit_identity ); $edit_name = 'true' if ( !$edit_name ); -$disable_thread_sort = 'false' if ( !$disable_thread_sort ); -$disable_server_sort = 'false' if ( !$disable_server_sort ); $no_list_for_subscribe = 'false' if ( !$no_list_for_subscribe ); $allow_charset_search = 'true' if ( !$allow_charset_search ); $allow_advanced_search = 0 if ( !$allow_advanced_search) ; @@ -410,6 +408,9 @@ $use_imap_tls = 0 if ( $use_imap_tls eq 'false'); $use_imap_tls = 1 if ( $use_imap_tls eq 'true'); $use_smtp_tls = 0 if ( $use_smtp_tls eq 'false'); $use_smtp_tls = 1 if ( $use_smtp_tls eq 'true'); +# sorting options changed names and reversed values in 1.5.1 +$disable_thread_sort = 'false' if ( !$disable_thread_sort ); +$disable_server_sort = 'false' if ( !$disable_server_sort ); if ( $ARGV[0] eq '--install-plugin' ) { print "Activating plugin " . $ARGV[1] . "\n"; @@ -2278,17 +2279,19 @@ sub command311b { } sub command312 { - print "This option makes it possible to disable the use of thread sorting if your server\n"; - print "supports thread sort. Your IMAP server must support the THREAD command for this\n"; - print "to have any effect.\n"; + print "This option allows to disable server side thread sorting if your server \n"; + print "declares THREAD support, but you don't want to provide threading options \n"; + print "to end users or THREAD extension is broken or extension does not work with \n"; + print "options used by SquirrelMail. Option is not used, if THREAD extension is \n"; + print "not declared in IMAP CAPABILITY.\n"; print "\n"; - if ( lc($allow_thread_sort) eq 'true' ) { + if ( lc($disable_thread_sort) eq 'true' ) { $default_value = "y"; } else { $default_value = "n"; } - print "Disallow server side thread sorting? (y/n) [$WHT$default_value$NRM]: $WHT"; + print "Disable server side thread sorting? (y/n) [$WHT$default_value$NRM]: $WHT"; $disable_thread_sort = ; if ( ( $disable_thread_sort =~ /^y\n/i ) || ( ( $disable_thread_sort =~ /^\n/ ) && ( $default_value eq "y" ) ) ) { $disable_thread_sort = 'true'; @@ -2299,9 +2302,13 @@ sub command312 { } sub command313 { - print "This option makes it possible to disable server-side sorting if your server\n"; - print "supports server side sorting. Your IMAP server must support the SORT command\n"; - print "for this to have any effect\n"; + print "This option allows to disable server side sorting if your server declares \n"; + print "SORT support, but SORT extension is broken or does not work with options \n"; + print "used by SquirrelMail. Option is not used, if SORT extension is not declared \n"; + print "in IMAP CAPABILITY.\n"; + print "\n"; + print "It is strongly recommended to keep server side sorting enabled, if your "; + print "IMAP server supports it."; print "\n"; if ( lc($disable_server_sort) eq 'true' ) { @@ -2309,7 +2316,7 @@ sub command313 { } else { $default_value = "n"; } - print "Disallow server-side sorting? (y/n) [$WHT$default_value$NRM]: $WHT"; + print "Disable server-side sorting? (y/n) [$WHT$default_value$NRM]: $WHT"; $disable_server_sort = ; if ( ( $disable_server_sort =~ /^y\n/i ) || ( ( $disable_server_sort =~ /^\n/ ) && ( $default_value eq "y" ) ) ) { $disable_server_sort = 'true';