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

Changeset 4053


Ignore:
Timestamp:
Sep 16, 2007, 6:34:39 PM (12 years ago)
Author:
ogawa
Message:

#1210:携帯版h_profに誕生日メッセージが表示されている修正
webapp_bizのテンプレートも差分を取って合わせた

Location:
OpenPNE/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/ktai/templates/inc_f_home_h_prof.tpl

    r4051 r4053  
    3131
    3232<table width="100%" bgcolor="#({$ktai_color_config.bg_05})">
     33({if !$is_h_prof})
     34({if ($is_friend || $friend_path)})
    3335<tr><td colspan="2" align="center">
    34 ({if ($is_friend || $friend_path)})
    3536({if $friend_path})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$friend_path.c_member_id})">({$friend_path.nickname})</a>さんの({$WORD_FRIEND_HALF})({/if})
    3637({if $is_friend})({$WORD_MY_FRIEND_HALF})({/if})
    3738<hr color="#({$ktai_color_config.border_02})">
    38 ({else})
    39 &nbsp;
     39</td></tr>
    4040({/if})
    4141({if $days_birthday == 0})({* 誕生日当日 *})
    42 ({if $is_h_prof})
    43 ☆Happy Birthday☆
    44 <br>お誕生日にメッセージを送りましょう<br>
    45 ({else})
    46 <a href="({t_url m=ktai a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">☆Happy Birthday☆
    47 <br>お誕生日にメッセージを送りましょう</a><br>
    48 ({/if})
     42<tr><td colspan="2" align="center">
     43<a href="({t_url m=ktai a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">☆Happy Birthday☆<br>
     44お誕生日にメッセージを送りましょう</a><br>
     45</td></tr>
    4946({elseif $days_birthday <= 3})({* 誕生日3日以内 *})
    50 ({if $is_h_prof})
    51 ☆もうすぐ誕生日です!☆
    52 <br>お誕生日にはメッセージを送りましょう<br>
    53 ({else})
    54 <a href="({t_url m=ktai a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">☆もうすぐ誕生日です!☆
    55 <br>お誕生日にはメッセージを送りましょう</a><br>
     47<tr><td colspan="2" align="center">
     48<a href="({t_url m=ktai a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">☆もうすぐ誕生日です!☆<br>
     49お誕生日にはメッセージを送りましょう</a><br>
     50</td></tr>
    5651({/if})
    5752({/if})
    58 </td></tr>
    5953
    6054<tr><td align="center" width="50%" valign="top">
  • OpenPNE/trunk/webapp_biz/modules/ktai/templates/inc_f_home_h_prof.tpl

    r3923 r4053  
    3131
    3232<table width="100%" bgcolor="#({$ktai_color_config.bg_05})">
     33({if !$is_h_prof})
     34({if ($is_friend || $friend_path)})
    3335<tr><td colspan="2" align="center">
    34 ({if ($is_friend || $friend_path)})
    3536({if $friend_path})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$friend_path.c_member_id})">({$friend_path.nickname})</a>さんの({$WORD_FRIEND_HALF})({/if})
    3637({if $is_friend})({$WORD_MY_FRIEND_HALF})({/if})
    3738<hr color="#({$ktai_color_config.border_02})">
    38 ({else})
    39 &nbsp;
     39</td></tr>
    4040({/if})
    4141({if $days_birthday == 0})({* 誕生日当日 *})
    42 <a href="({t_url m=ktai a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">☆Happy Birthday☆
    43 <br>お誕生日にメッセージを送りましょう</a><br>
     42<tr><td colspan="2" align="center">
     43<a href="({t_url m=ktai a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">☆Happy Birthday☆<br>
     44お誕生日にメッセージを送りましょう</a><br>
     45</td></tr>
    4446({elseif $days_birthday <= 3})({* 誕生日3日以内 *})
    45 <a href="({t_url m=ktai a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">☆もうすぐ誕生日です!☆
    46 <br>お誕生日にはメッセージを送りましょう</a><br>
     47<tr><td colspan="2" align="center">
     48<a href="({t_url m=ktai a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">☆もうすぐ誕生日です!☆<br>
     49お誕生日にはメッセージを送りましょう</a><br>
     50</td></tr>
    4751({/if})
     52({/if})
     53
     54<tr><td colspan="2" align="center">
    4855<hr color="#({$ktai_color_config.border_01})">
    4956%%i69%%<a href="({t_url m=ktai_biz a=page_fh_biz_todo_list})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">Todoリスト</a>/%%i176%%<a href="({t_url m=ktai_biz a=page_fh_calendar_week})&amp;target_id=({$target_c_member.c_member_id})&amp;({$tail})">週間カレンダー</a><br>
     
    6471({strip})
    6572<font color="#({$ktai_color_config.font_02})">ID:</font>({$target_c_member.c_member_id})<br>
     73
    6674({capture name="birth"})
    67 ({if $target_c_member.age !== NULL})<font color="#({$ktai_color_config.font_02})">年齢:</font>({$target_c_member.age})歳<br>
     75({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>
    6876({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})
    6977({/if})
     
    7482
    7583({foreach from=$target_c_member.profile key=key item=item})
     84({if $item.public_flag != "private" && ($is_h_prof || ($item.public_flag == "public" || ($item.public_flag == "friend" && $is_friend)))})
    7685({if $item.form_type != 'textarea'})
    77 ({if !$_cnt_nick && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_NICK
    78   && !$_cnt_birth && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_BIRTH})
    79 ({counter assign="_cnt_nick"})
    80 ({counter assign="_cnt_birth"})
    81 ({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
    82 ({$smarty.capture.birth|smarty:nodefaults})
    83 ({$smarty.capture.nick|smarty:nodefaults})
    84 ({else})
    85 ({$smarty.capture.nick|smarty:nodefaults})
    86 ({$smarty.capture.birth|smarty:nodefaults})
    87 ({/if})
    88 ({/if})
    89 
    90 ({if !$_cnt_nick && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_NICK})
    91 ({counter assign="_cnt_nick"})
    92 ({$smarty.capture.nick|smarty:nodefaults})
    93 ({/if})
    9486
    9587({if !$_cnt_birth && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_BIRTH})
     
    9890({/if})
    9991
    100 ({if $item.value && $item.form_type != 'textarea'})
    101         <font color="#({$ktai_color_config.font_02})">({$item.caption}):</font>
    102 ({/if})
    103 
     92<font color="#({$ktai_color_config.font_02})">({$item.caption}):</font>
    10493({if $item.form_type == 'checkbox'})
    10594    ({$item.value|@t_implode:", "})
     
    10897({/if})
    10998<br>
     99({if $is_h_prof && $item.public_flag == 'friend'})<font color="#({$ktai_color_config.font_04})">※({$WORD_MY_FRIEND_HALF})まで公開</font><br>({/if})
     100
    110101({/if})
    111 ({if $is_h_prof && $item.public_flag == 'friend'})<font color="#({$ktai_color_config.font_04})">※({$WORD_MY_FRIEND_HALF})まで公開</font><br>({/if})
     102({/if})
    112103({/foreach})
    113104
    114 ({if !$_cnt_nick && !$_cnt_birth})
    115 ({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
    116 ({$smarty.capture.birth|smarty:nodefaults})
    117 ({$smarty.capture.nick|smarty:nodefaults})
    118 ({else})
    119 ({$smarty.capture.nick|smarty:nodefaults})
    120 ({$smarty.capture.birth|smarty:nodefaults})
    121 ({/if})
    122 ({else})
    123 ({if !$_cnt_nick})({$smarty.capture.nick|smarty:nodefaults})({/if})
    124105({if !$_cnt_birth})({$smarty.capture.birth|smarty:nodefaults})({/if})
    125 ({/if})
    126106({/strip})
    127107</td></tr>
Note: See TracChangeset for help on using the changeset viewer.