Changeset fd660ac in github


Ignore:
Timestamp:
Nov 1, 2005 5:18:05 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:
6a35c82
Parents:
36df57c
Message:

Fixed safe_mode issue and visual bug

Location:
program
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • program/js/app.js

    r01bb031 rfd660ac  
    77 | Licensed under the GNU GPL                                            | 
    88 |                                                                       | 
    9  | Modified: 2005/10/26 (roundcube)                                      | 
     9 | Modified: 2005/11/01 (roundcube)                                      | 
    1010 |                                                                       | 
    1111 +-----------------------------------------------------------------------+ 
     
    12041204          { 
    12051205          this.message_rows[uid].classname += ' unread'; 
    1206           if (!this.in_selection(uid)) 
    1207             this.message_rows[uid].obj.className += ' unread'; 
     1206          this.set_classname(this.message_rows[uid].obj, 'unread', true); 
     1207 
    12081208          if (this.env.unreadicon) 
    12091209            icn_src = this.env.unreadicon; 
     
    12121212          { 
    12131213          this.message_rows[uid].classname = this.message_rows[uid].classname.replace(/\s*unread/, ''); 
    1214           if (!this.in_selection(uid)) 
    1215             this.message_rows[uid].obj.className = this.message_rows[uid].obj.className.replace(/\s*unread/, ''); 
     1214          this.set_classname(this.message_rows[uid].obj, 'unread', false); 
    12161215 
    12171216          if (this.message_rows[uid].replied && this.env.repliedicon) 
  • program/steps/mail/sendmail.inc

    rd7cb774 rfd660ac  
    195195 
    196196  $header_str = $MAIL_MIME->txtHeaders($headers_php); 
    197   $sent = mail($mailto, $msg_subject, $msg_body, $header_str, "-f$from"); 
     197   
     198  if(ini_get('safe_mode')) 
     199    $sent = mail($mailto, $msg_subject, $msg_body, $header_str); 
     200  else   
     201    $sent = mail($mailto, $msg_subject, $msg_body, $header_str, "-f$from"); 
    198202  } 
    199203 
Note: See TracChangeset for help on using the changeset viewer.