Changeset 18838


Ignore:
Timestamp:
2010/10/01 21:39:13 (14 years ago)
Author:
Ringo
Message:

#634(new バグ指摘) まずは「お気に入り一覧」にて。。。修正方法に問題なければ、残りにも適用。

Location:
branches/version-2_5-dev/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/default/mypage/navi.tpl

    r18700 r18838  
    2828                購入履歴一覧</a></li> 
    2929            <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1}--> 
    30                 <li><a href="favorite.php" class="<!--{if $tpl_mypageno == 'favorite'}--> selected<!--{/if}-->"> 
    31                     お気に入り一覧</a></li> 
     30                <!--{if $tpl_login}--> 
     31                    <li><a href="favorite.php" class="<!--{if $tpl_mypageno == 'favorite'}--> selected<!--{/if}-->"> 
     32                           お気に入り一覧</a></li> 
     33                <!--{else}--> 
     34                       <!--{* 退会時、TOPページへ *}--> 
     35                    <li><a href="/index.php" class="<!--{if $tpl_mypageno == 'favorite'}--> selected<!--{/if}-->"> 
     36                           お気に入り一覧</a></li> 
     37                <!--{/if}--> 
    3238            <!--{/if}--> 
    3339            <li><a href="change.php" class="<!--{if $tpl_mypageno == 'change'}--> selected<!--{/if}-->"> 
  • branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Favorite.php

    r18820 r18838  
    4848     */ 
    4949    function init() { 
     50     
    5051        parent::init(); 
    5152        $this->tpl_mainpage = TEMPLATE_DIR .'mypage/favorite.tpl'; 
     
    6869        $objQuery = new SC_Query(); 
    6970        $objCustomer = new SC_Customer(); 
    70  
     71         
     72         // 退会判定用情報の取得 
     73        $this->tpl_login = $objCustomer->isLoginSuccess(); 
     74         
    7175        // レイアウトデザインを取得 
    7276        $objLayout = new SC_Helper_PageLayout_Ex(); 
Note: See TracChangeset for help on using the changeset viewer.