Changeset 14056 for branches/dev


Ignore:
Timestamp:
2007/06/01 11:39:32 (19 years ago)
Author:
nakanishi
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/lib/slib.php

    r14055 r14056  
    16741674        $where = "template_id = ?"; 
    16751675        $arrRet = $objQuery->select("subject, body", "dtb_mailtemplate", $where, array($template_id)); 
    1676         $objPage->tpl_header = $arrRet[0]['body']; 
     1676        $objPage->tpl_body = $arrRet[0]['body']; 
    16771677//      $objPage->tpl_footer = $arrRet[0]['footer']; 
    16781678        $tmp_subject = $arrRet[0]['subject']; 
    16791679    } else { 
    1680         $objPage->tpl_header = $body; 
     1680        $objPage->tpl_body = $body; 
    16811681//      $objPage->tpl_footer = $footer; 
    16821682        $tmp_subject = $subject; 
     
    17271727    if($arrRet[0]['send_type']==1){ 
    17281728       $body = $objMailView->fetch($arrMAILTPLPATH[1]); 
    1729        $body = ereg_replace( "(\[\[body\]\])", $body ,  $objPage->tpl_header ); 
     1729       $body = ereg_replace( "(\[\[body\]\])", $body ,  $objPage->tpl_body ); 
    17301730    }else{ 
    17311731       $body = $objMailView->fetch($arrMAILTPLPATH[0]);  
    1732        $body = ereg_replace( "(\[\[body\]\])", $body ,  $objPage->tpl_header ); 
     1732       $body = ereg_replace( "(\[\[body\]\])", $body ,  $objPage->tpl_body ); 
    17331733    } 
    17341734     
Note: See TracChangeset for help on using the changeset viewer.