Changeset 6c6bb09 in github


Ignore:
Timestamp:
Oct 6, 2010 3:23:17 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
d24b845
Parents:
50baa6c
Message:
  • Add mdn_request=4
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • config/main.inc.php.dist

    r76ee6ca r6c6bb09  
    338338// 0 = ask the user, 1 = send automatically, 2 = ignore (never send or ask) 
    339339// 3 = send automatically if sender is in addressbook, otherwise ask the user 
     340// 4 = send automatically if sender is in addressbook, otherwise ignore 
    340341$rcmail_config['mdn_requests'] = 0; 
    341342 
  • installer/config.php

    r50baa6c r6c6bb09  
    575575    0 => 'ask the user', 
    576576    1 => 'send automatically', 
    577     3 => 'send receipt to user contacts only', 
     577    3 => 'send receipt to user contacts, otherwise ask the user', 
     578    4 => 'send receipt to user contacts, otherwise ignore', 
    578579    2 => 'ignore', 
    579580); 
  • program/localization/en_US/labels.inc

    re25a357 r6c6bb09  
    327327$labels['askuser'] = 'ask me'; 
    328328$labels['autosend'] = 'send receipt'; 
    329 $labels['autosendknown'] = 'send receipt to my contacts only'; 
     329$labels['autosendknown'] = 'send receipt to my contacts, otherwise ask me'; 
     330$labels['autosendknownignore'] = 'send receipt to my contacts, otherwise ignore'; 
    330331$labels['ignore'] = 'ignore'; 
    331332$labels['readwhendeleted'] = 'Mark the message as read on delete'; 
  • program/localization/pl_PL/labels.inc

    rb3660bb r6c6bb09  
    299299$labels['askuser'] = 'pytaj mnie'; 
    300300$labels['autosend'] = 'wyślij potwierdzenie'; 
    301 $labels['autosendknown'] = 'wyślij potwierdzenie tylko do moich kontaktów'; 
     301$labels['autosendknown'] = 'wyślij potwierdzenie tylko do moich kontaktów, pytaj o pozostałe'; 
     302$labels['autosendknownignore'] = 'wyślij potwierdzenie tylko do moich kontaktów, pozostałe ignoruj'; 
    302303$labels['ignore'] = 'ignoruj'; 
    303304$labels['readwhendeleted'] = 'Podczas usuwania oznacz wiadomość jako przeczytanĠ
     
    400401$labels['contacts'] = 'Kontakty'; 
    401402$labels['messageoptions'] = 'Opcje wiadomości...'; 
     403$labels['mailreplyto'] = 'Mail-Reply-To'; 
     404$labels['mailfollowupto'] = 'Mail-Followup-To'; 
     405$labels['mailreply-to'] = 'Mail-Reply-To'; 
     406$labels['mailfollowup-to'] = 'Mail-Followup-To'; 
     407$labels['replyall'] = 'Odpowiedz wszystkim'; 
     408$labels['replylist'] = 'Odpowiedz na listę'; 
     409$labels['editidents'] = 'Edytuj toÅŒsamości'; 
     410$labels['addmailreplyto'] = 'Dodaj Mail-Reply-To'; 
     411$labels['addmailfollowupto'] = 'Dodaj Mail-Followup-To'; 
    402412 
    403413?> 
  • program/steps/mail/show.inc

    re25a357 r6c6bb09  
    7777    $mdn_cfg = intval($CONFIG['mdn_requests']); 
    7878 
    79     if ($mdn_cfg == 1 || ($mdn_cfg == 3 && rcmail_contact_exists($MESSAGE->sender['mailto']))) { 
     79    if ($mdn_cfg == 1 || (($mdn_cfg == 3 || $mdn_cfg ==  4) && rcmail_contact_exists($MESSAGE->sender['mailto']))) { 
    8080      // Send MDN 
    8181      if (rcmail_send_mdn($MESSAGE, $smtp_error)) 
     
    8383      else if ($smtp_error) 
    8484        $OUTPUT->show_message($smtp_error['label'], 'error', $smtp_error['vars']); 
    85       else       
     85      else 
    8686        $OUTPUT->show_message('errorsendingreceipt', 'error'); 
    8787    } 
    88     else if ($mdn_cfg != 2) { 
     88    else if ($mdn_cfg != 2 && $mdn_cfg != 4) { 
    8989      // Ask user 
    9090      $OUTPUT->add_label('mdnrequest'); 
  • program/steps/settings/func.inc

    rb3660bb r6c6bb09  
    325325      $select_mdn_requests->add(rcube_label('autosend'), 1); 
    326326      $select_mdn_requests->add(rcube_label('autosendknown'), 3); 
     327      $select_mdn_requests->add(rcube_label('autosendknownignore'), 4); 
    327328      $select_mdn_requests->add(rcube_label('ignore'), 2); 
    328329 
Note: See TracChangeset for help on using the changeset viewer.