Changeset 16156 for branches/feature-module-update/data/class
- Timestamp:
- 2007/09/28 15:47:05 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/forgot/LC_Page_Forgot.php
r16089 r16156 50 50 function process() { 51 51 $conn = new SC_DBConn(); 52 $objView = new SC_SiteView(); 52 $objView = null; 53 54 if (MOBILE_SITE) { 55 $objView = new SC_MobileView(); 56 } else { 57 $objView = new SC_SiteView(); 58 } 59 53 60 $objSess = new SC_Session(); 54 61 … … 147 154 } 148 155 156 // モバイルサイトの場合はトークン生成 157 if (MOBILE_SITE) { 158 $this->createMobileToken(); 159 } 160 149 161 //---- ページ表示 150 162 $objView->assignobj($this); 151 163 $objView->display($this->tpl_mainpage); 164 } 165 166 /** 167 * モバイルページを初期化する. 168 * 169 * @return void 170 */ 171 function mobileInit() { 172 $this->init(); 173 } 174 175 /** 176 * Page のプロセス(モバイル). 177 * 178 * @return void 179 */ 180 function mobileProcess() { 181 $this->process(); 152 182 } 153 183 … … 194 224 $objMail->sendMail(); 195 225 } 226 227 /** 228 * モバイル空メール用のトークン作成 229 * 230 * @return void 231 */ 232 function createMobileToken() { 233 $objMobile = new SC_Helper_Mobile_Ex(); 234 // 空メール用のトークンを作成。 235 if (MOBILE_USE_KARA_MAIL) { 236 $token = $objMobile->gfPrepareKaraMail('forgot/index.php'); 237 if ($token !== false) { 238 $objPage->tpl_kara_mail_to = MOBILE_KARA_MAIL_ADDRESS_USER . MOBILE_KARA_MAIL_ADDRESS_DELIMITER . 'forgot_' . $token . '@' . MOBILE_KARA_MAIL_ADDRESS_DOMAIN; 239 } 240 } 241 } 196 242 } 197 243 ?>
Note: See TracChangeset
for help on using the changeset viewer.
