X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_folder.php;h=3ee491017ee85e37ce2f8a12c51bf9e3da96986f;hb=de19cd7342abc1fb96dce8403128152b7708ec58;hp=23b5b0187d3700080abae17c6f2440bb98e9fd4c;hpb=cbe5423b30fd1c50b7dd9546778cbebf48804953;p=squirrelmail.git diff --git a/src/options_folder.php b/src/options_folder.php index 23b5b018..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 = @@ -139,7 +139,7 @@ function load_optpage_data_folder() { $optvals[SMOPT_GRP_FOLDERLIST][] = array( 'name' => 'unseen_notify', - 'caption' => _("Enable Unseen Message Notification"), + 'caption' => _("Enable Unread Message Notification"), 'type' => SMOPT_TYPE_STRLIST, 'refresh' => SMOPT_REFRESH_FOLDERLIST, 'posvals' => array(SMPREF_UNSEEN_NONE => _("No Notification"), @@ -149,7 +149,7 @@ function load_optpage_data_folder() { $optvals[SMOPT_GRP_FOLDERLIST][] = array( 'name' => 'unseen_type', - 'caption' => _("Unseen Message Notification Type"), + 'caption' => _("Unread Message Notification Type"), 'type' => SMOPT_TYPE_STRLIST, 'refresh' => SMOPT_REFRESH_FOLDERLIST, 'posvals' => array(SMPREF_UNSEEN_ONLY => _("Only Unseen"), @@ -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,