initial commit of file from CVS for e-smith-imp on Wed 12 Jul 08:57:19 BST 2023
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
my $ImpMenu = $imp{MenuArray} || "enabled"; return "" unless ($ImpMenu eq "enabled");
|
||||
$apps{imp} = 1;
|
||||
$OUT = '';
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
// 120AppRegistryImp
|
||||
$this->applications['imp'] = array(
|
||||
'fileroot' => dirname(__FILE__) . '/../imp',
|
||||
'webroot' => $this->applications['horde']['webroot'] . '/imp',
|
||||
'name' => _("Mail"),
|
||||
'status' => 'active',
|
||||
'provides' => array('mail', 'contacts/favouriteRecipients')
|
||||
);
|
||||
|
@@ -0,0 +1,8 @@
|
||||
// 170AppRegistryImp
|
||||
$this->applications['imp-folders'] = array(
|
||||
'status' => 'block',
|
||||
'app' => 'imp',
|
||||
'blockname' => 'tree_folders',
|
||||
'menu_parent' => 'imp',
|
||||
);
|
||||
|
@@ -0,0 +1,3 @@
|
||||
// 00header
|
||||
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
|
||||
// $Horde: imp/config/conf.xml,v 1.53.2.43 2009/07/02 06:18:15 slusarz Exp $
|
@@ -0,0 +1,4 @@
|
||||
// 100SpellUtils
|
||||
$conf['spell']['params']['path'] = '/usr/bin/ispell';
|
||||
$conf['spell']['driver'] = 'aspell';
|
||||
|
@@ -0,0 +1,7 @@
|
||||
// 105ExternalUtils
|
||||
$conf['utils']['gnupg'] = '/usr/bin/gpg';
|
||||
$conf['utils']['gnupg_keyserver'] = array('pgp.mit.edu');
|
||||
$conf['utils']['gnupg_timeout'] = 10;
|
||||
$conf['utils']['openssl_cafile'] = '/etc/httpd/conf/ssl.crt/ca-bundle.crt';
|
||||
$conf['utils']['openssl_binary'] = '/usr/bin/openssl';
|
||||
|
@@ -0,0 +1,3 @@
|
||||
// 120MenuSettings
|
||||
include '/home/httpd/html/horde/conf.menu.apps.php';
|
||||
|
@@ -0,0 +1,10 @@
|
||||
// 140UserCapabilities
|
||||
$conf['user']['select_sentmail_folder'] = false;
|
||||
$conf['user']['allow_resume_all_in_drafts'] = true;
|
||||
$conf['user']['allow_folders'] = true;
|
||||
$conf['user']['allow_resume_all'] = false;
|
||||
$conf['user']['allow_view_source'] = true;
|
||||
$conf['user']['alternate_login'] = false;
|
||||
$conf['user']['redirect_on_logout'] = false;
|
||||
$conf['user']['select_view'] = true;
|
||||
|
@@ -0,0 +1,14 @@
|
||||
// 160MailServerSettings
|
||||
$conf['server']['change_server'] = false;
|
||||
$conf['server']['change_port'] = false;
|
||||
$conf['server']['change_protocol'] = false;
|
||||
$conf['server']['change_smtphost'] = false;
|
||||
$conf['server']['change_smtpport'] = false;
|
||||
$conf['server']['server_list'] = 'none';
|
||||
$conf['server']['fixed_folders'] = array();
|
||||
$conf['server']['sort_limit'] = 0;
|
||||
$conf['server']['cache_folders'] = true;
|
||||
$conf['server']['token_lifetime'] = 1800;
|
||||
$conf['server']['cachejs'] = 'none';
|
||||
$conf['server']['cachecss'] = 'none';
|
||||
|
@@ -0,0 +1,3 @@
|
||||
// 180MailboxSettings
|
||||
$conf['mailbox']['show_preview'] = true;
|
||||
|
@@ -0,0 +1,4 @@
|
||||
// 190Fetchmail
|
||||
$conf['fetchmail']['show_account_colors'] = false;
|
||||
$conf['fetchmail']['size_limit'] = 4000000;
|
||||
|
@@ -0,0 +1,6 @@
|
||||
// 200MessageSettings
|
||||
$conf['msgcache']['use_msgcache'] = false;
|
||||
$conf['mlistcache']['use_mlistcache'] = false;
|
||||
$conf['msgsettings']['filtering']['words'] = './config/filter.txt';
|
||||
$conf['msgsettings']['filtering']['replacement'] = '****';
|
||||
|
@@ -0,0 +1,4 @@
|
||||
// 220SpamReporting
|
||||
$conf['spam']['reporting'] = false;
|
||||
$conf['notspam']['reporting'] = false;
|
||||
|
@@ -0,0 +1,3 @@
|
||||
// 225Printedby
|
||||
$conf['print']['add_printedby'] = false;
|
||||
|
@@ -0,0 +1,4 @@
|
||||
// 230HeaderTrailer
|
||||
$conf['msg']['prepend_header'] = true;
|
||||
$conf['msg']['append_trailer'] = true;
|
||||
|
@@ -0,0 +1,11 @@
|
||||
// 240ComposeSettings
|
||||
$conf['compose']['allow_receipts'] = true;
|
||||
$conf['compose']['special_characters'] = true;
|
||||
$conf['compose']['use_vfs'] = false;
|
||||
$conf['compose']['link_all_attachments'] = false;
|
||||
$conf['compose']['link_attachments_notify'] = true;
|
||||
$conf['compose']['link_attachments'] = true;
|
||||
$conf['compose']['attach_size_limit'] = 0;
|
||||
$conf['compose']['attach_count_limit'] = 0;
|
||||
$conf['compose']['reply_limit'] = 0;
|
||||
|
@@ -0,0 +1,12 @@
|
||||
// 260CustomHooks
|
||||
$conf['hooks']['vinfo'] = false;
|
||||
$conf['hooks']['postlogin'] = false;
|
||||
$conf['hooks']['postsent'] = false;
|
||||
$conf['hooks']['signature'] = false;
|
||||
$conf['hooks']['trailer'] = false;
|
||||
$conf['hooks']['fetchmail_filter'] = false;
|
||||
$conf['hooks']['mbox_redirect'] = false;
|
||||
$conf['hooks']['mbox_icon'] = false;
|
||||
$conf['hooks']['spam_bounce'] = false;
|
||||
$conf['hooks']['msglist_format'] = true;
|
||||
|
@@ -0,0 +1,6 @@
|
||||
// 280Other
|
||||
$conf['maillog']['use_maillog'] = true;
|
||||
$conf['sentmail']['driver'] = 'none';
|
||||
$conf['tasklist']['use_tasklist'] = true;
|
||||
$conf['notepad']['use_notepad'] = true;
|
||||
|
@@ -0,0 +1,2 @@
|
||||
// 999footer
|
||||
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
|
@@ -0,0 +1,21 @@
|
||||
# This file will allow you to set headers to append to mail messages.
|
||||
#
|
||||
# It will also substitute PHP variables into the headers, allowing you
|
||||
# to send some extra information from the client if you desire.
|
||||
#
|
||||
# The format of the lines should be:
|
||||
# <Header>: <Value | Variable>
|
||||
#
|
||||
# Where the parts of the lines are:
|
||||
#
|
||||
# o Header = The letters "X-" and then the header name
|
||||
# o Value = a text value for the header
|
||||
# o Variable = a PHP variable, surrounded by percent ('%') signs
|
||||
#
|
||||
# An example of this is:
|
||||
#
|
||||
# X-WebMail-Company: Hotmail Killers, Inc.
|
||||
#
|
||||
# Or one that uses a variable, and is useful for tracking abuse:
|
||||
X-Originating-IP: %REMOTE_ADDR%
|
||||
X-Sent-Via: SME Server
|
@@ -0,0 +1,14 @@
|
||||
//00header
|
||||
/**
|
||||
* IMP Hooks configuration file.
|
||||
*
|
||||
* THE HOOKS PROVIDED IN THIS FILE ARE EXAMPLES ONLY. DO NOT ENABLE THEM
|
||||
* BLINDLY IF YOU DO NOT KNOW WHAT YOU ARE DOING. YOU HAVE TO CUSTOMIZE THEM
|
||||
* TO MATCH YOUR SPECIFIC NEEDS AND SYSTEM ENVIRONMENT.
|
||||
*
|
||||
* For more information please see the horde/config/hooks.php.dist file.
|
||||
*
|
||||
* $Horde: imp/config/hooks.php.dist,v 1.3.2.13 2009-11-18 13:14:32 jan Exp $
|
||||
*/
|
||||
|
||||
|
@@ -0,0 +1,49 @@
|
||||
//100imp_hook_msglist_format
|
||||
// This is an example hook function for displaying additional message
|
||||
// information in the message listing screen for a mailbox. This example hook
|
||||
// will add a icon if the message contains attachments and will change the
|
||||
// display of the message entry based on the X-Priority header.
|
||||
|
||||
if (!function_exists('_imp_hook_msglist_format')) \{
|
||||
function _imp_hook_msglist_format($mailbox, $uid)
|
||||
\{
|
||||
// Required return (array):
|
||||
// 'class' - An array of CSS classnames that will be added to
|
||||
// the row.
|
||||
// 'flagbits' - An integer value which will be OR'd with the
|
||||
// current flags set for the row. The IMAP flag
|
||||
// constants used in IMP can be found at the top
|
||||
// of lib/IMP.php.
|
||||
// 'status' - HTML code to add to the status column for the row.
|
||||
$ret = array('class' => array(), 'flagbits' => 0, 'status' => '');
|
||||
|
||||
require_once IMP_BASE . '/lib/IMAP/MessageCache.php';
|
||||
$cache = &IMP_MessageCache::singleton();
|
||||
$cache_entry = $cache->retrieve($mailbox, array($uid), 8 | 32);
|
||||
$ob = reset($cache_entry);
|
||||
|
||||
// Add attachment information
|
||||
require_once IMP_BASE . '/lib/UI/Mailbox.php';
|
||||
$imp_ui = new IMP_UI_Mailbox();
|
||||
if (($attachment = $imp_ui->getAttachmentType($ob->structure))) \{
|
||||
$ret['status'] = Horde::img($attachment . '.png', $imp_ui->getAttachmentAlt($attachment), array('title' => $imp_ui->getAttachmentAlt($attachment)));
|
||||
\}
|
||||
|
||||
// Add xpriority information
|
||||
switch ($ob->header->getXpriority()) \{
|
||||
case 'high':
|
||||
$ret['flagbits'] = IMP_FLAGGED;
|
||||
$ret['status'] .= Horde::img('mail_priority_high.png', _("High Priority"), array('title' => _("High Priority")));
|
||||
$ret['class'][] = 'important';
|
||||
break;
|
||||
|
||||
case 'low':
|
||||
$ret['status'] .= Horde::img('mail_priority_low.png', _("Low Priority"), array('title' => _("Low Priority")));
|
||||
$ret['class'][] = 'unimportant';
|
||||
break;
|
||||
\}
|
||||
|
||||
return $ret;
|
||||
\}
|
||||
\}
|
||||
|
@@ -0,0 +1,311 @@
|
||||
/**
|
||||
* $Horde: imp/config/mime_drivers.php.dist,v 1.35.10.7 2009-06-20 21:37:43 jan Exp $
|
||||
*
|
||||
* Decide which output drivers you want to activate for the IMP application.
|
||||
* Settings in this file override settings in horde/config/mime_drivers.php.
|
||||
*
|
||||
* Additional settings for IMP:
|
||||
* + If you want to limit the display of message data inline for large
|
||||
* messages of a certain type, add a 'limit_inline_size' parameter to the
|
||||
* desired mime type to the maximum size of the displayed message in bytes
|
||||
* (see example under text/plain below). If set, the user will only be able
|
||||
* to download the part. Don't set the parameter, or set to 0, to disable
|
||||
* this check.
|
||||
*
|
||||
* The available drivers are:
|
||||
* --------------------------
|
||||
* alternative multipart/alternative parts
|
||||
* appledouble multipart/appledouble parts
|
||||
* enriched Enriched text messages
|
||||
* html HTML messages
|
||||
* images Attached images inline
|
||||
* itip iCalendar Transport-Independent Interoperability Protocol
|
||||
* multipart All other multipart/* messages
|
||||
* notification Notification messages
|
||||
* partial message/partial parts
|
||||
* pdf Portable Document Format (PDF) files
|
||||
* pgp PGP signed/encrypted messages
|
||||
* pkcs7 S/MIME signed/encrypted messages
|
||||
* plain URL syntax highlighting for text/plain parts
|
||||
* related multipart/related parts
|
||||
* rfc822 Digested messages
|
||||
* status Mail delivery status messages
|
||||
* tnef MS-TNEF attachments
|
||||
* zip ZIP attachments
|
||||
*/
|
||||
$mime_drivers_map['imp']['registered'] = array(
|
||||
'alternative', 'appledouble', 'enriched', 'html', 'images', 'itip',
|
||||
'multipart', 'notification', 'partial', 'pdf', 'pgp', 'pkcs7', 'plain',
|
||||
'related', 'rfc822', 'smil', 'status', 'tnef', 'zip'
|
||||
);
|
||||
|
||||
/**
|
||||
* If you want to specifically override any MIME type to be handled by
|
||||
* a specific driver, then enter it here. Normally, this is safe to
|
||||
* leave, but it's useful when multiple drivers handle the same MIME
|
||||
* type, and you want to specify exactly which one should handle it.
|
||||
*/
|
||||
$mime_drivers_map['imp']['overrides'] = array();
|
||||
|
||||
/**
|
||||
* Driver specific settings. See horde/config/mime_drivers.php for
|
||||
* the format.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Text driver settings
|
||||
*/
|
||||
$mime_drivers['imp']['plain'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array('text/plain', 'text/rfc822-headers', 'application/pgp'),
|
||||
/* If you want to scan ALL incoming messages for UUencoded data, set the
|
||||
* following to true. This is very performance intensive and can take a
|
||||
* long time for large messages. It is not recommended and is disabled by
|
||||
* default. */
|
||||
'uuencode' => false,
|
||||
/* If you want to limit the display of message data inline for large
|
||||
* messages, set the maximum size of the displayed message here (in
|
||||
* bytes). If exceeded, the user will only be able to download the part.
|
||||
* Set to 0 to disable this check. */
|
||||
{
|
||||
return " 'limit_inline_size' => " . ($horde{Limitinlinesize} || 1048576)
|
||||
}
|
||||
);
|
||||
|
||||
/**
|
||||
* HTML driver settings
|
||||
*/
|
||||
$mime_drivers['imp']['html'] = array(
|
||||
'inline' => { $horde{inlineHTML} || 'true' },
|
||||
'handles' => array(
|
||||
'text/html'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'html.png'
|
||||
),
|
||||
/* If you don't want to display the link to open the HTML content in a
|
||||
* separate window, set the following to false. */
|
||||
'external' => true,
|
||||
/* Run 'tidy' on all HTML output? This requires at least version 2.0 of the
|
||||
* PECL 'tidy' extension to be installed on your system. */
|
||||
'tidy' => false,
|
||||
/* Check for phishing exploits? */
|
||||
'phishing_check' => true
|
||||
);
|
||||
|
||||
/**
|
||||
* Default smil driver settings
|
||||
*/
|
||||
$mime_drivers['imp']['smil'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'application/smil'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Image driver settings
|
||||
*/
|
||||
$mime_drivers['imp']['images'] = array(
|
||||
'inline' => { $horde{inlineImages} || 'true' },
|
||||
'handles' => array(
|
||||
'image/*'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'image.png'
|
||||
),
|
||||
/* Display thumbnails for all images, not just large images? */
|
||||
'allthumbs' => true
|
||||
);
|
||||
|
||||
/**
|
||||
* Enriched text driver settings
|
||||
*/
|
||||
$mime_drivers['imp']['enriched'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'text/enriched'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'text.png'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* PDF settings
|
||||
*/
|
||||
$mime_drivers['imp']['pdf'] = array(
|
||||
'inline' => false,
|
||||
'handles' => array(
|
||||
'application/pdf', 'image/pdf'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'pdf.png'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* PGP settings
|
||||
*/
|
||||
$mime_drivers['imp']['pgp'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'application/pgp-encrypted', 'application/pgp-keys',
|
||||
'application/pgp-signature'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'encryption.png'
|
||||
),
|
||||
/* Turn background green or red depending on whether a signature could
|
||||
* be verified? */
|
||||
'highlight' => true
|
||||
);
|
||||
|
||||
/**
|
||||
* PKCS7 settings (S/MIME)
|
||||
*/
|
||||
$mime_drivers['imp']['pkcs7'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'application/x-pkcs7-signature', 'application/x-pkcs7-mime',
|
||||
'application/pkcs7-signature', 'application/pkcs7-mime'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'encryption.png'
|
||||
),
|
||||
/* Turn background green or red depending on whether a signature could
|
||||
* be verified? */
|
||||
'highlight' => true
|
||||
);
|
||||
|
||||
/**
|
||||
* Digest message (message/rfc822) settings
|
||||
*/
|
||||
$mime_drivers['imp']['rfc822'] = array(
|
||||
'inline' => false,
|
||||
'handles' => array(
|
||||
'message/rfc822'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'mail.png'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Zip File Attachments settings
|
||||
*/
|
||||
$mime_drivers['imp']['zip'] = array(
|
||||
'inline' => false,
|
||||
'handles' => array(
|
||||
'application/zip', 'application/x-compressed',
|
||||
'application/x-zip-compressed'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'compressed.png'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Delivery Status messages settings
|
||||
*/
|
||||
$mime_drivers['imp']['status'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'message/delivery-status'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Disposition Notification message settings
|
||||
*/
|
||||
$mime_drivers['imp']['notification'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'message/disposition-notification'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* multipart/appledouble settings
|
||||
*/
|
||||
$mime_drivers['imp']['appledouble'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'multipart/appledouble'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* iCalendar Transport-Independent Interoperability Protocol
|
||||
*/
|
||||
$mime_drivers['imp']['itip'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'text/calendar', 'text/x-vcalendar'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'itip.png'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* multipart/alternative settings
|
||||
* YOU SHOULD NOT NORMALLY ALTER THIS SETTING.
|
||||
*/
|
||||
$mime_drivers['imp']['alternative'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'multipart/alternative'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* multipart/related settings
|
||||
* YOU SHOULD NOT NORMALLY ALTER THIS SETTING.
|
||||
*/
|
||||
$mime_drivers['imp']['related'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'multipart/related'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'html.png'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* message/partial settings
|
||||
* YOU SHOULD NOT NORMALLY ALTER THIS SETTING.
|
||||
*/
|
||||
$mime_drivers['imp']['partial'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'message/partial'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* All other multipart/* messages
|
||||
* YOU SHOULD NOT NORMALLY ALTER THIS SETTING.
|
||||
*/
|
||||
$mime_drivers['imp']['multipart'] = array(
|
||||
'inline' => true,
|
||||
'handles' => array(
|
||||
'multipart/*'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* MS-TNEF Attachment (application/ms-tnef) settings
|
||||
* YOU SHOULD NOT NORMALLY ALTER THIS SETTING.
|
||||
*/
|
||||
$mime_drivers['imp']['tnef'] = array(
|
||||
'inline' => false,
|
||||
'handles' => array(
|
||||
'application/ms-tnef'
|
||||
),
|
||||
'icons' => array(
|
||||
'default' => 'binary.png'
|
||||
)
|
||||
);
|
||||
|
@@ -0,0 +1,12 @@
|
||||
//000preamble
|
||||
/**
|
||||
* $Horde: imp/config/prefs.php.dist,v 1.216.4.38 2010/03/19 17:16:34 slusarz Exp $
|
||||
*
|
||||
* See horde/config/prefs.php for documentation on the structure of this file.
|
||||
*/
|
||||
|
||||
// Make sure that constants are defined.
|
||||
require_once dirname(__FILE__) . '/../lib/IMP.php';
|
||||
$is_pop3 = isset($_SESSION['imp']) &&
|
||||
$_SESSION['imp']['base_protocol'] == 'pop3';
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//005identities
|
||||
$prefGroups['identities'] = array(
|
||||
'column' => _("General Options"),
|
||||
'label' => _("Personal Information"),
|
||||
'desc' => _("Change the name, address, and signature that people see when they read and reply to your email."),
|
||||
'members' => array('replyto_addr', 'alias_addr', 'tieto_addr', 'bcc_addr',
|
||||
'signature', 'sig_dashes', 'sig_first',
|
||||
'save_sent_mail', 'sent_mail_folder', 'sentmailselect')
|
||||
);
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//010server
|
||||
if (!$is_pop3) \{
|
||||
$prefGroups['server'] = array(
|
||||
'column' => _("General Options"),
|
||||
'label' => _("Server and Folder Information"),
|
||||
'desc' => _("Change mail server and folder settings."),
|
||||
'members' => array('use_vinbox', 'subscribe', 'folderselect',
|
||||
'trashselect', 'spamselect')
|
||||
);
|
||||
\}
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//015acl
|
||||
if (!empty($_SESSION['imp']['acl'])) \{
|
||||
$prefGroups['acl'] = array(
|
||||
'column' => _("General Options"),
|
||||
'label' => _("Share Folders"),
|
||||
'desc' => _("Share your mail folders with other users."),
|
||||
'url' => 'acl.php'
|
||||
);
|
||||
\}
|
||||
|
@@ -0,0 +1,21 @@
|
||||
//020logintasks
|
||||
$prefGroups['logintasks'] = array(
|
||||
'column' => _("General Options"),
|
||||
'label' => _("Login Tasks"),
|
||||
'desc' => sprintf(_("Customize tasks to run upon logon to %s."), $GLOBALS['registry']->get('name')),
|
||||
'members' => array()
|
||||
);
|
||||
if (!$is_pop3) \{
|
||||
$prefGroups['logintasks']['members'] = array_merge(
|
||||
$prefGroups['logintasks']['members'],
|
||||
array('initialpageselect', 'rename_sentmail_monthly',
|
||||
'delete_sentmail_monthly', 'delete_sentmail_monthly_keep',
|
||||
'purge_sentmail', 'purge_sentmail_interval',
|
||||
'purge_sentmail_keep', 'purge_trash', 'purge_trash_interval',
|
||||
'purge_trash_keep', 'purge_spam', 'purge_spam_interval',
|
||||
'purge_spam_keep'));
|
||||
\}
|
||||
$prefGroups['logintasks']['members'] = array_merge(
|
||||
$prefGroups['logintasks']['members'],
|
||||
array('delete_attachments_monthly', 'delete_attachments_monthly_keep'));
|
||||
|
@@ -0,0 +1,13 @@
|
||||
//025compose
|
||||
$prefGroups['compose'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("Message Composition"),
|
||||
'desc' => _("Customize how you send mail."),
|
||||
'members' => array('stationery_link', 'mailto_handler', 'compose_cc',
|
||||
'compose_bcc', 'compose_spellcheck', 'compose_confirm',
|
||||
'set_priority', 'compose_popup', 'compose_html',
|
||||
'jseditor', 'fckeditor_buttons', 'xinha_hide_buttons',
|
||||
'mail_domain', 'compose_cursor', 'sending_charset',
|
||||
'encryptselect', 'save_attachments')
|
||||
);
|
||||
|
@@ -0,0 +1,5 @@
|
||||
//030allow_receipts
|
||||
if (!empty($GLOBALS['conf']['compose']['allow_receipts'])) \{
|
||||
$prefGroups['compose']['members'] = array_merge($prefGroups['compose']['members'], array('disposition_request_read'));
|
||||
\}
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//032reply_forward
|
||||
$prefGroups['reply_forward'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("Message Replies/Forwards"),
|
||||
'desc' => _("Customize how you reply to or forward mail."),
|
||||
'members' => array('reply_quote', 'reply_format', 'forward_default',
|
||||
'forward_bodytext', 'reply_headers', 'attrib_text')
|
||||
);
|
||||
|
@@ -0,0 +1,8 @@
|
||||
//033drafts
|
||||
$prefGroups['drafts'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("Message Drafts"),
|
||||
'desc' => _("Customize how to deal with message drafts."),
|
||||
'members' => array('folderselect', 'close_draft', 'unseen_drafts')
|
||||
);
|
||||
|
@@ -0,0 +1,13 @@
|
||||
//035viewing
|
||||
$prefGroups['viewing'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("Message Viewing"),
|
||||
'desc' => _("Configure how messages are displayed."),
|
||||
'members' => array('filtering', 'strip_attachments',
|
||||
'html_image_replacement', 'html_image_addrbook',
|
||||
'highlight_text', 'highlight_simple_markup',
|
||||
'show_quoteblocks', 'dim_signature', 'emoticons',
|
||||
'attachment_display', 'mail_hdr', 'default_msg_charset',
|
||||
'alternative_display')
|
||||
);
|
||||
|
@@ -0,0 +1,5 @@
|
||||
//040use_maillog
|
||||
if (!empty($GLOBALS['conf']['maillog']['use_maillog'])) \{
|
||||
$prefGroups['viewing']['members'] = array_merge($prefGroups['viewing']['members'], array('disposition_send_mdn'));
|
||||
\}
|
||||
|
@@ -0,0 +1,14 @@
|
||||
//045delmove
|
||||
$prefGroups['delmove'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("Deleting and Moving Messages"),
|
||||
'desc' => _("Set preferences for what happens when you move and delete messages."),
|
||||
'members' => array('mailbox_return', 'delete_spam_after_report',
|
||||
'empty_spam_menu')
|
||||
);
|
||||
if (!$is_pop3) \{
|
||||
$prefGroups['delmove']['members'] = array_merge(
|
||||
$prefGroups['delmove']['members'],
|
||||
array('use_trash', 'trashselect', 'use_vtrash', 'empty_trash_menu'));
|
||||
\}
|
||||
|
@@ -0,0 +1,8 @@
|
||||
//050newmail
|
||||
$prefGroups['newmail'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("New Mail"),
|
||||
'desc' => _("Control when new mail will be checked for, and whether or not to notify you when it arrives."),
|
||||
'members' => array('refresh_time', 'nav_poll_all', 'nav_popup', 'soundselect')
|
||||
);
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//055show_preview
|
||||
if (!empty($GLOBALS['conf']['mailbox']['show_preview'])) \{
|
||||
$prefGroups['mailpreview'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("Mail Previews"),
|
||||
'desc' => _("Configure mail preview options."),
|
||||
'members' => array('preview_enabled', 'preview_maxlen', 'preview_strip_nl', 'preview_show_unread', 'preview_show_tooltip')
|
||||
);
|
||||
\}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//060fetchmail
|
||||
if (!$is_pop3) \{
|
||||
$prefGroups['fetchmail'] = array(
|
||||
'column' => _("Message Options"),
|
||||
'label' => _("Fetch Mail"),
|
||||
'desc' => _("Customize accounts for fetching mail from other accounts."),
|
||||
'members' => array('fetchmail_link', 'fetchmail_popup',
|
||||
'fetchmail_menu')
|
||||
);
|
||||
\}
|
||||
|
@@ -0,0 +1,14 @@
|
||||
//065display
|
||||
$prefGroups['display'] = array(
|
||||
'column' => _("Other Options"),
|
||||
'label' => _("Mailbox and Folder Display Options"),
|
||||
'desc' => _("Change display options such as how many messages you see on each page and how messages are sorted."),
|
||||
'members' => array('mailbox_start', 'sortby', 'sortdir', 'max_msgs',
|
||||
'from_link', 'time_format')
|
||||
);
|
||||
if (!$is_pop3) \{
|
||||
$prefGroups['display']['members'] = array_merge(
|
||||
$prefGroups['display']['members'],
|
||||
array('nav_expanded', 'tree_view', 'nav_expanded_sidebar'));
|
||||
\}
|
||||
|
@@ -0,0 +1,8 @@
|
||||
//070filters
|
||||
$prefGroups['filters'] = array(
|
||||
'column' => _("Other Options"),
|
||||
'label' => _("Filters"),
|
||||
'desc' => _("Create filtering rules to organize your incoming mail, sort it into folders, and delete spam."),
|
||||
'url' => 'filterprefs.php'
|
||||
);
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//075addressbooks
|
||||
$contacts_app = $GLOBALS['registry']->hasInterface('contacts');
|
||||
if ($contacts_app && $GLOBALS['registry']->hasPermission($contacts_app)) \{
|
||||
$prefGroups['addressbooks'] = array(
|
||||
'column' => _("Other Options"),
|
||||
'label' => _("Address Books"),
|
||||
'desc' => _("Select address book sources for adding and searching for addresses."),
|
||||
'members' => array('save_recipients', 'display_contact', 'sourceselect')
|
||||
);
|
||||
\}
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//080gnupg
|
||||
if (isset($GLOBALS['conf']['utils']['gnupg'])) \{
|
||||
$prefGroups['pgp'] = array(
|
||||
'column' => _("Other Options"),
|
||||
'label' => _("PGP Options"),
|
||||
'desc' => sprintf(_("Control PGP support for %s."), $GLOBALS['registry']->get('name')),
|
||||
'url' => 'pgp.php'
|
||||
);
|
||||
\}
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//085smime
|
||||
if (Util::extensionExists('openssl') && isset($GLOBALS['conf']['utils']['openssl_binary'])) \{
|
||||
$prefGroups['smime'] = array(
|
||||
'column' => _("Other Options"),
|
||||
'label' => _("S/MIME Options"),
|
||||
'desc' => sprintf(_("Control S/MIME support for %s."), $GLOBALS['registry']->get('name')),
|
||||
'url' => 'smime.php'
|
||||
);
|
||||
\}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//090replyto_addr
|
||||
// Personal Information preferences
|
||||
|
||||
// user preferred email address for Reply-To:, if different from From:
|
||||
$_prefs['replyto_addr'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'text',
|
||||
'desc' => _("Your Reply-to: address: <em>(optional)</em>"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//095alias_addr
|
||||
// user preferred alias addresses
|
||||
$_prefs['alias_addr'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'textarea',
|
||||
'desc' => _("Your alias addresses: <em>(optional, enter each address on a new line)</em>"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//100tieto_addr
|
||||
// user preferred 'tie to' addresses
|
||||
$_prefs['tieto_addr'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'textarea',
|
||||
'desc' => _("Addresses to explicitly tie to this identity: <em>(optional, enter each address on a new line)</em>"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//105bcc_addr
|
||||
// Automatically Bcc addresses when composing
|
||||
$_prefs['bcc_addr'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'textarea',
|
||||
'desc' => _("Addresses to BCC all messages: <em>(optional, enter each address on a new line)</em>"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//115signature
|
||||
// user signature
|
||||
$_prefs['signature'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'textarea',
|
||||
'desc' => _("Your signature:"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//120sig_dashes
|
||||
// precede the signature with dashes ('-- ')?
|
||||
$_prefs['sig_dashes'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Precede your signature with dashes ('-- ')?"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//125sig_first
|
||||
// signature before replies and forwards?
|
||||
$_prefs['sig_first'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Place your signature before replies and forwards?"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//130save_sent_mail
|
||||
// save a copy of sent messages?
|
||||
$_prefs['save_sent_mail'] = array(
|
||||
'value' => 1,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Save sent mail?"));
|
||||
|
@@ -0,0 +1,14 @@
|
||||
//135sent_mail_folder
|
||||
// sent mail folder
|
||||
$_prefs['sent_mail_folder'] = array(
|
||||
// The mailbox value must be encoded in the UTF7-IMAP charset (see RFC
|
||||
// 3501 [5.1.3]).
|
||||
//'value' => String::convertCharset(_("Sent"), null, 'UTF7-IMAP'),
|
||||
// For Exchange, uncomment the entry below.
|
||||
// 'value' => 'Sent Items',
|
||||
// value below for SME Server that is consistent from day one
|
||||
'value' => String::convertCharset(_("sent-mail"), null, 'UTF7-IMAP'),
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
@@ -0,0 +1,7 @@
|
||||
//140sentmailselect
|
||||
// sent mail folder selection widget. includes some javascript, so it's
|
||||
// specific to IMP.
|
||||
$_prefs['sentmailselect'] = array('type' => 'special');
|
||||
|
||||
// End Personal Information preferences
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//143use_vinbox
|
||||
// Server and Folder Information preferences
|
||||
|
||||
// display Virtual INBOX?
|
||||
$_prefs['use_vinbox'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Display Virtual Inbox?"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//145subscribe
|
||||
// use IMAP subscribe?
|
||||
$_prefs['subscribe'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Use IMAP folder subscriptions?"));
|
||||
|
@@ -0,0 +1,5 @@
|
||||
//150folderselect
|
||||
// drafts folder selection widget. includes some javascript, so it's specific
|
||||
// to IMP.
|
||||
$_prefs['folderselect'] = array('type' => 'special');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//155drafts_folder
|
||||
// drafts folder
|
||||
$_prefs['drafts_folder'] = array(
|
||||
// The mailbox value must be encoded in the UTF7-IMAP charset (see RFC
|
||||
// 3501 [5.1.3]).
|
||||
'value' => String::convertCharset(_("Drafts"), null, 'UTF7-IMAP'),
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
@@ -0,0 +1,5 @@
|
||||
//160trashselect
|
||||
// trash folder selection widget. includes some javascript, so it's
|
||||
// specific to IMP.
|
||||
$_prefs['trashselect'] = array('type' => 'special');
|
||||
|
@@ -0,0 +1,14 @@
|
||||
//165trash_folder
|
||||
// trash folder
|
||||
$_prefs['trash_folder'] = array(
|
||||
// The mailbox value must be encoded in the UTF7-IMAP charset (see RFC
|
||||
// 3501 [5.1.3]).
|
||||
//'value' => String::convertCharset(_("Trash"), null, 'UTF7-IMAP'),
|
||||
// For Exchange, uncomment the entry below.
|
||||
// 'value' => 'Deleted Items',
|
||||
// Value below for SME Server so that it's consistent from the beginning
|
||||
'value' => String::convertCharset(_("trash"), null, 'UTF7-IMAP'),
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
@@ -0,0 +1,5 @@
|
||||
//170spanselect
|
||||
// spam folder selection widget. includes some javascript, so it's
|
||||
// specific to IMP.
|
||||
$_prefs['spamselect'] = array('type' => 'special');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//175spam_folder
|
||||
// spam folder
|
||||
$_prefs['spam_folder'] = array(
|
||||
// The mailbox value must be encoded in the UTF7-IMAP charset (see RFC
|
||||
// 3501 [5.1.3]).
|
||||
'value' => String::convertCharset(_("Spam"), null, 'UTF7-IMAP'),
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//180vfolder
|
||||
$_prefs['vfolder'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
||||
// End Server and Folder Information preferences
|
||||
|
||||
|
@@ -0,0 +1,13 @@
|
||||
//185acl2
|
||||
// Folder sharing preferences
|
||||
|
||||
// folder sharing options
|
||||
// set 'locked' => true to disable folder sharing
|
||||
$_prefs['acl'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
||||
// End folder sharing preferences
|
||||
|
@@ -0,0 +1,6 @@
|
||||
//190initialpageselect
|
||||
// Login/Maintenance Tasks preferences
|
||||
|
||||
// select widget for the initial_page preference
|
||||
$_prefs['initialpageselect'] = array('type' => 'special');
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//195initial_page
|
||||
// the page to display. Either a filename like 'folders.php'
|
||||
// or a mailbox name.
|
||||
$_prefs['initial_page'] = array(
|
||||
'value' => 'INBOX',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//205rename_sentmail_monthly
|
||||
// rename sent-mail folder every month?
|
||||
$_prefs['rename_sentmail_monthly'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Rename sent-mail folder at beginning of month?"),
|
||||
'help' => 'prefs-rename_sentmail_monthly');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//210delete_sentmail_monthly
|
||||
// delete sent-mail folders every month?
|
||||
$_prefs['delete_sentmail_monthly'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Delete old sent-mail folders at beginning of month?"),
|
||||
'help' => 'prefs-delete_sentmail_monthly');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//215delete_sentmail_monthly_keep
|
||||
// how many old sent-mail folders to keep every month?
|
||||
$_prefs['delete_sentmail_monthly_keep'] = array(
|
||||
'value' => 12,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'number',
|
||||
'desc' => _("Number of old sent-mail folders to keep if deleting monthly."),
|
||||
'help' => 'prefs-delete_sentmail_monthly_keep');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//217purge_sentmail
|
||||
// purge sent-mail folder?
|
||||
$_prefs['purge_sentmail'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Purge old messages in the sent-mail folder(s)?"),
|
||||
'help' => 'prefs-purge_sentmail');
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//218purge_sentmail_interval
|
||||
// how often to purge the Sent-Mail folder?
|
||||
// 'value': yearly = 1, monthly = 2, weekly = 3, daily = 4, every login = 5
|
||||
$_prefs['purge_sentmail_interval'] = array(
|
||||
'value' => '2',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'select',
|
||||
'desc' => _("Purge sent-mail how often:"),
|
||||
'help' => 'prefs-purge_sentmail_interval');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//219purge_sentmail_keep
|
||||
// when purging sent-mail folder, purge messages older than how many days?
|
||||
$_prefs['purge_sentmail_keep'] = array(
|
||||
'value' => 30,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'number',
|
||||
'desc' => _("Purge messages in sent-mail folder(s) older than this amount of days."),
|
||||
'help' => 'prefs-purge_sentmail_keep');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//220delete_attachemets_monthly
|
||||
// purge old attachments every month?
|
||||
$_prefs['delete_attachments_monthly'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Delete old linked attachments at beginning of month?"),
|
||||
'help' => 'prefs-delete_attachments_monthly');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//225delete_attachments_monthly_keep
|
||||
// how many old months of attachments to keep?
|
||||
$_prefs['delete_attachments_monthly_keep'] = array(
|
||||
'value' => 6,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'number',
|
||||
'desc' => _("Number of months to keep old linked attachments if deleting monthly."),
|
||||
'help' => 'prefs-delete_attachments_monthly_keep');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//227purge_spam
|
||||
// purge Spam folder?
|
||||
$_prefs['purge_spam'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Purge old messages in the Spam folder?"),
|
||||
'help' => 'prefs-purge_spam');
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//228purge_spam_interval
|
||||
// how often to purge the Spam folder?
|
||||
// 'value': yearly = 1, monthly = 2, weekly = 3, daily = 4, every login = 5
|
||||
$_prefs['purge_spam_interval'] = array(
|
||||
'value' => '2',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'select',
|
||||
'desc' => _("Purge Spam how often:"),
|
||||
'help' => 'prefs-purge_spam_interval');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//229purge_spam_keep
|
||||
// when purging Spam folder, purge messages older than how many days?
|
||||
$_prefs['purge_spam_keep'] = array(
|
||||
'value' => 30,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'number',
|
||||
'desc' => _("Purge messages in Spam folder older than this amount of days."),
|
||||
'help' => 'prefs-purge_spam_keep');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//230purge_trash
|
||||
// purge Trash folder?
|
||||
$_prefs['purge_trash'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Purge old messages in the Trash folder?"),
|
||||
'help' => 'prefs-purge_trash');
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//235purge_trash_interval
|
||||
// how often to purge the Trash folder?
|
||||
// 'value': yearly = 1, monthly = 2, weekly = 3, daily = 4, every login = 5
|
||||
$_prefs['purge_trash_interval'] = array(
|
||||
'value' => '2',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'select',
|
||||
'desc' => _("Purge Trash how often:"),
|
||||
'help' => 'prefs-purge_trash_interval');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//240purge_trash_keep
|
||||
// when purging Trash folder, purge messages older than how many days?
|
||||
$_prefs['purge_trash_keep'] = array(
|
||||
'value' => 30,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'number',
|
||||
'desc' => _("Purge messages in Trash folder older than this amount of days."),
|
||||
'help' => 'prefs-purge_trash_keep');
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//245tos_agreement
|
||||
// show tos agreement?
|
||||
$_prefs['tos_agreement'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
||||
// End Login/Maintenance preferences
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//250stationary_link
|
||||
// Message Composition preferences
|
||||
|
||||
// Link to the stationery preferences.
|
||||
$_prefs['stationery_link'] = array(
|
||||
'type' => 'link',
|
||||
'url' => 'stationery.php',
|
||||
'desc' => _("To the stationery and form responses."));
|
||||
|
@@ -0,0 +1,7 @@
|
||||
//255stationary
|
||||
$_prefs['stationery'] = array(
|
||||
'value' => 'a:0:\{\}',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
@@ -0,0 +1,12 @@
|
||||
//257mailto_handler
|
||||
// Link to add a Firefox 3 mailto: handler
|
||||
$_prefs['mailto_handler'] = array(
|
||||
'type' => 'link',
|
||||
'xurl' => 'javascript:if(typeof navigator.registerProtocolHandler==\'undefined\')alert(\''
|
||||
. addslashes(_("Your browser does not support this feature."))
|
||||
. '\');else navigator.registerProtocolHandler(\'mailto\',\''
|
||||
. Util::addParameter(Horde::applicationUrl('compose.php', true),
|
||||
array('actionID' => 'mailto_link', 'to' => ''), false)
|
||||
. '%s\',\'' . $GLOBALS['registry']->get('name') . '\');',
|
||||
'desc' => sprintf(_("Click here to open all mailto: links in %s."), $GLOBALS['registry']->get('name')));
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//260compose_cc
|
||||
// Show Cc: field?
|
||||
$_prefs['compose_cc'] = array(
|
||||
'value' => 1,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Show the Cc: header field when composing mail?")
|
||||
);
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//265compose_bcc
|
||||
// Show Bcc: field?
|
||||
$_prefs['compose_bcc'] = array(
|
||||
'value' => 1,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Show the Bcc: header field when composing mail?")
|
||||
);
|
||||
|
@@ -0,0 +1,8 @@
|
||||
//270compose_spellcheck
|
||||
// Check spelling before sending the message?
|
||||
$_prefs['compose_spellcheck'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Check spelling before sending a message?"));
|
@@ -0,0 +1,9 @@
|
||||
//275compose_confirm
|
||||
// confirm successful sending of messages?
|
||||
$_prefs['compose_confirm'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Display confirmation after sending a message?"));
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//280set_priority
|
||||
// allow the user to add a "X-Priority" header when composing messages?
|
||||
$_prefs['set_priority'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Set the X-Priority header when composing messages?"));
|
||||
|
@@ -0,0 +1,10 @@
|
||||
//285compose_popup
|
||||
// compose in a separate window?
|
||||
$_prefs['compose_popup'] = array(
|
||||
'value' => 1,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Compose messages in a separate window?")
|
||||
);
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//290compose_html
|
||||
// If browser supports the HTML editor, should we compose in HTML mode by
|
||||
// default?
|
||||
$_prefs['compose_html'] = array(
|
||||
'value' => 0,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'checkbox',
|
||||
'desc' => _("Compose messages with an HTML GUI by default (if browser supports the feature)?")
|
||||
);
|
||||
|
@@ -0,0 +1,13 @@
|
||||
//295jseditor
|
||||
// The default JS HTML editor.
|
||||
$_prefs['jseditor'] = array(
|
||||
'value' => 'xinha',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'enum',
|
||||
// To use 'fckeditor', you must have Horde 3.2 or greater installed.
|
||||
'enum' => array('fckeditor' => _("FCKeditor"),
|
||||
'xinha' => _("Xinha")),
|
||||
'desc' => _("The javascript editor to use on the compose page.")
|
||||
);
|
||||
|
@@ -0,0 +1,12 @@
|
||||
//300fckeditor_buttons
|
||||
// The list of buttons to show in FCKeditor
|
||||
$_prefs['fckeditor_buttons'] = array(
|
||||
'value' => "[['Source','FitWindow','-','Templates'],['Cut','Copy','Paste','PasteText','PasteWord'],['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],'/',['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],['Link','Unlink'],['Image','Flash','Table','Rule','Smiley','SpecialChar'],'/',['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],['TextColor','BGColor'],'/',['Style','FontFormat','FontName','FontSize']]",
|
||||
// Use the following line for a very basic set of buttons:
|
||||
// 'value' => "['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink']",
|
||||
'locked' => true,
|
||||
'shared' => false,
|
||||
'type' => 'textarea',
|
||||
'desc' => _("The buttons to show when using FCKeditor.")
|
||||
);
|
||||
|
@@ -0,0 +1,55 @@
|
||||
//205xinha_hide_buttons
|
||||
// Hidden Xinha buttons.
|
||||
$_prefs['xinha_hide_buttons'] = array(
|
||||
'value' => 'a:25:\{i:0;s:11:"popupeditor";i:1;s:13:"strikethrough";i:2;s:13:"textindicator";i:3;s:9:"subscript";i:4;s:11:"superscript";i:5;s:20:"inserthorizontalrule";i:6;s:11:"insertimage";i:7;s:11:"inserttable";i:8;s:9:"selectall";i:9;s:5:"print";i:10;s:3:"cut";i:11;s:4:"copy";i:12;s:5:"paste";i:13;s:9:"overwrite";i:14;s:6:"saveas";i:15;s:8:"killword";i:16;s:10:"clearfonts";i:17;s:12:"removeformat";i:18;s:13:"toggleborders";i:19;s:10:"splitblock";i:20;s:11:"lefttoright";i:21;s:11:"righttoleft";i:22;s:8:"htmlmode";i:23;s:8:"showhelp";i:24;s:5:"about";\}',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'multienum',
|
||||
'enum' => array(
|
||||
'popupeditor' => _("Maximize/Minimize Editor"),
|
||||
'formatblock' => _("Text Format"),
|
||||
'fontname' => _("Text Font"),
|
||||
'fontsize' => _("Text Size"),
|
||||
'bold' => _("Bold"),
|
||||
'italic' => _("Italic"),
|
||||
'underline' => _("Underline"),
|
||||
'strikethrough' => _("Strikethrough"),
|
||||
'forecolor' => _("Font Color"),
|
||||
'hilitecolor' => _("Background Color"),
|
||||
'textindicator' => _("Current style"),
|
||||
'subscript' => _("Subscript"),
|
||||
'superscript' => _("Superscript"),
|
||||
'justifyleft' => _("Justify Left"),
|
||||
'justifycenter' => _("Justify Center"),
|
||||
'justifyright' => _("Justify Right"),
|
||||
'justifyfull' => _("Justify Full"),
|
||||
'insertorderedlist' => _("Ordered List"),
|
||||
'insertunorderedlist' => _("Bulleted List"),
|
||||
'outdent' => _("Decrease Indent"),
|
||||
'indent' => _("Increase Indent"),
|
||||
'inserthorizontalrule' => _("Horizontal Rule"),
|
||||
'createlink' => _("Insert Web Link"),
|
||||
'insertimage' => _("Insert/Modify Image"),
|
||||
'inserttable' => _("Insert Table"),
|
||||
'undo' => _("Undoes your last action"),
|
||||
'redo' => _("Redoes your last action"),
|
||||
'selectall' => _("Select all"),
|
||||
'print' => _("Print document"),
|
||||
'cut' => _("Cut selection"),
|
||||
'copy' => _("Copy selection"),
|
||||
'paste' => _("Paste from clipboard"),
|
||||
'overwrite' => _("Insert/Overwrite"),
|
||||
'saveas' => _("Save as"),
|
||||
'killword' => _("Clear MSOffice tags"),
|
||||
'clearfonts' => _("Clear Inline Font Specifications"),
|
||||
'removeformat' => _("Remove formatting"),
|
||||
'toggleborders' => _("Toggle Borders"),
|
||||
'splitblock' => _("Split Block"),
|
||||
'lefttoright' => _("Direction left to right"),
|
||||
'righttoleft' => _("Direction right to left"),
|
||||
'htmlmode' => _("Toggle HTML Source"),
|
||||
'showhelp' => _("Help using editor"),
|
||||
'about' => _("About this editor")),
|
||||
'desc' => _("The buttons NOT to show when using Xinha.")
|
||||
);
|
||||
|
@@ -0,0 +1,9 @@
|
||||
//310mail_domain
|
||||
// default outgoing mail domain and address completion
|
||||
$_prefs['mail_domain'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'text',
|
||||
'desc' => _("When sending mail or expanding addresses, what domain should we append to unqualified addresses (email addresses without \"@\")?"));
|
||||
|
@@ -0,0 +1,13 @@
|
||||
//312compose_cursor
|
||||
// Where should the cursor be located in the compose text area by default?
|
||||
$_prefs['compose_cursor'] = array(
|
||||
'value' => 'top',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'enum',
|
||||
'enum' => array('top' => _("Top"),
|
||||
'bottom' => _("Bottom"),
|
||||
'sig' => _("Before Signature")),
|
||||
'desc' => _("Where should the cursor be located in the compose text area by default?")
|
||||
);
|
||||
|
@@ -0,0 +1,11 @@
|
||||
//315sending_charset
|
||||
// Select widget for the possible charsets
|
||||
$_prefs['sending_charset'] = array(
|
||||
'value' => '',
|
||||
'locked' => false,
|
||||
'shared' => true,
|
||||
'type' => 'enum',
|
||||
'enum' => array_merge(array('' => _("Default")),
|
||||
$GLOBALS['nls']['encodings']),
|
||||
'desc' => _("Your default charset for sending messages:"));
|
||||
|
@@ -0,0 +1,4 @@
|
||||
//320encryptselect
|
||||
// Select widget for the 'default_encrypt' preference
|
||||
$_prefs['encryptselect'] = array('type' => 'special');
|
||||
|
@@ -0,0 +1,8 @@
|
||||
//325default_encrypt
|
||||
// The default encryption method to use when sending messages
|
||||
$_prefs['default_encrypt'] = array(
|
||||
'value' => IMP_ENCRYPT_NONE,
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'implicit');
|
||||
|
@@ -0,0 +1,14 @@
|
||||
//330save_attachments
|
||||
// Save attachments when saving in sent-mail folder?
|
||||
$_prefs['save_attachments'] = array(
|
||||
'value' => 'prompt_no',
|
||||
'locked' => false,
|
||||
'shared' => false,
|
||||
'type' => 'enum',
|
||||
'enum' => array('always' => _("Always save attachments"),
|
||||
'prompt_yes' => _("Prompt every time an attachment is sent; default to YES"),
|
||||
'prompt_no' => _("Prompt every time an attachment is sent; default to NO"),
|
||||
'never' => _("Never save attachments")),
|
||||
'desc' => _("When saving sent-mail, should we save attachment data?"),
|
||||
'help' => 'prefs-save_attachments');
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user