[ Index ] |
|
Code source de IMP H3 (4.1.5) |
1 <?php 2 /** 3 * $Horde: imp/config/prefs.php.dist,v 1.216.4.16 2006/07/19 01:30:24 slusarz Exp $ 4 * 5 * See horde/config/prefs.php for documentation on the structure of this file. 6 */ 7 8 // Make sure that constants are defined. 9 @define('IMP_BASE', dirname(__FILE__) . '/..'); 10 require_once IMP_BASE . '/lib/IMP.php'; 11 12 $prefGroups['identities'] = array( 13 'column' => _("General Options"), 14 'label' => _("Personal Information"), 15 'desc' => _("Change the name, address, and signature that people see when they read and reply to your email."), 16 'members' => array('replyto_addr', 'alias_addr', 'tieto_addr', 'bcc_addr', 17 'mail_hdr', 'signature', 'sig_dashes', 'sig_first', 18 'save_sent_mail', 'sent_mail_folder', 'sentmailselect') 19 ); 20 21 $prefGroups['server'] = array( 22 'column' => _("General Options"), 23 'label' => _("Server and Folder Information"), 24 'desc' => _("Change mail server and folder settings."), 25 'members' => array('use_vinbox', 'subscribe', 'folderselect', 26 'trashselect', 'spamselect') 27 ); 28 29 if (!empty($_SESSION['imp']['acl'])) { 30 $prefGroups['acl'] = array( 31 'column' => _("General Options"), 32 'label' => _("Share Folders"), 33 'desc' => _("Share your mail folders with other users."), 34 'url' => 'acl.php' 35 ); 36 } 37 38 $prefGroups['logintasks'] = array( 39 'column' => _("General Options"), 40 'label' => _("Login Tasks"), 41 'desc' => sprintf(_("Customize tasks to run upon logon to %s."), $GLOBALS['registry']->get('name')), 42 'members' => array('initialpageselect', 'rename_sentmail_monthly', 43 'delete_sentmail_monthly', 44 'delete_sentmail_monthly_keep', 'delete_attachments_monthly', 45 'delete_attachments_monthly_keep', 'purge_trash', 46 'purge_trash_interval', 'purge_trash_keep') 47 ); 48 49 $prefGroups['compose'] = array( 50 'column' => _("Message Options"), 51 'label' => _("Message Composition"), 52 'desc' => _("Customize how you send mail."), 53 'members' => array('mail_domain', 'compose_popup', 'compose_html', 54 'stationery_link', 'compose_spellcheck', 'num_words', 55 'compose_confirm', 'reply_quote', 'reply_headers', 56 'attrib_text', 'folderselect', 'close_draft', 57 'unseen_drafts', 'set_priority', 'sending_charset', 58 'encryptselect', 'save_attachments') 59 ); 60 61 if (!empty($GLOBALS['conf']['compose']['allow_receipts'])) { 62 $prefGroups['compose']['members'] = array_merge($prefGroups['compose']['members'], array('disposition_request_read')); 63 } 64 65 $prefGroups['viewing'] = array( 66 'column' => _("Message Options"), 67 'label' => _("Message Viewing"), 68 'desc' => _("Configure how messages are displayed."), 69 'members' => array('filtering', 'strip_attachments', 70 'html_image_replacement', 'html_image_addrbook', 71 'highlight_text', 'highlight_simple_markup', 'show_quoteblocks', 72 'dim_signature', 'emoticons', 'attachment_display', 73 'default_msg_charset') 74 ); 75 if (!empty($GLOBALS['conf']['maillog']['use_maillog'])) { 76 $prefGroups['viewing']['members'] = array_merge($prefGroups['viewing']['members'], array('disposition_send_mdn')); 77 } 78 79 $prefGroups['delmove'] = array( 80 'column' => _("Message Options"), 81 'label' => _("Deleting and Moving Messages"), 82 'desc' => _("Set preferences for what happens when you move and delete messages."), 83 'members' => array('mailbox_return', 'delete_spam_after_report', 84 'use_trash', 'use_vtrash', 'trashselect', 85 'empty_trash_menu', 'empty_spam_menu') 86 ); 87 88 $prefGroups['newmail'] = array( 89 'column' => _("Message Options"), 90 'label' => _("New Mail"), 91 'desc' => _("Control when new mail will be checked for, and whether or not to notify you when it arrives."), 92 'members' => array('refresh_time', 'nav_popup', 'nav_audio') 93 ); 94 95 if (!empty($GLOBALS['conf']['mailbox']['show_preview'])) { 96 $prefGroups['mailpreview'] = array( 97 'column' => _("Message Options"), 98 'label' => _("Mail Previews"), 99 'desc' => _("Configure mail preview options."), 100 'members' => array('preview_enabled', 'preview_maxlen', 'preview_strip_nl', 'preview_show_unread', 'preview_show_tooltip') 101 ); 102 } 103 104 $prefGroups['fetchmail'] = array( 105 'column' => _("Message Options"), 106 'label' => _("Fetch Mail"), 107 'desc' => _("Customize accounts for fetching mail from other accounts."), 108 'members' => array('fetchmail_link', 'fetchmail_popup', 'fetchmail_menu') 109 ); 110 111 $prefGroups['display'] = array( 112 'column' => _("Other Options"), 113 'label' => _("Mailbox and Folder Display Options"), 114 'desc' => _("Change display options such as how many messages you see on each page and how messages are sorted."), 115 'members' => array('mailbox_start', 'sortby', 'sortdir', 'max_msgs', 116 'from_link', 'time_format', 'nav_expanded', 117 'nav_expanded_sidebar', 'show_legend') 118 ); 119 120 $prefGroups['search'] = array( 121 'column' => _("Other Options"), 122 'label' => _("Search Options"), 123 'desc' => _("Control options relating to messages searching."), 124 'members' => array('defaultsearchselect') 125 ); 126 127 $prefGroups['filters'] = array( 128 'column' => _("Other Options"), 129 'label' => _("Filters"), 130 'desc' => _("Create filtering rules to organize your incoming mail, sort it into folders, and delete spam."), 131 'url' => 'filterprefs.php' 132 ); 133 134 $prefGroups['addressbooks'] = array( 135 'column' => _("Other Options"), 136 'label' => _("Address Books"), 137 'desc' => _("Select address book sources for adding and searching for addresses."), 138 'members' => array('auto_expand', 'save_recipients', 'display_contact', 'sourceselect') 139 ); 140 141 if (isset($GLOBALS['conf']['utils']['gnupg'])) { 142 $prefGroups['pgp'] = array( 143 'column' => _("Other Options"), 144 'label' => _("PGP Options"), 145 'desc' => sprintf(_("Control PGP support for %s."), $GLOBALS['registry']->get('name')), 146 'url' => 'pgp.php' 147 ); 148 } 149 150 if (Util::extensionExists('openssl') && isset($GLOBALS['conf']['utils']['openssl_binary'])) { 151 $prefGroups['smime'] = array( 152 'column' => _("Other Options"), 153 'label' => _("S/MIME Options"), 154 'desc' => sprintf(_("Control S/MIME support for %s."), $GLOBALS['registry']->get('name')), 155 'url' => 'smime.php' 156 ); 157 } 158 159 // Personal Information preferences 160 161 // user preferred email address for Reply-To:, if different from From: 162 $_prefs['replyto_addr'] = array( 163 'value' => '', 164 'locked' => false, 165 'shared' => false, 166 'type' => 'text', 167 'desc' => _("Your Reply-to: address: <em>(optional)</em>")); 168 169 // user preferred alias addresses 170 $_prefs['alias_addr'] = array( 171 'value' => '', 172 'locked' => false, 173 'shared' => false, 174 'type' => 'textarea', 175 'desc' => _("Your alias addresses: <em>(optional, enter each address on a new line)</em>")); 176 177 // user preferred 'tie to' addresses 178 $_prefs['tieto_addr'] = array( 179 'value' => '', 180 'locked' => false, 181 'shared' => false, 182 'type' => 'textarea', 183 'desc' => _("Addresses to explicitly tie to this identity: <em>(optional, enter each address on a new line)</em>")); 184 185 // Automatically Bcc addresses when composing 186 $_prefs['bcc_addr'] = array( 187 'value' => '', 188 'locked' => false, 189 'shared' => false, 190 'type' => 'textarea', 191 'desc' => _("Addresses to BCC all messages: <em>(optional, enter each address on a new line)</em>")); 192 193 // Display custom headers (configured via the identity screen) when viewing 194 // messages? 195 $_prefs['mail_hdr'] = array( 196 'value' => '', 197 'locked' => false, 198 'shared' => false, 199 'type' => 'textarea', 200 'desc' => _("Additional headers to display when viewing: <em>(optional, enter each header on a new line)</em>")); 201 202 // user signature 203 $_prefs['signature'] = array( 204 'value' => '', 205 'locked' => false, 206 'shared' => false, 207 'type' => 'textarea', 208 'desc' => _("Your signature:")); 209 210 // precede the signature with dashes ('-- ')? 211 $_prefs['sig_dashes'] = array( 212 'value' => 0, 213 'locked' => false, 214 'shared' => false, 215 'type' => 'checkbox', 216 'desc' => _("Precede your signature with dashes ('-- ')?")); 217 218 // signature before replies and forwards? 219 $_prefs['sig_first'] = array( 220 'value' => 0, 221 'locked' => false, 222 'shared' => false, 223 'type' => 'checkbox', 224 'desc' => _("Place your signature before replies and forwards?")); 225 226 // save a copy of sent messages? 227 $_prefs['save_sent_mail'] = array( 228 'value' => 1, 229 'locked' => false, 230 'shared' => false, 231 'type' => 'checkbox', 232 'desc' => _("Save sent mail?")); 233 234 // sent mail folder 235 $_prefs['sent_mail_folder'] = array( 236 'value' => 'sent-mail', 237 // For Exchange server uncomment the line below and delete the line above 238 // 'value' => 'Sent Items', 239 'locked' => false, 240 'shared' => false, 241 'type' => 'implicit'); 242 243 // sent mail folder selection widget. includes some javascript, so it's 244 // specific to IMP. 245 $_prefs['sentmailselect'] = array('type' => 'special'); 246 247 // End Personal Information preferences 248 249 250 // Server and Folder Information preferences 251 252 // display Virtual INBOX? 253 $_prefs['use_vinbox'] = array( 254 'value' => 1, 255 'locked' => false, 256 'shared' => false, 257 'type' => 'checkbox', 258 'desc' => _("Display Virtual Inbox?")); 259 260 // use IMAP subscribe? 261 $_prefs['subscribe'] = array( 262 'value' => 0, 263 'locked' => false, 264 'shared' => false, 265 'type' => 'checkbox', 266 'desc' => _("Use IMAP folder subscriptions?")); 267 268 // drafts folder selection widget. includes some javascript, so it's specific 269 // to IMP. 270 $_prefs['folderselect'] = array('type' => 'special'); 271 272 // drafts folder 273 $_prefs['drafts_folder'] = array( 274 'value' => 'drafts', 275 'locked' => false, 276 'shared' => false, 277 'type' => 'implicit'); 278 279 // trash folder selection widget. includes some javascript, so it's 280 // specific to IMP. 281 $_prefs['trashselect'] = array('type' => 'special'); 282 283 // trash folder 284 $_prefs['trash_folder'] = array( 285 // for Exchange, uncomment the entry below and remove the default value entry 286 // 'value' => 'Deleted Items', 287 'value' => 'trash', 288 'locked' => false, 289 'shared' => false, 290 'type' => 'implicit'); 291 292 // spam folder selection widget. includes some javascript, so it's 293 // specific to IMP. 294 $_prefs['spamselect'] = array('type' => 'special'); 295 296 // spam folder 297 $_prefs['spam_folder'] = array( 298 'value' => 'Spam', 299 'locked' => false, 300 'shared' => false, 301 'type' => 'implicit'); 302 303 $_prefs['vfolder'] = array( 304 'value' => '', 305 'locked' => false, 306 'shared' => false, 307 'type' => 'implicit'); 308 309 // End Server and Folder Information preferences 310 311 312 // Folder sharing preferences 313 314 // folder sharing options 315 // set 'locked' => true to disable folder sharing 316 $_prefs['acl'] = array( 317 'value' => '', 318 'locked' => false, 319 'shared' => false, 320 'type' => 'implicit'); 321 322 // End folder sharing preferences 323 324 325 // Login/Maintenance Tasks preferences 326 327 // select widget for the initial_page preference 328 $_prefs['initialpageselect'] = array('type' => 'special'); 329 330 // the page to display. Either a filename like 'folders.php' 331 // or a mailbox name. 332 $_prefs['initial_page'] = array( 333 'value' => 'INBOX', 334 'locked' => false, 335 'shared' => false, 336 'type' => 'implicit'); 337 338 // rename sent-mail folder every month? 339 $_prefs['rename_sentmail_monthly'] = array( 340 'value' => 0, 341 'locked' => false, 342 'shared' => false, 343 'type' => 'checkbox', 344 'desc' => _("Rename sent-mail folder at beginning of month?"), 345 'help' => 'prefs-rename_sentmail_monthly'); 346 347 // purge sent-mail folders every month? 348 $_prefs['delete_sentmail_monthly'] = array( 349 'value' => 0, 350 'locked' => false, 351 'shared' => false, 352 'type' => 'checkbox', 353 'desc' => _("Delete old sent-mail folders at beginning of month?"), 354 'help' => 'prefs-delete_sentmail_monthly'); 355 356 // how many old sent-mail folders to keep every month? 357 $_prefs['delete_sentmail_monthly_keep'] = array( 358 'value' => 12, 359 'locked' => false, 360 'shared' => false, 361 'type' => 'number', 362 'desc' => _("Number of old sent-mail folders to keep if deleting monthly."), 363 'help' => 'prefs-delete_sentmail_monthly_keep'); 364 365 // purge old attachments every month? 366 $_prefs['delete_attachments_monthly'] = array( 367 'value' => 1, 368 'locked' => false, 369 'shared' => false, 370 'type' => 'checkbox', 371 'desc' => _("Delete old linked attachments at beginning of month?"), 372 'help' => 'prefs-delete_attachments_monthly'); 373 374 // how many old months of attachments to keep? 375 $_prefs['delete_attachments_monthly_keep'] = array( 376 'value' => 6, 377 'locked' => false, 378 'shared' => false, 379 'type' => 'number', 380 'desc' => _("Number of months to keep old linked attachments if deleting monthly."), 381 'help' => 'prefs-delete_attachments_monthly_keep'); 382 383 // purge Trash folder? 384 $_prefs['purge_trash'] = array( 385 'value' => 0, 386 'locked' => false, 387 'shared' => false, 388 'type' => 'checkbox', 389 'desc' => _("Purge old messages in the Trash folder?"), 390 'help' => 'prefs-purge_trash'); 391 392 // how often to purge the Trash folder? 393 // 'value': yearly = 1, monthly = 2, weekly = 3, daily = 4, every login = 5 394 $_prefs['purge_trash_interval'] = array( 395 'value' => '2', 396 'locked' => false, 397 'shared' => false, 398 'type' => 'select', 399 'desc' => _("Purge Trash how often:"), 400 'help' => 'prefs-purge_trash_interval'); 401 402 // when purging Trash folder, purge messages older than how many days? 403 $_prefs['purge_trash_keep'] = array( 404 'value' => 30, 405 'locked' => false, 406 'shared' => false, 407 'type' => 'number', 408 'desc' => _("Purge messages in Trash folder older than this amount of days."), 409 'help' => 'prefs-purge_trash_keep'); 410 411 // show tos agreement? 412 $_prefs['tos_agreement'] = array( 413 'value' => 0, 414 'locked' => false, 415 'shared' => false, 416 'type' => 'implicit'); 417 418 // End Login/Maintenance preferences 419 420 421 // Message Composition preferences 422 423 // default outgoing mail domain and address completion 424 $_prefs['mail_domain'] = array( 425 'value' => '', 426 'locked' => false, 427 'shared' => false, 428 'type' => 'text', 429 'desc' => _("When sending mail or expanding addresses, what domain should we append to unqualified addresses (email addresses without \"@\")?")); 430 431 // compose in a separate window? 432 $_prefs['compose_popup'] = array( 433 'value' => 1, 434 'locked' => false, 435 'shared' => false, 436 'type' => 'checkbox', 437 'desc' => _("Compose messages in a separate window?")); 438 439 // If browser supports the HTML editor, should we compose in HTML mode by 440 // default? 441 $_prefs['compose_html'] = array( 442 'value' => 0, 443 'locked' => false, 444 'shared' => false, 445 'type' => 'checkbox', 446 'desc' => _("Compose messages with an HTML GUI by default (if browser supports the feature)?")); 447 448 // Link to the stationery preferences. 449 $_prefs['stationery_link'] = array( 450 'type' => 'link', 451 'url' => 'stationery.php', 452 'desc' => _("Create stationery and form responses.")); 453 454 $_prefs['stationery'] = array( 455 'value' => 'a:0:{}', 456 'locked' => false, 457 'shared' => false, 458 'type' => 'implicit'); 459 460 // Check spelling before sending the message? 461 $_prefs['compose_spellcheck'] = array( 462 'value' => 0, 463 'locked' => false, 464 'shared' => false, 465 'type' => 'checkbox', 466 'desc' => _("Check spelling before sending a message?")); 467 468 // number of spelling corrections per screen 469 $_prefs['num_words'] = array( 470 'value' => 3, 471 'locked' => false, 472 'shared' => false, 473 'type' => 'number', 474 'desc' => _("Spelling errors per screen when spell checking.")); 475 476 // confirm successful sending of messages? 477 $_prefs['compose_confirm'] = array( 478 'value' => 0, 479 'locked' => false, 480 'shared' => false, 481 'type' => 'checkbox', 482 'desc' => _("Display confirmation after sending a message?")); 483 484 // Should the original message be included? 485 $_prefs['reply_quote'] = array( 486 'value' => 1, 487 'locked' => false, 488 'shared' => false, 489 'type' => 'checkbox', 490 'desc' => _("Include original message in a reply?")); 491 492 // Reply to header summary - leave a brief summary of the header inside 493 // the message. 494 $_prefs['reply_headers'] = array( 495 'desc' => _("Include a brief summary of the header in a reply?"), 496 'value' => 0, 497 'locked' => false, 498 'shared' => false, 499 'type' => 'checkbox'); 500 501 // How should we attribute quoted lines in a reply 502 $_prefs['attrib_text'] = array( 503 'value' => _("Quoting %f:"), 504 'locked' => false, 505 'shared' => false, 506 'type' => 'text', 507 'desc' => _("How to attribute quoted lines in a reply"), 508 'help' => 'prefs-attrib_text'); 509 510 // closing window after saving a draft? 511 $_prefs['close_draft'] = array( 512 'value' => 1, 513 'locked' => false, 514 'shared' => false, 515 'type' => 'checkbox', 516 'desc' => _("Should the compose window be closed after saving a draft?")); 517 518 // save drafts as seen or unseen 519 $_prefs['unseen_drafts'] = array( 520 'value' => 0, 521 'locked' => false, 522 'shared' => false, 523 'type' => 'checkbox', 524 'desc' => _("Save drafts as unseen?")); 525 526 // allow the user to add a "X-Priority" header when composing messages? 527 $_prefs['set_priority'] = array( 528 'value' => 0, 529 'locked' => false, 530 'shared' => false, 531 'type' => 'checkbox', 532 'desc' => _("Set the X-Priority header when composing messages?")); 533 534 // Select widget for the possible charsets 535 $_prefs['sending_charset'] = array( 536 'value' => '', 537 'locked' => false, 538 'shared' => true, 539 'type' => 'enum', 540 'enum' => array_merge(array('' => _("Default")), 541 $GLOBALS['nls']['encodings']), 542 'desc' => _("Your default charset for sending messages:")); 543 544 // Select widget for the 'default_encrypt' preference 545 $_prefs['encryptselect'] = array('type' => 'special'); 546 547 // The default encryption method to use when sending messages 548 $_prefs['default_encrypt'] = array( 549 'value' => IMP_ENCRYPT_NONE, 550 'locked' => false, 551 'shared' => false, 552 'type' => 'implicit'); 553 554 // Save attachments when saving in sent-mail folder? 555 $_prefs['save_attachments'] = array( 556 'value' => 'prompt_no', 557 'locked' => false, 558 'shared' => false, 559 'type' => 'enum', 560 'enum' => array('always' => _("Always save attachments"), 561 'prompt_yes' => _("Prompt every time an attachment is sent; default to YES"), 562 'prompt_no' => _("Prompt every time an attachment is sent; default to NO"), 563 'never' => _("Never save attachments")), 564 'desc' => _("When saving sent-mail, should we save attachment data?"), 565 'help' => 'prefs-save_attachments'); 566 567 // Disposition Notification Preferences 568 $_prefs['disposition_request_read'] = array( 569 'value' => 'ask', 570 'locked' => false, 571 'shared' => false, 572 'type' => 'enum', 573 'enum' => array('never' => _("Never"), 574 'ask' => _("Ask"), 575 'always' => _("Always")), 576 'desc' => _("Request read receipts?"), 577 'help' => 'prefs-disposition_request_read' 578 ); 579 580 // End Message Composition preferences 581 582 583 // Message Viewing preferences 584 585 // filter message content? 586 $_prefs['filtering'] = array( 587 'value' => 0, 588 'locked' => false, 589 'shared' => false, 590 'type' => 'checkbox', 591 'desc' => _("Filter message content for profanity?")); 592 593 // Should we display an icon to strip attachments? 594 $_prefs['strip_attachments'] = array( 595 'value' => 0, 596 'locked' => false, 597 'shared' => false, 598 'type' => 'checkbox', 599 'desc' => _("Show an icon to allow stripping of attachments from messages?")); 600 601 // What should we do with spam messages after reporting them? 602 $_prefs['delete_spam_after_report'] = array( 603 'value' => 0, 604 'locked' => false, 605 'shared' => false, 606 'type' => 'enum', 607 'enum' => array(0 => _("Nothing"), 608 1 => _("Delete spam messages"), 609 2 => _("Move spam messages to spam folder and innocent messages to INBOX")), 610 'desc' => _("What should we do with spam messages after they have been reported as spam or innocent?"), 611 'help' => 'prefs-delete_spam_after_report' 612 ); 613 614 // Replace image tags in HTML messages with blank images? 615 $_prefs['html_image_replacement'] = array( 616 'value' => 1, 617 'locked' => false, 618 'shared' => false, 619 'type' => 'checkbox', 620 'desc' => _("Block images in HTML messages unless they are specifically requested?"), 621 'help' => 'prefs-html_image_replacement' 622 ); 623 624 // By default, automatically show images in HTML messages if the sender is in 625 // the user's addressbook? 626 $_prefs['html_image_addrbook'] = array( 627 'value' => 1, 628 'locked' => false, 629 'shared' => false, 630 'type' => 'checkbox', 631 'desc' => _("Automatically show images in HTML messages when the sender is in my addressbook?"), 632 'help' => 'prefs-html_image_addrbook' 633 ); 634 635 // should we try to mark different conversations with different colors? 636 $_prefs['highlight_text'] = array( 637 'value' => 1, 638 'locked' => false, 639 'shared' => false, 640 'type' => 'checkbox', 641 'desc' => _("Mark different levels of quoting with different colors?")); 642 643 // should we try to mark simple markup with html tags? 644 $_prefs['highlight_simple_markup'] = array( 645 'value' => 1, 646 'locked' => false, 647 'shared' => false, 648 'type' => 'checkbox', 649 'desc' => _("Mark simple markup?")); 650 651 // should we show large blocks of quoted text or hide them? 652 $_prefs['show_quoteblocks'] = array( 653 'value' => 'thread', 654 'locked' => false, 655 'shared' => false, 656 'type' => 'enum', 657 'enum' => array('shown' => _("Shown"), 658 'thread' => _("Hidden in Thread View"), 659 'hidden' => _("Hidden")), 660 'desc' => _("Should large blocks of quoted text be shown or hidden by default? It can be toggled easily whichever you choose.")); 661 662 // should we dim signatures? 663 $_prefs['dim_signature'] = array( 664 'value' => 1, 665 'locked' => false, 666 'shared' => false, 667 'type' => 'checkbox', 668 'desc' => _("Dim signatures?")); 669 670 // Convert textual emoticons into graphical ones? 671 // a value of 0 = no, 1 = yes 672 $_prefs['emoticons'] = array( 673 'value' => 0, 674 'locked' => false, 675 'shared' => false, 676 'type' => 'checkbox', 677 'desc' => _("Convert textual emoticons into graphical ones?")); 678 679 // how do we display attachments? 680 $_prefs['attachment_display'] = array( 681 'value' => 'list', 682 'locked' => false, 683 'shared' => false, 684 'type' => 'enum', 685 'enum' => array('list' => _("Listing in the Header"), 686 'inline' => _("Display in Body of Message"), 687 'both' => _("Both Header Listing and Body of Message")), 688 'desc' => _("How do you want to display attachments?")); 689 690 // default message character set 691 $_prefs['default_msg_charset'] = array( 692 'value' => isset($GLOBALS['nls']['emails'][$GLOBALS['language']]) 693 ? $GLOBALS['nls']['emails'][$GLOBALS['language']] 694 : (isset($GLOBALS['nls']['charsets'][$GLOBALS['language']]) 695 ? $GLOBALS['nls']['charsets'][$GLOBALS['language']] 696 : 'ISO-8859-1'), 697 'locked' => false, 698 'shared' => false, 699 'type' => 'enum', 700 'enum' => array_merge(array('' => _("Default (US-ASCII)")), 701 $GLOBALS['nls']['encodings']), 702 'desc' => _("The default charset for messages with no charset information:"), 703 'help' => 'prefs-default_msg_charset'); 704 705 $_prefs['disposition_send_mdn'] = array( 706 'value' => 0, 707 'locked' => false, 708 'shared' => false, 709 'type' => 'checkbox', 710 'desc' => _("Send read receipt when requested by the sender?"), 711 'help' => 'prefs-disposition_send_mdn' 712 ); 713 714 // End Message Viewing preferences 715 716 717 // Deleting and Moving Messages preferences 718 719 // should we return to the mailbox listing after deleting a message? 720 $_prefs['mailbox_return'] = array( 721 'value' => 0, 722 'locked' => false, 723 'shared' => false, 724 'type' => 'checkbox', 725 'desc' => _("Return to the mailbox listing after deleting, moving, or copying a message?")); 726 727 // should we move messages to a trash folder instead of just marking 728 // them as deleted? 729 $_prefs['use_trash'] = array( 730 'value' => 0, 731 'locked' => false, 732 'shared' => false, 733 'type' => 'checkbox', 734 'desc' => _("When deleting messages, move them to your Trash folder instead of marking them as deleted?")); 735 736 // use Virtual Trash folder 737 $_prefs['use_vtrash'] = array( 738 'value' => 0, 739 'locked' => false, 740 'shared' => false, 741 'type' => 'checkbox', 742 'desc' => _("Use Virtual Trash Folder?")); 743 744 // virtual trash folder identifier 745 $_prefs['vtrash_id'] = array( 746 'value' => '', 747 'locked' => false, 748 'shared' => false, 749 'type' => 'implicit'); 750 751 // display the 'Empty Trash' link in the menubar? 752 $_prefs['empty_trash_menu'] = array( 753 'value' => 1, 754 'locked' => false, 755 'shared' => false, 756 'type' => 'checkbox', 757 'desc' => _("Display the \"Empty Trash\" link in the menubar?")); 758 759 // display the 'Empty Spam' link in the menubar? 760 $_prefs['empty_spam_menu'] = array( 761 'value' => 0, 762 'locked' => false, 763 'shared' => false, 764 'type' => 'checkbox', 765 'desc' => _("Display the \"Empty Spam\" link in the menubar?")); 766 767 // hide deleted 768 $_prefs['delhide'] = array( 769 'value' => 0, 770 'locked' => false, 771 'shared' => false, 772 'type' => 'implicit'); 773 774 // End Deleting and Moving Messages preferences 775 776 777 // New Mail preferences 778 779 // time before reloading the navigator or mailbox page 780 $_prefs['refresh_time'] = array( 781 'value' => 0, 782 'locked' => false, 783 'shared' => false, 784 'type' => 'enum', 785 'enum' => array(0 => _("Never"), 786 30 => _("Every 30 seconds"), 787 60 => _("Every minute"), 788 300 => _("Every 5 minutes"), 789 900 => _("Every 15 minutes"), 790 1800 => _("Every half hour")), 791 'desc' => _("Refresh Folder Views:")); 792 793 // javascript popup if there's new mail? 794 $_prefs['nav_popup'] = array( 795 'value' => 0, 796 'locked' => false, 797 'shared' => false, 798 'type' => 'checkbox', 799 'desc' => _("Display pop-up notification of new mail?")); 800 801 $_prefs['nav_audio'] = array( 802 'value' => 0, 803 'locked' => false, 804 'shared' => false, 805 'type' => 'checkbox', 806 'desc' => _("Play sound on new mail? This requires your browser to support embedded sound files. Almost all do on Windows and Mac, but other platforms will require a plugin.")); 807 808 // End New Mail preferences 809 810 811 // Message Preview Preferences 812 813 $_prefs['preview_enabled'] = array( 814 'value' => '0', 815 'locked' => false, 816 'shared' => false, 817 'type' => 'checkbox', 818 'desc' => _("Enable message previews?") 819 ); 820 821 $_prefs['preview_maxlen'] = array( 822 'value' => 250, 823 'locked' => false, 824 'shared' => false, 825 'type' => 'enum', 826 'enum' => array(100 => _("100 characters"), 827 250 => _("250 characters"), 828 500 => _("500 characters"), 829 1000 => _("1000 characters"), 830 -1 => _("All")), 831 'desc' => _("Characters to display:") 832 ); 833 834 $_prefs['preview_strip_nl'] = array( 835 'value' => '1', 836 'locked' => false, 837 'shared' => false, 838 'type' => 'checkbox', 839 'desc' => _("Strip linebreaks?") 840 ); 841 842 $_prefs['preview_show_unread'] = array( 843 'value' => '1', 844 'locked' => false, 845 'shared' => false, 846 'type' => 'checkbox', 847 'desc' => _("Show previews for unread messages only?") 848 ); 849 850 $_prefs['preview_show_tooltip'] = array( 851 'value' => '0', 852 'locked' => false, 853 'shared' => false, 854 'type' => 'checkbox', 855 'desc' => _("Show previews in tooltips?") 856 ); 857 858 // End Message Preview 859 860 861 // Fetch Mail preferences 862 863 // Change this if you want to customize how fetchmailprefs.php works. 864 $_prefs['fetchmail_link'] = array( 865 'type' => 'link', 866 'url' => 'fetchmailprefs.php', 867 'img' => 'fetchmail.png', 868 'desc' => _("Edit your preferences for accessing other mail accounts.")); 869 870 // Fetch mail on separate window? 871 $_prefs['fetchmail_popup'] = array( 872 'value' => 0, 873 'locked' => false, 874 'shared' => false, 875 'type' => 'checkbox', 876 'desc' => _("Fetch Mail in a separate window?")); 877 878 // Show the Fetch mail icon on the menubar? 879 $_prefs['fetchmail_menu'] = array( 880 'value' => 1, 881 'locked' => false, 882 'shared' => false, 883 'type' => 'checkbox', 884 'desc' => _("Show the Fetch Mail icon on the menubar?")); 885 886 // Don't change anything here. 887 $_prefs['fm_accounts'] = array( 888 'value' => 'a:0:{}', 889 'locked' => false, 890 'shared' => false, 891 'type' => 'implicit'); 892 893 $_prefs['fetchmail_login'] = array( 894 'value' => 0, 895 'locked' => false, 896 'shared' => false, 897 'type' => 'implicit'); 898 899 // End Fetch Mail preferences 900 901 902 // Display Options preferences 903 904 // which page to start on when opening mailbox 905 $_prefs['mailbox_start'] = array( 906 'value' => IMP_MAILBOXSTART_FIRSTUNSEEN, 907 'locked' => false, 908 'shared' => false, 909 'type' => 'enum', 910 'enum' => array(IMP_MAILBOXSTART_FIRSTUNSEEN => _("Page with the First Unseen Message"), 911 IMP_MAILBOXSTART_LASTUNSEEN => _("Page with the Last Unseen Message"), 912 IMP_MAILBOXSTART_FIRSTPAGE => _("First Mailbox Page"), 913 IMP_MAILBOXSTART_LASTPAGE => _("Last Mailbox Page")), 914 'desc' => _("When opening a new mailbox, which page do you want to start on?"), 915 'help' => 'prefs-mailbox_start'); 916 917 // user preferred sorting column 918 $_prefs['sortby'] = array( 919 'value' => SORTARRIVAL, 920 'locked' => false, 921 'shared' => false, 922 'type' => 'enum', 923 'enum' => array(SORTARRIVAL => _("Arrival Time"), 924 SORTDATE => _("Message Date"), 925 SORTFROM => _("From Address"), 926 SORTTO => _("To Address"), 927 SORTSUBJECT => _("Subject Field"), 928 SORTSIZE => _("Message Size"), 929 SORTTHREAD => _("Thread View")), 930 'desc' => _("Default sorting criteria:")); 931 932 // user preferred sorting direction 933 $_prefs['sortdir'] = array( 934 'value' => 0, 935 'locked' => false, 936 'shared' => false, 937 'type' => 'enum', 938 'enum' => array(0 => _("Ascending"), 939 1 => _("Descending")), 940 'desc' => _("Default sorting direction:")); 941 942 // mailbox constraints 943 $_prefs['max_msgs'] = array( 944 'value' => 20, 945 'locked' => false, 946 'shared' => false, 947 'type' => 'number', 948 'desc' => _("Messages per page in the mailbox view.")); 949 950 // How the from field should be displayed on the mailbox screen 951 $_prefs['from_link'] = array( 952 'value' => 1, 953 'locked' => false, 954 'shared' => false, 955 'type' => 'enum', 956 'enum' => array( 957 0 => _("Clicking on the address will compose a new message to the sender"), 958 1 => _("Clicking on the address will open the message to be read"), 959 2 => _("Do not generate a link in the From: column") 960 ), 961 'desc' => _("The From: column of the message should be linked:")); 962 963 // Time format for messages dated today 964 $_prefs['time_format'] = array( 965 'value' => '%X', 966 'locked' => false, 967 'shared' => false, 968 'type' => 'enum', 969 'enum' => array( 970 '%X' => strftime('%X'), 971 '%H:%M:%S' => strftime('%H:%M:%S'), 972 '%I:%M:%S %p' => strftime('%I:%M:%S %p'), 973 '%H:%M' => strftime('%H:%M'), 974 '%I:%M%p' => strftime('%I:%M%p'), 975 ), 976 'desc' => _("Format of message dates in the mailbox view for messages dated today")); 977 978 // expand folder tree by default 979 $_prefs['nav_expanded'] = array( 980 'value' => 0, 981 'locked' => false, 982 'shared' => false, 983 'type' => 'enum', 984 'enum' => array(0 => _("No"), 985 1 => _("Yes"), 986 2 => _("Remember the last view")), 987 'desc' => _("Expand the entire folder tree by default in the folders view?")); 988 989 // expand folder tree by default in sidebar 990 $_prefs['nav_expanded_sidebar'] = array( 991 'value' => 0, 992 'locked' => false, 993 'shared' => false, 994 'type' => 'enum', 995 'enum' => array(0 => _("No"), 996 1 => _("Yes"), 997 2 => _("Current expanded status in the folders view")), 998 'desc' => _("Expand the entire folder tree by default in the sidebar?")); 999 1000 // list of folders to expand by default 1001 $_prefs['expanded_folders'] = array( 1002 'value' => 'a:0:{}', 1003 'locked' => false, 1004 'shared' => false, 1005 'type' => 'implicit'); 1006 1007 // list of folders to poll for new mail 1008 $_prefs['nav_poll'] = array( 1009 'value' => '', 1010 'locked' => false, 1011 'shared' => false, 1012 'type' => 'implicit'); 1013 1014 // show mailbox legend? 1015 $_prefs['show_legend'] = array( 1016 'value' => 1, 1017 'locked' => false, 1018 'shared' => false, 1019 'type' => 'checkbox', 1020 'desc' => _("Show legend in the mailbox view?")); 1021 1022 // End Display Options preferences 1023 1024 1025 // Search preferences 1026 1027 // default search selection widget. this needs to be dynamically built. 1028 $_prefs['defaultsearchselect'] = array('type' => 'special'); 1029 1030 // default search field 1031 $_prefs['default_search'] = array( 1032 'value' => '', 1033 'locked' => false, 1034 'shared' => false, 1035 'type' => 'implicit'); 1036 1037 // End Search preferences 1038 1039 1040 // Filter preferences 1041 1042 // run filters on login? 1043 $_prefs['filter_on_login'] = array( 1044 'value' => 0, 1045 'locked' => false, 1046 'shared' => false, 1047 'type' => 'implicit'); 1048 1049 // run filters with INBOX display? 1050 $_prefs['filter_on_display'] = array( 1051 'value' => 0, 1052 'locked' => false, 1053 'shared' => false, 1054 'type' => 'implicit'); 1055 1056 // show filter icon on the menubar? 1057 $_prefs['filter_menuitem'] = array( 1058 'value' => 0, 1059 'locked' => false, 1060 'shared' => false, 1061 'type' => 'implicit'); 1062 1063 // Allow filters to be applied to any mailbox? 1064 $_prefs['filter_any_mailbox'] = array( 1065 'value' => 0, 1066 'locked' => false, 1067 'shared' => false, 1068 'type' => 'implicit'); 1069 1070 // End Filter preferences 1071 1072 1073 // Address book preferences 1074 1075 // Should names in the compose window be expanded automagically? 1076 $_prefs['auto_expand'] = array( 1077 'value' => 1, 1078 'locked' => false, 1079 'shared' => false, 1080 'type' => 'checkbox', 1081 'desc' => _("Expand names in the compose window automatically in the background?")); 1082 1083 // Should recipients of outgoing messages be added automatically to 1084 // the address book? 1085 $_prefs['save_recipients'] = array( 1086 'value' => 0, 1087 'locked' => false, 1088 'shared' => false, 1089 'type' => 'checkbox', 1090 'desc' => _("Save recipients automatically to the default address book?")); 1091 1092 // By default, display all contacts in the address book when loading 1093 // the contacts screen. If your default address book is large and 1094 // slow to display, you may want to disable and lock this option. 1095 $_prefs['display_contact'] = array( 1096 'value' => 1, 1097 'locked' => false, 1098 'shared' => true, 1099 'type' => 'checkbox', 1100 'desc' => _("List all contacts when loading the contacts screen? (if disabled, you will only see contacts that you search for explicitly)")); 1101 1102 // address book selection widget 1103 $_prefs['sourceselect'] = array('type' => 'special'); 1104 1105 // address book(s) to use when expanding addresses 1106 // You can provide default values this way (note the \t and the double quotes): 1107 // 'value' => "source_one\tsource_two" 1108 // refer to turba/config/sources.php for possible source values 1109 $_prefs['search_sources'] = array( 1110 'value' => "", 1111 'locked' => false, 1112 'shared' => false, 1113 'type' => 'implicit'); 1114 1115 // field(s) to use when expanding addresses 1116 // This depends on the search_sources preference if you want to provide 1117 // default values: 1118 // 'value' => "source_one\tfield_one\tfield_two\nsource_two\tfield_three" 1119 // will search the fields 'field_one' and 'field_two' in source_one and 1120 // 'field_three' in source_two. 1121 // refer to turba/config/sources.php for possible source and field values 1122 $_prefs['search_fields'] = array( 1123 'value' => "", 1124 'locked' => false, 1125 'shared' => false, 1126 'type' => 'implicit'); 1127 1128 // address book to use for adding addresses 1129 // put $cfgSources array element name in the value field. 1130 // Setting value to localsql would allow you to add contacts to MySQL database 1131 // See turba/config/sources.php for more info 1132 $_prefs['add_source'] = array( 1133 'value' => '', 1134 // 'value' => 'localsql', 1135 'locked' => false, 1136 'shared' => true, 1137 'type' => 'implicit' 1138 ); 1139 1140 // End Address book preferences 1141 1142 1143 // PGP options 1144 1145 // Activate PGP support? 1146 $_prefs['use_pgp'] = array( 1147 'value' => 0, 1148 'locked' => false, 1149 'shared' => false, 1150 'type' => 'implicit' 1151 ); 1152 1153 // You should not manually change the rest of the PGP entries 1154 $_prefs['pgp_attach_pubkey'] = array( 1155 'value' => 0, 1156 'locked' => false, 1157 'shared' => false, 1158 'type' => 'implicit'); 1159 1160 $_prefs['pgp_scan_body'] = array( 1161 'value' => 0, 1162 'locked' => false, 1163 'shared' => false, 1164 'type' => 'implicit'); 1165 1166 $_prefs['pgp_private_key'] = array( 1167 'value' => '', 1168 'locked' => false, 1169 'shared' => false, 1170 'type' => 'implicit'); 1171 1172 $_prefs['pgp_public_key'] = array( 1173 'value' => '', 1174 'locked' => false, 1175 'shared' => false, 1176 'type' => 'implicit'); 1177 1178 // End PGP Options 1179 1180 // S/MIME options 1181 1182 // Activate S/MIME support? 1183 $_prefs['use_smime'] = array( 1184 'value' => 0, 1185 'locked' => false, 1186 'shared' => false, 1187 'type' => 'implicit'); 1188 1189 // You should not manually change the rest of the S/MIME entries 1190 $_prefs['smime_private_key'] = array( 1191 'value' => '', 1192 'locked' => false, 1193 'shared' => false, 1194 'type' => 'implicit'); 1195 1196 $_prefs['smime_public_key'] = array( 1197 'value' => '', 1198 'locked' => false, 1199 'shared' => false, 1200 'type' => 'implicit'); 1201 1202 $_prefs['smime_additional_cert'] = array( 1203 'value' => '', 1204 'locked' => false, 1205 'shared' => false, 1206 'type' => 'implicit'); 1207 1208 // End S/MIME Options 1209 1210 // Other entries (used internally in IMP) 1211 1212 // virtual inbox identifier 1213 $_prefs['vinbox_id'] = array( 1214 'value' => '', 1215 'locked' => false, 1216 'shared' => false, 1217 'type' => 'implicit');
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 12:30:07 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |