Changeset 16000
- Timestamp:
- 2007/09/25 11:19:08 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/contact/LC_Page_Contact.php
r15532 r16000 14 14 * @package Page 15 15 * @author LOCKON CO.,LTD. 16 * @version $Id $16 * @version $Id:LC_Page_Contact.php 15532 2007-08-31 14:39:46Z nanasess $ 17 17 */ 18 18 class LC_Page_Contact extends LC_Page { … … 44 44 function process() { 45 45 $conn = new SC_DBConn(); 46 $ objView = new SC_SiteView();46 $this->objView = new SC_SiteView(); 47 47 $objCampaignSess = new SC_CampaignSession(); 48 48 $objDb = new SC_Helper_DB_Ex(); … … 52 52 $objCustomer = new SC_Customer(); 53 53 54 if ($objCustomer->isloginSuccess()){ 55 $objPage->arrData = $_SESSION['customer']; 56 } 54 $this->arrData = isset($_SESSION['customer']) ? $_SESSION['customer'] : ""; 57 55 58 56 //SSLURL判定 … … 132 130 133 131 //---- ページ表示 134 $ objView->assignobj($this);132 $this->objView->assignobj($this); 135 133 // フレームを選択(キャンペーンページから遷移なら変更) 136 $objCampaignSess->pageView($ objView);134 $objCampaignSess->pageView($this->objView); 137 135 } 138 136 … … 204 202 // ------------ メール送信 ------------ 205 203 206 function lfSendMail($CONF, $objPage){204 function lfSendMail($CONF, &$objPage){ 207 205 // パスワード変更お知らせメール送信 208 206 $objQuery = new SC_Query(); 209 207 $objMailText = new SC_SiteView(); 210 $objSiteInfo = $ objView->objSiteInfo;208 $objSiteInfo = $this->objView->objSiteInfo; 211 209 $arrInfo = $objSiteInfo->data; 212 210 $objPage->tpl_shopname=$arrInfo['shop_name']; … … 223 221 $fromMail_address = $CONF["email02"]; 224 222 } 225 $subject = SC_Utils_Ex::sfMakeSubject("お問い合わせがありました。"); 223 $helperMail = new SC_Helper_Mail_Ex(); 224 $subject = $helperMail->sfMakeSubject($objQuery, $objMailText, $this, "お問い合わせがありました。"); 226 225 $objMail->setItem( 227 226 $CONF["email02"] // 宛先 … … 236 235 $objMail->sendMail(); 237 236 238 $subject = SC_Utils_Ex::sfMakeSubject("お問い合わせを受け付けました。");237 $subject = $helperMail->sfMakeSubject($objQuery, $objMailText, $this, "お問い合わせを受け付けました。"); 239 238 $objMail->setItem( 240 239 '' // 宛先
Note: See TracChangeset
for help on using the changeset viewer.