'column' => _("Message Options"),
'label' => _("Message Flags"),
'desc' => _("Customize flag highlighting."),
- 'members' => array('msgflags_hidesys', 'flagmanagement')
+ 'members' => array('flagmanagement')
);
$prefGroups['fetchmail'] = array(
// NO DEFAULT (entry required)
// 't' - (string) [type] The flag type:
// 'atc' - Attachment information
- // 'imap' - IMAP flags (not user settable)
+ // 'imap' - IMAP system flags (not settable by user)
// 'imapp' - IMAP flags (personal flags - created by user
// through the prefs interface)
- // 'imapu' - IMAP flags (user settable)
+ // 'imapu' - IMAP system flags (settable by user)
// 'imp' - IMP defined flags
// NO DEFAULT (entry required)
'value' => json_encode(array(
'c' => 'flagUnseen',
'l' => _("Unseen"),
'n' => true,
- 't' => 'imap'
+ 't' => 'imapu'
),
'\\answered' => array(
'a' => 'r',
'b' => '#ccffcc',
'c' => 'flagAnswered',
'l' => _("Answered"),
+ // By default, this flag is not settable by the user - it is
+ // automatically set when a message is replied to.
't' => 'imap'
),
'\\draft' => array(
'a' => 'd',
'c' => 'flagDraft',
'l' => _("Draft"),
- 't' => 'imapu'
+ // By default, this flag is not settable by the user - it is
+ // automatically set/reset when a message is drafted/finished.
+ 't' => 'imap'
),
'\\flagged' => array(
'a' => '*',
'b' => '#999999',
'c' => 'flagDeleted',
'l' => _("Deleted"),
- 't' => 'imap'
+ 't' => 'imapu'
),
// Forwarded flag (RFC 4550 [2.8])
'shared' => false,
'type' => 'implicit');
-// Allow user to alter system flags?
-$_prefs['msgflags_hidesys'] = array(
- 'value' => false,
- 'locked' => false,
- 'shared' => false,
- 'type' => 'checkbox',
- 'desc' => _("Show only user flags in the drop down lists to mark messages?"));
-
// End IMAP Flag preferences
* 'fgcolor' - (boolean) If true, add foreground color information to be
* used for text overlay purposes.
* DEFAULT: false
- * 'imap' - (boolean) If true, only return IMAP flags.
+ * 'imap' - (boolean) If true, only return IMAP flags that can be set by
+ * the user.
* DEFAULT: false
* 'mailbox' - (string) A real (not virtual) IMAP mailbox. If set, will
* determine what flags are available in the mailbox.
$types = array();
if (!empty($options['imap'])) {
$types = array('imapp', 'imapu');
- if (!$GLOBALS['prefs']->getValue('msgflags_hidesys')) {
- $types[] = 'imap';
- }
}
/* Reduce the list of flags for the mailbox depending on the return