/**
* load_prefs.php
*
- * Copyright (c) 1999-2004 The SquirrelMail Project Team
+ * Copyright (c) 1999-2005 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Loads preferences from the $username.pref file used by almost
/** SquirrelMail required files. */
require_once(SM_PATH . 'include/validate.php');
-require_once(SM_PATH . 'functions/prefs.php');
require_once(SM_PATH . 'functions/plugin.php');
require_once(SM_PATH . 'functions/constants.php');
$left_refresh = getPref($data_dir, $username, 'left_refresh', SMPREF_NONE );
$left_refresh = strtolower($left_refresh);
-/** Load up the Signature file **/
+/* Load up the Signature file */
$signature_abs = $signature = getSig($data_dir, $username, 'g');
/* Message Highlighting Rules */
$show_xmailer_default =
getPref($data_dir, $username, 'show_xmailer_default', SMPREF_OFF );
$attachment_common_show_images = getPref($data_dir, $username, 'attachment_common_show_images', SMPREF_OFF );
-$pf_cleandisplay = getPref($data_dir, $username, 'pf_cleandisplay', SMPREF_OFF);
/* message disposition notification support setting */
$mdn_user_support = getPref($data_dir, $username, 'mdn_user_support', SMPREF_ON);
$include_self_reply_all =
getPref($data_dir, $username, 'include_self_reply_all', SMPREF_ON);
+/* Page selector options */
$page_selector = getPref($data_dir, $username, 'page_selector', SMPREF_ON);
+$compact_paginator = getPref($data_dir, $username, 'compact_paginator', SMPREF_OFF);
$page_selector_max = getPref($data_dir, $username, 'page_selector_max', 10);
/* SqClock now in the core */
$search_memory = getPref($data_dir, $username, 'search_memory', 0);
+$show_only_subscribed_folders =
+ getPref($data_dir, $username, 'show_only_subscribed_folders', SMPREF_ON);
+
$forward_cc = getPref($data_dir, $username, 'forward_cc', 0);
$mailbox_select_style = getPref($data_dir, $username, 'mailbox_select_style', 0);