Changeset 14056 for branches/dev
- Timestamp:
- 2007/06/01 11:39:32 (19 years ago)
- File:
-
- 1 edited
-
branches/dev/data/lib/slib.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/lib/slib.php
r14055 r14056 1674 1674 $where = "template_id = ?"; 1675 1675 $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']; 1677 1677 // $objPage->tpl_footer = $arrRet[0]['footer']; 1678 1678 $tmp_subject = $arrRet[0]['subject']; 1679 1679 } else { 1680 $objPage->tpl_ header= $body;1680 $objPage->tpl_body = $body; 1681 1681 // $objPage->tpl_footer = $footer; 1682 1682 $tmp_subject = $subject; … … 1727 1727 if($arrRet[0]['send_type']==1){ 1728 1728 $body = $objMailView->fetch($arrMAILTPLPATH[1]); 1729 $body = ereg_replace( "(\[\[body\]\])", $body , $objPage->tpl_ header);1729 $body = ereg_replace( "(\[\[body\]\])", $body , $objPage->tpl_body ); 1730 1730 }else{ 1731 1731 $body = $objMailView->fetch($arrMAILTPLPATH[0]); 1732 $body = ereg_replace( "(\[\[body\]\])", $body , $objPage->tpl_ header);1732 $body = ereg_replace( "(\[\[body\]\])", $body , $objPage->tpl_body ); 1733 1733 } 1734 1734
Note: See TracChangeset
for help on using the changeset viewer.
