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

Changeset 9027


Ignore:
Timestamp:
Nov 6, 2008, 11:27:36 PM (11 years ago)
Author:
ebihara
Message:

#2874:「ニックネームなどが「0」のみだと、表示される部分に表示されない場合がある」に関する変更全てを取り消し

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

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.10.x/webapp/lib/smarty_plugins/modifier.t_truncate.php

    r8992 r9027  
    5252            // 前行の分を切り取り
    5353            $p_string = substr($p_string, strlen($result[$i - 1]));
    54             if ($p_string === '') {
     54            if (!$p_string) {
    5555                break;
    5656            }
  • OpenPNE/branches/stable-2.10.x/webapp/modules/ktai/templates/c_bbs.tpl

    r8909 r9027  
    9494</a><font color="#({$ktai_color_config.font_06})">[({$item.number|string_format:"%03d"})]</font>({$item.r_datetime|date_format:"%m/%d %H:%M"})
    9595<br>
    96 ({if $item.nickname !== ''})<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})&amp;({$tail})">({$item.nickname})</a>({/if})
     96({if $item.nickname})<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})&amp;({$tail})">({$item.nickname})</a>({/if})
    9797({if $item.c_member_id == $u || $target_diary_writer==$u || $is_admin})
    9898[<a href="({t_url m=ktai a=page_c_bbs_delete_c_commu_topic_comment_confirm})&amp;c_commu_topic_comment_id=({$item.c_commu_topic_comment_id})&amp;target_c_commu_topic_id=({$c_commu_topic_id})&amp;({$tail})">削除</a>]
  • OpenPNE/branches/stable-2.10.x/webapp/modules/ktai/templates/c_bbs_delete_c_commu_topic_comment_confirm.tpl

    r8909 r9027  
    1313
    1414({$c_commu_topic_comment.r_datetime|date_format:"%y/%m/%d %H:%M"})<br>
    15 ({if $c_commu_topic_comment.nickname !== ''})<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$c_commu_topic_comment.c_member_id})&amp;({$tail})">({$c_commu_topic_comment.nickname})</a>({/if})
     15({if $c_commu_topic_comment.nickname})<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$c_commu_topic_comment.c_member_id})&amp;({$tail})">({$c_commu_topic_comment.nickname})</a>({/if})
    1616<br>
    1717({$c_commu_topic_comment.body|t_url2a_ktai|nl2br})<br>
  • OpenPNE/branches/stable-2.10.x/webapp/modules/ktai/templates/fh_diary.tpl

    r8909 r9027  
    5353[<a href="({t_url m=ktai a=page_fh_diary_delete_c_diary_comment_confirm})&amp;target_c_diary_comment_id=({$c_diary_comment_.c_diary_comment_id})&amp;({$tail})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})">削除</a>]
    5454({/if})<br>
    55 ({if $c_diary_comment_.nickname !== ''})<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$c_diary_comment_.c_member_id})&amp;({$tail})">({$c_diary_comment_.nickname})</a>({/if})
     55({if $c_diary_comment_.nickname})<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$c_diary_comment_.c_member_id})&amp;({$tail})">({$c_diary_comment_.nickname})</a>({/if})
    5656<br>
    5757({$c_diary_comment_.body|t_url2a_ktai|nl2br})
  • OpenPNE/branches/stable-2.10.x/webapp/modules/ktai/templates/fh_diary_delete_c_diary_comment_confirm.tpl

    r8962 r9027  
    1212<hr color="#({$ktai_color_config.border_01})">
    1313({$target_c_diary_comment.r_datetime|date_format:"%m/%d %H:%M"})<br>
    14 ({if $target_c_diary_comment.nickname !== ''})<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$target_c_diary_comment.c_member_id})&amp;({$tail})">({$target_c_diary_comment.nickname})</a>({/if})
     14({if $target_c_diary_comment.nickname})<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$target_c_diary_comment.c_member_id})&amp;({$tail})">({$target_c_diary_comment.nickname})</a>({/if})
    1515<br>
    1616({$target_c_diary_comment.body|t_url2a_ktai|nl2br})
  • OpenPNE/branches/stable-2.10.x/webapp/modules/ktai/templates/h_ashiato.tpl

    r8909 r9027  
    1414<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_06`,`$ktai_color_config.bg_07`"})">
    1515({$item.r_datetime|date_format:"%m/%d %H:%M"})
    16 ({if $item.nickname !== ''})
     16({if $item.nickname})
    1717<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$item.c_member_id_from})&amp;({$tail})">({$item.nickname})</a><br>
    1818({/if})
  • OpenPNE/branches/stable-2.10.x/webapp/modules/pc/templates/fh_comment_list.tpl

    r8909 r9027  
    8282<div class="padding_s">
    8383
    84 <a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$new_comment.c_diary_id})">({$new_comment.body|t_truncate:"36"})</a> ({if $new_comment.nickname !== ''})(({$new_comment.nickname}))({/if})
     84<a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$new_comment.c_diary_id})">({$new_comment.body|t_truncate:"36"})</a> ({if $new_comment.nickname})(({$new_comment.nickname}))({/if})
    8585
    8686</div>
  • OpenPNE/branches/stable-2.10.x/webapp/modules/pc/templates/fh_diary.tpl

    r8871 r9027  
    620620
    621621<span class="b_b">({$item.number})</span>:
    622 ({if $item.nickname !== ''})
     622({if $item.nickname})
    623623<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"><span class="DOM_fh_diary_comment_writer">({$item.nickname|default:"&nbsp;"})</span></a>
    624624({else})
Note: See TracChangeset for help on using the changeset viewer.