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

Changeset 9025


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

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

Location:
OpenPNE/trunk/webapp
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/lib/smarty_plugins/modifier.t_truncate.php

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

    r8908 r9025  
    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/trunk/webapp/modules/ktai/templates/c_bbs_delete_c_commu_topic_comment_confirm.tpl

    r8908 r9025  
    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/trunk/webapp/modules/ktai/templates/fh_diary.tpl

    r8908 r9025  
    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/trunk/webapp/modules/ktai/templates/fh_diary_delete_c_diary_comment_confirm.tpl

    r8961 r9025  
    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/trunk/webapp/modules/ktai/templates/h_ashiato.tpl

    r8908 r9025  
    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/trunk/webapp/modules/pc/templates/c_event_add_confirm.tpl

    r9021 r9025  
    1919</td></tr>
    2020<tr><th>募集人数</th><td>({if $event.capacity})({$event.capacity})人({else})無制限({/if})</td></tr>
    21 ({if $event.image_filename1 !== ''})
     21({if $event.image_filename1})
    2222<tr><th>写真1</th><td>({$event.image_filename1})</td></tr>
    2323({/if})
    24 ({if $event.image_filename2 !== ''})
     24({if $event.image_filename2})
    2525<tr><th>写真2</th><td>({$event.image_filename2})</td></tr>
    2626({/if})
    27 ({if $event.image_filename3 !== ''})
     27({if $event.image_filename3})
    2828<tr><th>写真3</th><td>({$event.image_filename3})</td></tr>
    2929({/if})
  • OpenPNE/trunk/webapp/modules/pc/templates/c_event_write_confirm.tpl

    r9021 r9025  
    1010<table>
    1111<tr><th>本文</th><td>({$event_write.body|nl2br|t_url2cmd:'community':$u|t_cmd:'community'})</td></tr>
    12 ({if $event_write.image_filename1 !== ''})
     12({if $event_write.image_filename1})
    1313<tr><th>写真1</th><td>({$event_write.image_filename1})</td></tr>
    1414({/if})
    15 ({if $event_write.image_filename2 !== ''})
     15({if $event_write.image_filename2})
    1616<tr><th>写真2</th><td>({$event_write.image_filename2})</td></tr>
    1717({/if})
    18 ({if $event_write.image_filename3 !== ''})
     18({if $event_write.image_filename3})
    1919<tr><th>写真3</th><td>({$event_write.image_filename3})</td></tr>
    2020({/if})
  • OpenPNE/trunk/webapp/modules/pc/templates/c_member_review.tpl

    r9022 r9025  
    4747<th>説明</th>
    4848<td>
    49 ({if $review.release_date !== ''})({$review.release_date})<br />({/if})
    50 ({if $review.manufacturer !== ''})({$review.manufacturer})<br />({/if})
    51 ({if $review.author !== ''})({$review.author})({/if})
     49({if $review.release_date})({$review.release_date})<br />({/if})
     50({if $review.manufacturer})({$review.manufacturer})<br />({/if})
     51({if $review.author})({$review.author})({/if})
    5252</td>
    5353</tr><tr>
  • OpenPNE/trunk/webapp/modules/pc/templates/c_member_review_add.tpl

    r9022 r9025  
    4040<th>説明</th>
    4141<td>
    42 ({if $review.release_date !== ''})({$review.release_date})<br />({/if})
    43 ({if $review.manufacturer !== ''})({$review.manufacturer})<br />({/if})
    44 ({if $review.author !== ''})({$review.author})<br />({/if})
     42({if $review.release_date})({$review.release_date})<br />({/if})
     43({if $review.manufacturer})({$review.manufacturer})<br />({/if})
     44({if $review.author})({$review.author})<br />({/if})
    4545</td>
    4646</tr><tr>
  • OpenPNE/trunk/webapp/modules/pc/templates/c_member_review_add_confirm.tpl

    r9022 r9025  
    1616<th>説明</th>
    1717<td>
    18 ({if $review.release_date !== ''})({$review.release_date})<br />({/if})
    19 ({if $review.manufacturer !== ''})({$review.manufacturer})<br />({/if})
    20 ({if $review.author !== ''})({$review.author})<br />({/if})
     18({if $review.release_date})({$review.release_date})<br />({/if})
     19({if $review.manufacturer})({$review.manufacturer})<br />({/if})
     20({if $review.author})({$review.author})<br />({/if})
    2121</td>
    2222</tr><tr>
  • OpenPNE/trunk/webapp/modules/pc/templates/c_topic_add_confirm.tpl

    r9021 r9025  
    1111<tr><th>タイトル</th><td>({$c_topic.title})</td></tr>
    1212<tr><th>本文</th><td>({$c_topic.body|nl2br|t_url2cmd:'community':$u|t_cmd:'community'})</td></tr>
    13 ({if $c_topic.image_filename1 !== ''})
     13({if $c_topic.image_filename1})
    1414<tr><th>写真1</th><td>({$c_topic.image_filename1})</td></tr>
    1515({/if})
    16 ({if $c_topic.image_filename2 !== ''})
     16({if $c_topic.image_filename2})
    1717<tr><th>写真2</th><td>({$c_topic.image_filename2})</td></tr>
    1818({/if})
    19 ({if $c_topic.image_filename3 !== ''})
     19({if $c_topic.image_filename3})
    2020<tr><th>写真3</th><td>({$c_topic.image_filename3})</td></tr>
    2121({/if})
    2222({if $smarty.const.OPENPNE_USE_FILEUPLOAD})
    23 ({if $c_topic.filename4_original_filename !== ''})
     23({if $c_topic.filename4_original_filename})
    2424<tr><th>ファイル</th><td>({$c_topic.filename4_original_filename})</td></tr>
    2525({/if})
  • OpenPNE/trunk/webapp/modules/pc/templates/c_topic_write_confirm.tpl

    r9021 r9025  
    1010<table>
    1111<tr><th>本文</th><td>({$topic_write.body|nl2br|t_url2cmd:'community':$u|t_cmd:'community'})</td></tr>
    12 ({if $topic_write.image_filename1 !== ''})
     12({if $topic_write.image_filename1})
    1313<tr><th>写真1</th><td>({$topic_write.image_filename1})</td></tr>
    1414({/if})
    15 ({if $topic_write.image_filename2 !== ''})
     15({if $topic_write.image_filename2})
    1616<tr><th>写真2</th><td>({$topic_write.image_filename2})</td></tr>
    1717({/if})
    18 ({if $topic_write.image_filename3 !== ''})
     18({if $topic_write.image_filename3})
    1919<tr><th>写真3</th><td>({$topic_write.image_filename3})</td></tr>
    2020({/if})
    2121({if $smarty.const.OPENPNE_USE_FILEUPLOAD})
    22 ({if $topic_write.filename4_original_filename !== ''})
     22({if $topic_write.filename4_original_filename})
    2323<tr><th>ファイル</th><td>({$topic_write.filename4_original_filename})</td></tr>
    2424({/if})
  • OpenPNE/trunk/webapp/modules/pc/templates/f_message_send_confirm.tpl

    r9021 r9025  
    2525<td>({$form_val.body|nl2br|t_url2cmd:'message':$u|t_cmd:'message'})</td>
    2626</tr>
    27 ({if $form_val.upfile_1.name !== ''})
     27({if $form_val.upfile_1.name})
    2828<tr>
    2929<th>写真1</th>
     
    3131</tr>
    3232({/if})
    33 ({if $form_val.upfile_2.name !== ''})
     33({if $form_val.upfile_2.name})
    3434<tr>
    3535<th>写真2</th>
     
    3737</tr>
    3838({/if})
    39 ({if $form_val.upfile_3.name !== ''})
     39({if $form_val.upfile_3.name})
    4040<tr>
    4141<th>写真3</th>
     
    4444({/if})
    4545({if $smarty.const.OPENPNE_USE_FILEUPLOAD})
    46 ({if $form_val.upfile_4.name !== ''})
     46({if $form_val.upfile_4.name})
    4747<tr><th>ファイル</th><td>({$form_val.upfile_4.name})</td></tr>
    4848({/if})
  • OpenPNE/trunk/webapp/modules/pc/templates/fh_comment_list.tpl

    r8908 r9025  
    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/trunk/webapp/modules/pc/templates/fh_diary.tpl

    r8870 r9025  
    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/trunk/webapp/modules/pc/templates/fh_diary_comment_confirm.tpl

    r9021 r9025  
    1010<table>
    1111<tr><th>本文</th><td>({$form_val.body|nl2br|t_url2cmd:'diary':$u|t_cmd:'diary'})</td></tr>
    12 ({if $form_val.upfile_1.name !== ''})
     12({if $form_val.upfile_1.name})
    1313<tr><th>写真1</th><td>({$form_val.upfile_1.name})</td></tr>
    1414({/if})
    15 ({if $form_val.upfile_2.name !== ''})
     15({if $form_val.upfile_2.name})
    1616<tr><th>写真2</th><td>({$form_val.upfile_2.name})</td></tr>
    1717({/if})
    18 ({if $form_val.upfile_3.name !== ''})
     18({if $form_val.upfile_3.name})
    1919<tr><th>写真3</th><td>({$form_val.upfile_3.name})</td></tr>
    2020({/if})
  • OpenPNE/trunk/webapp/modules/pc/templates/fh_review_list_member.tpl

    r9022 r9025  
    4949<th>説明</th>
    5050<td>
    51 ({if $review.release_date !== ''})({$review.release_date})<br />({/if})
    52 ({if $review.manufacturer !== ''})({$review.manufacturer})<br />({/if})
    53 ({if $review.author !== ''})({$review.author})({/if})
     51({if $review.release_date})({$review.release_date})<br />({/if})
     52({if $review.manufacturer})({$review.manufacturer})<br />({/if})
     53({if $review.author})({$review.author})({/if})
    5454</td>
    5555</tr><tr>
  • OpenPNE/trunk/webapp/modules/pc/templates/h_diary_add_confirm.tpl

    r9021 r9025  
    1717<td>({$form_val.body|nl2br|t_url2cmd:'diary':$member.c_member_id|t_cmd:'diary'|t_decoration})</td>
    1818</tr>
    19 ({if $form_val.upfile_1.name !== ''})
     19({if $form_val.upfile_1.name})
    2020<tr>
    2121<th>写真1</th>
     
    2323</tr>
    2424({/if})
    25 ({if $form_val.upfile_2.name !== ''})
     25({if $form_val.upfile_2.name})
    2626<tr>
    2727<th>写真2</th>
     
    2929</tr>
    3030({/if})
    31 ({if $form_val.upfile_3.name !== ''})
     31({if $form_val.upfile_3.name})
    3232<tr>
    3333<th>写真3</th>
     
    3535</tr>
    3636({/if})
    37 ({if $form_val.category !== ''})
     37({if $form_val.category})
    3838<tr>
    3939<th>カテゴリ</th>
  • OpenPNE/trunk/webapp/modules/pc/templates/h_diary_edit_confirm.tpl

    r9021 r9025  
    1111<tr><th>タイトル</th><td>({$form_val.subject})</td></tr>
    1212<tr><th>本文</th><td>({$form_val.body|nl2br|t_url2cmd:'diary':$member.c_member_id|t_cmd:'diary'|t_decoration})</td></tr>
    13 ({if $form_val.upfile_1.name !== ''})
     13({if $form_val.upfile_1.name})
    1414<tr><th>写真1</th><td>({$form_val.upfile_1.name})</td></tr>
    1515({/if})
    16 ({if $form_val.upfile_2.name !== ''})
     16({if $form_val.upfile_2.name})
    1717<tr><th>写真2</th><td>({$form_val.upfile_2.name})</td></tr>
    1818({/if})
    19 ({if $form_val.upfile_3.name !== ''})
     19({if $form_val.upfile_3.name})
    2020<tr><th>写真3</th><td>({$form_val.upfile_3.name})</td></tr>
    2121({/if})
    22 ({if $form_val.category !== ''})
     22({if $form_val.category})
    2323<tr><th>カテゴリ</th><td>({$form_val.category})</td></tr>
    2424({/if})
  • OpenPNE/trunk/webapp/modules/pc/templates/h_review_clip_add.tpl

    r9022 r9025  
    1818<th>説明</th>
    1919<td>
    20 ({if $c_review.release_date !== ''})({$c_review.release_date})<br />({/if})
    21 ({if $c_review.manufacturer !== ''})({$c_review.manufacturer})<br />({/if})
    22 ({if $c_review.author !== ''})({$c_review.author})({/if})
     20({if $c_review.release_date})({$c_review.release_date})<br />({/if})
     21({if $c_review.manufacturer})({$c_review.manufacturer})<br />({/if})
     22({if $c_review.author})({$c_review.author})({/if})
    2323</td>
    2424</tr><tr>
  • OpenPNE/trunk/webapp/modules/pc/templates/h_review_edit.tpl

    r9022 r9025  
    2020<th>説明</th>
    2121<td>
    22 ({if $c_review_comment.release_date !== ''})({$c_review_comment.release_date})<br />({/if})
    23 ({if $c_review_comment.manufacturer !== ''})({$c_review_comment.manufacturer})<br />({/if})
    24 ({if $c_review_comment.author !== ''})({$c_review_comment.author})({/if})
     22({if $c_review_comment.release_date})({$c_review_comment.release_date})<br />({/if})
     23({if $c_review_comment.manufacturer})({$c_review_comment.manufacturer})<br />({/if})
     24({if $c_review_comment.author})({$c_review_comment.author})({/if})
    2525</td>
    2626</tr><tr>
  • OpenPNE/trunk/webapp/modules/pc/templates/h_review_list_product.tpl

    r9022 r9025  
    2727<th>説明</th>
    2828<td>
    29 ({if $c_review.release_date !== ''})({$c_review.release_date})<br />({/if})
    30 ({if $c_review.manufacturer !== ''})({$c_review.manufacturer})<br />({/if})
    31 ({if $c_review.author !== ''})({$c_review.author})({/if})
     29({if $c_review.release_date})({$c_review.release_date})<br />({/if})
     30({if $c_review.manufacturer})({$c_review.manufacturer})<br />({/if})
     31({if $c_review.author})({$c_review.author})({/if})
    3232<p class="operation"><a href="({t_url m=pc a=page_h_review_add_write})&amp;category_id=({$c_review.c_review_category_id})&amp;asin=({$c_review.asin})">レビューを書く</a></p>
    3333</td>
  • OpenPNE/trunk/webapp/templates/mail/m_ktai_message_zyushin.tpl

    r8961 r9025  
    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.