90. File Comparison Report

Produced on Mon May 12 13:04:46 2008 UTC. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

90.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.0.5\groups\orca\classes BxMail.php Wed Oct 17 08:48:22 2007 UTC
2 Dolphin-v.6.1.0\groups\orca\classes BxMail.php Wed Apr 9 17:44:58 2008 UTC

90.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 8 80
Changed 6 37
Inserted 1 1
Removed 0 0

90.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

90.4 Active regular expressions

No regular expressions were active.

90.5 Comparison detail

1   <?   1   <?
2   /********* ********** ********** ********** ********** ********** ********** ******   2   /********* ********** ********** ********** ********** ********** ********** ******
3   *                              O rca Intera ctive Foru m Script   3   *                              O rca Intera ctive Foru m Script
4   *                                  ---------- -----
  4   *                                  ---------- ----- --
5   *       Start e d                :   Fr   Nov   10   2006   5   *       b e gin                   :   Fr   Nov   10   2006
6   *       C opyright          :   (C)   200 7   BoonEx   Group   6   *       c opyright               :   (C)   200 6   BoonEx   Group
7   *       W ebsite                :   http://www .boonex.co m
  7   *       w ebsite                 :   http://www .boonex.co m /
8   * This fil e is part  of Orca -  Interactiv e Forum Sc ript   8   * This fil e is part  of Orca -  Interactiv e Forum Sc ript
9   *   9   *
10   *   Orca   is   free   software ;   y o u   c a n   r ed
i
s
tribut e   i t   and/ o r   modify   i t   u n d e r  
  10   *   Orca   is   free   software .   This   w o rk   is   li c e n s ed   under   a   Creat i ve   Common s   At tribut
i
o n   3.0   L i ce n s e .  
11   * the term s of the G NU General  Public Li cense as p ublished b y the    11   * http://c reativecom mons.org/l icenses/by /3.0/
12   * Free Sof tware Foun dation; ei ther versi on 2 of th    
13   * License,  or any la ter versio n.          
14   *   12   *
15   * Orca is  distribute d in the h ope that i t will be  useful, bu t WITHOUT  ANY WARRAN TY;   13   * Orca is  distribute d in the h ope that i t will be  useful, bu t WITHOUT  ANY WARRAN TY;
16   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.   14   * without  even the i mplied war ranty of   MERCHANTAB ILITY or F ITNESS FOR  A PARTICU LAR PURPOS E.
17   *   See   the   GNU   G e n e
r al   Pu b l i c   License   for   more   details.  
  15   *   See   the   Cr e ativ e   Commons   Att r i b ut i on   3.0   License   for   more   details.  
18   *   You   should   have   received   a   copy   of   the   GNU   G e n e
r al   Pu b l i c   License   along   with   Orca,  
  16   *   You   should   have   received   a   copy   of   the   Cr e ativ e   Commons   Att r i b ut i on   3.0   License   along   with   Orca,  
19   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m   17   * see lice nse.txt fi le; if not , write to  marketing @boonex.co m
20   ********** ********** ********** ********** ********** ********** ********** *****/   18   ********** ********** ********** ********** ********** ********** ********** *****/
21     19  
22     20  
23   //  mail s ending cla ss   21   //  mail s ending cla ss
24     22  
25   class BxMa il extends  Mistake    23   class BxMa il extends  Mistake 
26   {      24   {   
27       var $_ sSenderNam e = 'Orca  Forum';   25       var $_ sSenderNam e = 'Orca  Forum';
28          26  
29       /**   27       /**
30        * sen d mail wit h password   28        * sen d mail wit h password
31        * @pa ram $p     email temp late varia bles to re place   29        * @pa ram $p     email temp late varia bles to re place
32        */    30        */ 
33       functi on sendAct ivationMai l (&$p)   31       functi on sendAct ivationMai l (&$p)
34       {   32       {
35           gl obal $gCon f;   33           gl obal $gCon f;
36     34  
37            $subj   =   " Orc a   For u m   Registrati on   Details ";   35            $subj   =   " [L[M a il   S u bj   Registrati on ]] ";
38     36  
39           $m ailContent  = <<<EOF   37           $m ailContent  = <<<EOF
40   Dear {user name},   38   [L[Mail Bo dy Registr ation]]
41      
42   Your usern ame: {user name}    
43   Your passw ord: {pwd}    
44   Site URL:  {$gConf['u rl']['base ']}    
45      
46   Thank you  for joinin g.    
47      
48   Best Regar ds, Orca F orum.    
49      
50   EOF;   39   EOF;
51     40  
    41           $p ['site_url '] = $gCon f['url'][' base'];
52           fo r (reset ( $p) ; list  ($k, $v)  = each ($p ); )   42           fo r (reset ( $p) ; list  ($k, $v)  = each ($p ); )
53           {   43           {
54                $mailCon tent = str _replace ( '{'.$k.'}' , $v, $mai lContent);   44                $mailCon tent = str _replace ( '{'.$k.'}' , $v, $mai lContent);
55           }   45           }
56     46           
57     47  
58            $headers   =   "From:
"   .   $gConf['em ail']['sen der']   .   "
\r\nConten t-type:   text/html
";               
  48            $headers   =   "From:   =?UTF-8?B? "   .   base64_enc ode($gConf ['def_titl e'])   .   "?=   < "   .   $gConf['em ail']['sen der']   .   " > \r\nConten t-type:   text/html ;   charset=UT F-8\r\n ";                  
59              49           $s ubj = '=?U TF-8?B?' .  base64_en code($subj ) . '?=';
60            return   mail   ($p['email '],   $subj,   $mailConte nt,   $ t h is->additi onalH eaders,   '-f'.$gCon f['email'] ['sender'] );   50            return   mail   ($p['email '],   $subj,   $mailConte nt,   $
h
eaders,   '-f'.$gCon f['email'] ['sender'] );
61       }   51       }
62          52       
63   }   53   }
64   ?>   54   ?>