Changeset 09941ea in github


Ignore:
Timestamp:
Oct 13, 2005 5:53:33 PM (8 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
455c2bd
Parents:
520c36a
Message:

Some error messages added

Location:
program
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_imap.inc

    r520c36a r09941ea  
    580580 
    581581    return $deleted; 
    582  
    583582    } 
    584583 
  • program/js/app.js

    r42b1135 r09941ea  
    77 | Licensed under the GNU GPL                                            | 
    88 |                                                                       | 
    9  | Modified: 2005/08/19 (tbr)                                            | 
     9 | Modified: 2005/10/13 (tbr)                                            | 
    1010 |                                                                       | 
    1111 +-----------------------------------------------------------------------+ 
     
    566566      case 'nextmessage': 
    567567        if (this.env.next_uid) 
    568           location.href = this.env.comm_path+'&_action=show&_uid='+this.env.next_uid+'&_mbox='+this.env.mailbox; 
     568          this.show_message(this.env.next_uid); 
     569          //location.href = this.env.comm_path+'&_action=show&_uid='+this.env.next_uid+'&_mbox='+this.env.mailbox; 
    569570        break; 
    570571 
    571572      case 'previousmessage': 
    572573        if (this.env.prev_uid) 
    573           location.href = this.env.comm_path+'&_action=show&_uid='+this.env.prev_uid+'&_mbox='+this.env.mailbox; 
     574          this.show_message(this.env.prev_uid); 
     575          //location.href = this.env.comm_path+'&_action=show&_uid='+this.env.prev_uid+'&_mbox='+this.env.mailbox; 
    574576        break; 
    575577 
     
    965967    if (id) 
    966968      { 
    967       this.set_busy(true);    
     969      this.set_busy(true, 'loading'); 
    968970      target.location.href = this.env.comm_path+'&_action=show&_uid='+id+'&_mbox='+escape(this.env.mailbox)+add_url; 
    969971      } 
  • program/localization/en/messages.inc

    r30233b8 r09941ea  
    5353$messages['errorsaving'] = 'An error occured while saving'; 
    5454 
     55$messages['errormoving'] = 'Could not move the message'; 
     56 
     57$messages['errordeleting'] = 'Could not delete the message'; 
     58 
    5559 
    5660?> 
  • program/steps/mail/compose.inc

    r520c36a r09941ea  
    405405  else if (isset($REPLY_MESSAGE['subject'])) 
    406406    { 
    407     if (strpos($REPLY_MESSAGE['subject'], 'Re:')===0) 
     407    if (eregi('^re:', $REPLY_MESSAGE['subject'])) 
    408408      $subject = $REPLY_MESSAGE['subject']; 
    409409    else 
     
    413413  // create a forward-subject 
    414414  else if (isset($FORWARD_MESSAGE['subject'])) 
    415     $subject = 'Fwd: '.$FORWARD_MESSAGE['subject']; 
     415    { 
     416    if (eregi('^fwd:', $REPLY_MESSAGE['subject'])) 
     417      $subject = $FORWARD_MESSAGE['subject']; 
     418    else 
     419      $subject = 'Fwd: '.$FORWARD_MESSAGE['subject']; 
     420    } 
    416421 
    417422   
  • program/steps/mail/func.inc

    r597170f r09941ea  
    550550    $convert_patterns = $convert_replaces = $replace_strings = array(); 
    551551     
    552     $url_chars = 'a-z0-9_\-\+\*\$\/&%=@#'; 
     552    $url_chars = 'a-z0-9_\-\+\*\$\/&%=@#:'; 
    553553    $url_chars_within = '\?\.~,!'; 
    554554 
  • program/steps/mail/move_del.inc

    r30233b8 r09941ea  
    3131    { 
    3232    // send error message 
     33    $commands = "this.list_mailbox();\n"; 
     34    $commands .= show_message('errormoving', 'error'); 
     35    rcube_remote_response($commands); 
    3336    exit; 
    3437    } 
     
    4447    { 
    4548    // send error message 
     49    $commands = "this.list_mailbox();\n"; 
     50    $commands .= show_message('errordeleting', 'error'); 
     51    rcube_remote_response($commands); 
    4652    exit; 
    4753    } 
Note: See TracChangeset for help on using the changeset viewer.