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

Changeset 3065


Ignore:
Timestamp:
May 21, 2007, 3:33:42 PM (12 years ago)
Author:
ebihara
Message:

#832:BIZモードのf_homeに共通コミュニティリストへのリンクが表示されていなかったのを修正

Location:
OpenPNE/branches/2.8.x/webapp_biz/modules/pc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/2.8.x/webapp_biz/modules/pc/page/f_home.php

    r2972 r3065  
    6666        $this->set('c_friend_count', db_friend_count_friends($target_c_member_id));
    6767        $this->set('user_count',db_commu_count_c_commu4c_member_id($target_c_member_id));
     68
     69        $this->set('common_commu_count', count(db_common_commu_common_commu_id4c_member_id($target_c_member_id,$u)));
     70
    6871        $this->set('c_commu_list', db_commu_c_commu_list4c_member_id_2($target_c_member_id, 9));
    6972        $this->set('c_review_list', db_review_c_review_list4member($target_c_member_id, 5));
  • OpenPNE/branches/2.8.x/webapp_biz/modules/pc/templates/inc_f_home_h_prof.tpl

    r2645 r3065  
    774774<td style="width:5px;" class="bg_02"><img src="./skin/dummy.gif" style="width:5px;height:1px;" class="dummy"></td>
    775775</tr>
     776({if $common_commu_count})
     777<tr>
     778<td style="width:125px;" class="bg_02"><img src="./skin/dummy.gif" style="width:125px;height:1px;" class="dummy"></td>
     779<td style="width:20px;" class="bg_02"><img src="./skin/dummy.gif" class="icon arrow_1"></td>
     780<td align="left" style="width:116px;padding:2px 0px;" class="bg_02 lh_110">
     781<a href="({t_url m=pc a=page_f_com_list_common})&amp;target_c_member_id=({$target_c_member_id})">共通コミュニティ(({$common_commu_count}))</a>
     782</td>
     783<td style="width:5px;" class="bg_02"><img src="./skin/dummy.gif" style="width:5px;height:1px;" class="dummy"></td>
     784</tr>
     785({/if})
    776786<tr>
    777787<td style="width:266px;" class="bg_02" colspan="4"><img src="./skin/dummy.gif" style="width:266px;height:5px;" class="dummy"></td>
Note: See TracChangeset for help on using the changeset viewer.