/**
* 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
/* 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 =
$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"),
$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"),
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,