Changeset 18845
- Timestamp:
- 2010/10/02 14:52:43 (16 years ago)
- Location:
- branches/version-2_5-dev/data
- Files:
-
- 4 edited
-
Smarty/templates/default/mypage/delivery.tpl (modified) (1 diff)
-
Smarty/templates/default/mypage/navi.tpl (modified) (1 diff)
-
class/pages/mypage/LC_Page_Mypage_Delivery.php (modified) (1 diff)
-
class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/Smarty/templates/default/mypage/delivery.tpl
r18700 r18845 32 32 33 33 <!--{if $tpl_linemax < $smarty.const.DELIV_ADDR_MAX}--> 34 <!--{* 退会時非表示 *}--> 35 <!--{if $tpl_login}--> 34 36 <p class="addbtn"> 35 37 <a href="<!--{$smarty.const.URL_DIR}-->mypage/delivery_addr.php" onclick="win03('./delivery_addr.php','delivadd','600','640'); return false;" onmouseover="chgImg('<!--{$TPL_DIR}-->img/common/newadress_on.gif','newadress');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/common/newadress.gif','newadress');" target="_blank"><img src="<!--{$TPL_DIR}-->img/common/newadress.gif" width="160" height="22" alt="新しいお届け先を追加" border="0" name="newadress" /></a> 36 38 </p> 39 <!--{/if}--> 37 40 <!--{/if}--> 38 41 -
branches/version-2_5-dev/data/Smarty/templates/default/mypage/navi.tpl
r18840 r18845 43 43 44 44 <!--{* 退会状態 *}--> 45 <li><a href=" /index.php" class="<!--{if $tpl_mypageno == 'index'}--> selected<!--{/if}-->">45 <li><a href="<!--{$smarty.const.URL_SITE_TOP}-->" class="<!--{if $tpl_mypageno == 'index'}--> selected<!--{/if}-->"> 46 46 購入履歴一覧</a></li> 47 47 <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1}--> 48 <li><a href=" /index.php" class="<!--{if $tpl_mypageno == 'favorite'}--> selected<!--{/if}-->">48 <li><a href="<!--{$smarty.const.URL_SITE_TOP}-->" class="<!--{if $tpl_mypageno == 'favorite'}--> selected<!--{/if}-->"> 49 49 お気に入り一覧</a></li> 50 50 <!--{/if}--> 51 <li><a href=" /index.php" class="<!--{if $tpl_mypageno == 'change'}--> selected<!--{/if}-->">51 <li><a href="<!--{$smarty.const.URL_SITE_TOP}-->" class="<!--{if $tpl_mypageno == 'change'}--> selected<!--{/if}-->"> 52 52 会員登録内容変更</a></li> 53 <li><a href=" /index.php" class="<!--{if $tpl_mypageno == 'delivery'}--> selected<!--{/if}-->">53 <li><a href="<!--{$smarty.const.URL_SITE_TOP}-->" class="<!--{if $tpl_mypageno == 'delivery'}--> selected<!--{/if}-->"> 54 54 お届け先追加・変更</a></li> 55 <li><a href=" /index.php" class="<!--{if $tpl_mypageno == 'refusal'}--> selected<!--{/if}-->">55 <li><a href="<!--{$smarty.const.URL_SITE_TOP}-->" class="<!--{if $tpl_mypageno == 'refusal'}--> selected<!--{/if}-->"> 56 56 退会手続き</a></li> 57 57 <!--{/if}--> -
branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Delivery.php
r18840 r18845 69 69 $this->tpl_login = $objCustomer->isLoginSuccess(); 70 70 71 //ログイン判定 72 if(!$objCustomer->isLoginSuccess()) { 73 SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR); 74 }else { 71 // ポップアップを開けたまま退会された状態でポップアップが閉じた場合のエラー画面の抑止。 72 // コメントアウトした「ログイン判定」は他の「Mypage」内に施した退会時処理で補間。 73 74 // XXX コメントアウトによる問題が確認された場合はコメントアウトを外し、エラー画面が出る様に戻す。 75 ////ログイン判定 76 // if(!$objCustomer->isLoginSuccess()) { 77 // SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR); 78 // }else { 75 79 //マイページトップ顧客情報表示用 76 80 $this->CustomerName1 = $objCustomer->getvalue('name01'); 77 81 $this->CustomerName2 = $objCustomer->getvalue('name02'); 78 82 $this->CustomerPoint = $objCustomer->getvalue('point'); 79 }83 //} 80 84 81 85 // レイアウトデザインを取得 -
branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php
r18820 r18845 70 70 } 71 71 $this->ParentPage = $ParentPage; 72 73 // ログイン判定72 73 // ログイン判定 及び 退会判定 74 74 if (!$objCustomer->isLoginSuccess()){ 75 SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR); 76 } 75 $this->tpl_onload = "fnUpdateParent('". $this->getLocation($_POST['ParentPage']) ."'); window.close();"; 76 } 77 78 //退会判定に統合 79 ////ログイン判定 80 // if (!$objCustomer->isLoginSuccess()){ 81 // SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR); 82 //} 77 83 78 84 if (!isset($_POST['mode'])) $_POST['mode'] = "";
Note: See TracChangeset
for help on using the changeset viewer.
