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

Changeset 9026


Ignore:
Timestamp:
Nov 6, 2008, 11:24:33 PM (12 years ago)
Author:
ebihara
Message:

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

Location:
OpenPNE/branches/stable-2.12.x/webapp
Files:
9 edited

Legend:

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

    r8991 r9026  
    5959            // 前行の分を切り取り
    6060            $p_string = substr($p_string, strlen($result[$i - 1]));
    61             if ($p_string === '') {
     61            if (!$p_string) {
    6262                break;
    6363            }
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/templates/c_bbs.tpl

    r8907 r9026  
    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.12.x/webapp/modules/ktai/templates/c_bbs_delete_c_commu_topic_comment_confirm.tpl

    r8907 r9026  
    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.12.x/webapp/modules/ktai/templates/fh_diary.tpl

    r8907 r9026  
    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.12.x/webapp/modules/ktai/templates/fh_diary_delete_c_diary_comment_confirm.tpl

    r8959 r9026  
    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.12.x/webapp/modules/ktai/templates/h_ashiato.tpl

    r8907 r9026  
    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.12.x/webapp/modules/pc/templates/fh_comment_list.tpl

    r8907 r9026  
    1919<dl>
    2020<dt>({$new_comment.r_datetime|date_format:"%Y年%m月%d日 %H:%M"})</dt>
    21 <dd><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})</dd>
     21<dd><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})</dd>
    2222</dl>
    2323({/foreach})
  • OpenPNE/branches/stable-2.12.x/webapp/modules/pc/templates/fh_diary.tpl

    r8869 r9026  
    180180<dd>
    181181<div class="title">
    182 <p class="heading"><strong>({$item.number})</strong>:({if $item.nickname !== ''}) <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname})</a>({/if})({if $type == 'f' && $item.c_member_id == $member.c_member_id}) <a href="({t_url m=pc a=page_fh_delete_comment})&amp;target_c_diary_id=({$target_diary.c_diary_id})&amp;target_c_diary_comment_id=({$item.c_diary_comment_id})">削除</a>({/if})</p>
     182<p class="heading"><strong>({$item.number})</strong>:({if $item.nickname}) <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname})</a>({/if})({if $type == 'f' && $item.c_member_id == $member.c_member_id}) <a href="({t_url m=pc a=page_fh_delete_comment})&amp;target_c_diary_id=({$target_diary.c_diary_id})&amp;target_c_diary_comment_id=({$item.c_diary_comment_id})">削除</a>({/if})</p>
    183183</div>
    184184<div class="body">
  • OpenPNE/branches/stable-2.12.x/webapp/templates/mail/m_ktai_message_zyushin.tpl

    r8959 r9026  
    66メッセージが届いています。
    77
    8 ({if $subject !== ''})
     8({if $subject})
    99件名:
    1010({$subject|t_truncate:50:"...":1:0})
    1111({/if})
    1212
    13 ({if $body !== ''})
     13({if $body})
    1414本文:
    1515({$body|t_truncate:150:"...":1:0})
Note: See TracChangeset for help on using the changeset viewer.