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

Changeset 4400


Ignore:
Timestamp:
Oct 16, 2007, 5:16:38 PM (12 years ago)
Author:
ebihara
Message:

#1411:年齢をフレンドのみ公開にしていた場合、h_profで表示されなかったのを修正

Location:
OpenPNE/branches/stable-2.10.x
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.10.x/webapp/modules/ktai/templates/inc_f_home_h_prof.tpl

    r4392 r4400  
    6363
    6464({capture name="birth"})
    65 ({if $target_c_member.age !== NULL && ($target_c_member.public_flag_birth_year == 'public' || ($target_c_member.public_flag_birth_year == 'friend' && $is_friend))})<font color="#({$ktai_color_config.font_06})">年齢:</font><br>({$target_c_member.age})歳<br>
     65({if $target_c_member.age !== NULL && ($target_c_member.public_flag_birth_year == 'public' || ($target_c_member.public_flag_birth_year == 'friend' && ($is_friend || $is_h_prof)))})<font color="#({$ktai_color_config.font_06})">年齢:</font><br>({$target_c_member.age})歳<br>
    6666({if $is_h_prof && $target_c_member.public_flag_birth_year == 'friend'})<font color="#({$ktai_color_config.font_09})">※({$WORD_MY_FRIEND_HALF})まで公開</font><br>({/if})
    6767({/if})
     
    7373
    7474({foreach from=$target_c_member.profile key=key item=item})
    75 ({if $item.public_flag != "private" && ($item.public_flag == "public" || ($item.public_flag == "friend" && $is_friend))})
     75({if $item.public_flag != "private" && ($item.public_flag == "public" || ($item.public_flag == "friend" && ($is_friend || $is_h_prof)))})
    7676({if $item.form_type != 'textarea'})
    7777
  • OpenPNE/branches/stable-2.10.x/webapp/modules/pc/templates/inc_f_home_h_prof.tpl

    r4392 r4400  
    844844({capture name="birth"})
    845845<!-- ここから:主内容>年齢 -->
    846 ({if $target_c_member.age !== NULL && ($target_c_member.public_flag_birth_year == 'public' || ($target_c_member.public_flag_birth_year == 'friend' && $is_friend))})
     846({if $target_c_member.age !== NULL && ($target_c_member.public_flag_birth_year == 'public' || ($target_c_member.public_flag_birth_year == 'friend' && ($is_friend || $is_h_prof)))})
    847847<tr>
    848848<td class="border_01 bg_09 padding_s" style="width:90px;border-right:none;border-top:none;">
     
    879879({/capture})
    880880({foreach from=$target_c_member.profile key=key item=item})
    881 ({if $item.public_flag != "private" && ($item.public_flag == "public" || ($item.public_flag == "friend" && $is_friend))})
     881({if $item.public_flag != "private" && ($item.public_flag == "public" || ($item.public_flag == "friend" && ($is_friend || $is_h_prof)))})
    882882({strip})
    883883
  • OpenPNE/branches/stable-2.10.x/webapp_biz/modules/ktai/templates/inc_f_home_h_prof.tpl

    r4392 r4400  
    6868
    6969({capture name="birth"})
    70 ({if $target_c_member.age !== NULL && ($target_c_member.public_flag_birth_year == 'public' || ($target_c_member.public_flag_birth_year == 'friend' && $is_friend))})<font color="#({$ktai_color_config.font_06})">年齢:</font><br>({$target_c_member.age})歳<br>
     70({if $target_c_member.age !== NULL && ($target_c_member.public_flag_birth_year == 'public' || ($target_c_member.public_flag_birth_year == 'friend' && ($is_friend || $is_h_prof)))})<font color="#({$ktai_color_config.font_06})">年齢:</font><br>({$target_c_member.age})歳<br>
    7171({if $is_h_prof && $target_c_member.public_flag_birth_year == 'friend'})<font color="#({$ktai_color_config.font_09})">※({$WORD_MY_FRIEND_HALF})まで公開</font><br>({/if})
    7272({/if})
     
    7777
    7878({foreach from=$target_c_member.profile key=key item=item})
    79 ({if $item.public_flag != "private" && ($item.public_flag == "public" || ($item.public_flag == "friend" && $is_friend))})
     79({if $item.public_flag != "private" && ($item.public_flag == "public" || ($item.public_flag == "friend" && ($is_friend || $is_h_prof)))})
    8080({if $item.form_type != 'textarea'})
    8181
  • OpenPNE/branches/stable-2.10.x/webapp_biz/modules/pc/templates/inc_f_home_h_prof.tpl

    r4392 r4400  
    871871({capture name="birth"})
    872872<!-- ここから:主内容>年齢 -->
    873 ({if $target_c_member.age !== NULL && ($target_c_member.public_flag_birth_year == 'public' || ($target_c_member.public_flag_birth_year == 'friend' && $is_friend))})
     873({if $target_c_member.age !== NULL && ($target_c_member.public_flag_birth_year == 'public' || ($target_c_member.public_flag_birth_year == 'friend' && ($is_friend || $is_h_prof)))})
    874874<tr>
    875875<td class="border_01 bg_09 padding_s" style="width:90px;border-right:none;border-top:none;">
     
    906906({/capture})
    907907({foreach from=$target_c_member.profile key=key item=item})
    908 ({if $item.public_flag != "private" && ($item.public_flag == "public" || ($item.public_flag == "friend" && $is_friend))})
     908({if $item.public_flag != "private" && ($item.public_flag == "public" || ($item.public_flag == "friend" && ($is_friend || $is_h_prof)))})
    909909({strip})
    910910
Note: See TracChangeset for help on using the changeset viewer.