X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_folder.php;h=3ee491017ee85e37ce2f8a12c51bf9e3da96986f;hb=ad15d68754bb9d2c5b594da2445f0b9d88a4f0e1;hp=18dc8d4b43ad2ca6058090c683485147c1f3fac6;hpb=10ff0c3db7070161d7b8280b971f26688678d9a2;p=squirrelmail.git diff --git a/src/options_folder.php b/src/options_folder.php index 18dc8d4b..3ee49101 100644 --- a/src/options_folder.php +++ b/src/options_folder.php @@ -3,7 +3,7 @@ /** * options_folder.php * - * Copyright (c) 1999-2001 The SquirrelMail Development Team + * Copyright (c) 1999-2002 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * Displays all options relating to folders @@ -20,7 +20,7 @@ define('SMOPT_GRP_FOLDERLIST', 1); /* Define the optpage load function for the folder options page. */ function load_optpage_data_folder() { global $username, $key, $imapServerAddress, $imapPort; - global $folder_prefix, $default_folder_prefix; + global $folder_prefix, $default_folder_prefix, $show_prefix_option; /* Get some imap data we need later. */ $imapConnection = @@ -185,6 +185,23 @@ function load_optpage_data_folder() { SMPREF_TIME_24HR => _("24-hour clock")) ); + $optvals[SMOPT_GRP_FOLDERLIST][] = array( + 'name' => 'search_memory', + 'caption' => _("Memory Search"), + 'type' => SMOPT_TYPE_STRLIST, + 'refresh' => SMOPT_REFRESH_NONE, + 'posvals' => array( 0 => _("Disabled"), + 1 => '1', + 2 => '2', + 3 => '3', + 4 => '4', + 5 => '5', + 6 => '6', + 7 => '7', + 8 => '8', + 9 => '9') + ); + /* Assemble all this together and return it as our result. */ $result = array( 'grps' => $optgrps,