ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 3901


Ignore:
Timestamp:
Sep 8, 2007, 1:14:46 PM (12 years ago)
Author:
ebihara
Message:

#1107:一言機能がBIZ版で機能しなくなっていたのを修正

Location:
OpenPNE/trunk/webapp_biz/modules/pc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp_biz/modules/pc/page/f_home.php

    r3847 r3901  
    3737
    3838        $is_friend = db_friend_is_friend($u, $target_c_member_id);
     39
     40        $target_c_member = db_member_c_member_with_profile($target_c_member_id, 'private');
     41
    3942        if ($is_friend) {
    40             $target_c_member = db_member_c_member_with_profile($target_c_member_id, 'friend');
    4143            // 自分が書いた紹介文
    4244            $this->set('my_friend_intro', db_friend_c_friend_intro($u, $target_c_member_id));
    4345        } else {
    44             $target_c_member = db_member_c_member_with_profile($target_c_member_id, 'public');
    4546            // 友達の友達
    4647            $this->set('friend_path', db_friend_friend_path4c_member_ids($u, $target_c_member_id));
  • OpenPNE/trunk/webapp_biz/modules/pc/page/h_home.php

    r3847 r3901  
    5757        /// 左側 ///
    5858
    59         $c_member = db_member_c_member4c_member_id($u);
     59        $c_member = db_member_c_member_with_profile($u, 'private');
    6060        // メンバー情報
    6161        $this->set('c_member', $c_member);
    62         $c_member_all = db_member_c_member_with_profile($u, 'private');
    63         $this->set('c_member_all', $c_member_all);
    6462        // フレンドリスト
    6563        $this->set('c_friend_list', db_friend_c_friend_list4c_member_id($u, 9));
  • OpenPNE/trunk/webapp_biz/modules/pc/page/h_prof.php

    r3847 r3901  
    1515        $this->set('is_h_prof', 1);
    1616        $this->set('inc_navi',fetch_inc_navi('h'));
    17         $target_c_member = db_member_c_member_with_profile($u, 'friend');
     17        $target_c_member = db_member_c_member_with_profile($u, 'private');
    1818        $this->set('is_friend', 0);
    1919        $this->set('c_diary_list', db_diary_get_c_diary_list4c_member_id($target_c_member_id, 5, null, 'friend'));
     
    2727        }
    2828        $this->set('target_c_member', $target_c_member);
    29         $target_c_member_all = db_member_c_member_with_profile($target_c_member_id, 'private');
    30         $this->set('target_c_member_all', $target_c_member_all);
    3129
    3230        $this->set('c_rss_cache_list', db_rss_c_rss_cache_list4c_member_id($target_c_member_id, 5));
  • OpenPNE/trunk/webapp_biz/modules/pc/templates/inc_f_home_h_prof.tpl

    r3806 r3901  
    871871({capture name="birth"})
    872872<!-- ここから:主内容>年齢 -->
    873 ({if $target_c_member.age !== NULL})
     873({if $target_c_member.age !== NULL && $target_c_member.public_flag_birth_year == 'private' && $target_c_member.public_flag_birth_year == 'public' || $is_h_prof || ($target_c_member.public_flag_birth_year == 'friend' && $is_friend)})
    874874<tr>
    875875<td class="border_01 bg_09 padding_s" style="width:90px;border-right:none;border-top:none;">
     
    904904({/capture})
    905905({foreach from=$target_c_member.profile key=key item=item})
     906({if $item.public_flag != "private" && ($item.public_flag == "public" || ($item.public_flag == "friend" && $is_friend) || $is_h_prof)})
    906907({strip})
    907908
     
    955956</tr>
    956957({/if})
     958({/if})
    957959<!-- ここまで:主内容>({$item.caption}) -->
    958960({/foreach})
Note: See TracChangeset for help on using the changeset viewer.