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

Changeset 3991


Ignore:
Timestamp:
Sep 12, 2007, 8:05:11 PM (12 years ago)
Author:
ebihara
Message:

#1186:携帯版でもMyNews機能を使えるようにした

Location:
OpenPNE/trunk/webapp/modules/ktai
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/ktai/page/f_home.php

    r2951 r3991  
    3333
    3434        $is_friend = db_friend_is_friend($u, $target_c_member_id);
    35         if ($is_friend) {
    36             $target_c_member = db_member_c_member_with_profile($target_c_member_id, 'friend');
    37         } else {
    38             $target_c_member = db_member_c_member_with_profile($target_c_member_id, 'public');
    39         }
     35        $target_c_member = db_member_c_member_with_profile($target_c_member_id, 'private');
    4036        $target_c_member['last_login'] = p_f_home_last_login4access_date($target_c_member['access_date']);
    4137        if ($target_c_member['birth_year']) {
  • OpenPNE/trunk/webapp/modules/ktai/page/h_home.php

    r2951 r3991  
    1616        $this->set('c_siteadmin', p_common_c_siteadmin4target_pagename('k_h_home'));
    1717
    18         $c_member = db_member_c_member4c_member_id($u);
     18        $c_member = db_member_c_member_with_profile($u, 'private');
    1919        //メンバー情報
    2020        $this->set('c_member', $c_member);
  • OpenPNE/trunk/webapp/modules/ktai/page/h_prof.php

    r3770 r3991  
    2020        $this->set('c_siteadmin', p_common_c_siteadmin4target_pagename('k_f_home'));
    2121
    22         $target_c_member = db_member_c_member_with_profile($target_c_member_id, 'friend');
     22        $target_c_member = db_member_c_member_with_profile($target_c_member_id, 'private');
    2323        $target_c_member['last_login'] = p_f_home_last_login4access_date($target_c_member['access_date']);
    2424        if ($target_c_member['birth_year']) {
  • OpenPNE/trunk/webapp/modules/ktai/templates/inc_f_home_h_prof.tpl

    r3923 r3991  
    6262<font color="#({$ktai_color_config.font_02})">ID:</font>({$target_c_member.c_member_id})<br>
    6363({capture name="birth"})
    64 ({if $target_c_member.age !== NULL})<font color="#({$ktai_color_config.font_02})">年齢:</font>({$target_c_member.age})歳<br>
     64({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)})<font color="#({$ktai_color_config.font_02})">年齢:</font>({$target_c_member.age})歳<br>
    6565({if $is_h_prof && $target_c_member.public_flag_birth_year == 'friend'})<font color="#({$ktai_color_config.font_04})">※({$WORD_MY_FRIEND_HALF})まで公開</font><br>({/if})
    6666({/if})
     
    7171
    7272({foreach from=$target_c_member.profile key=key item=item})
     73({if $item.public_flag != "private" && ($item.public_flag == "public" || ($item.public_flag == "friend" && $is_friend) || $is_h_prof)})
    7374({if $item.form_type != 'textarea'})
    7475({if !$_cnt_nick && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_NICK
     
    107108({/if})
    108109({if $is_h_prof && $item.public_flag == 'friend'})<font color="#({$ktai_color_config.font_04})">※({$WORD_MY_FRIEND_HALF})まで公開</font><br>({/if})
     110({/if})
    109111({/foreach})
    110112
Note: See TracChangeset for help on using the changeset viewer.