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

Changeset 9325


Ignore:
Timestamp:
Nov 21, 2008, 9:30:33 PM (11 years ago)
Author:
akamine
Message:

#1474 searchResultListを使用している個所のカメラアイコンを表示するかどうかの基準を統一

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

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.12.x/webapp/lib/db/commu.php

    r9301 r9325  
    33123312        $number = db_commu_get_max_c_commu_topic_comment_number4c_topic_id($value['c_commu_topic_id']);
    33133313        $list[$key]['max_number'] = $number;
     3314        $start_comment = db_commu_get_start_c_topic_comment($value['c_commu_topic_id']);
     3315        $list[$key]['image_filename1'] = $start_comment['image_filename1'];
     3316        $list[$key]['image_filename2'] = $start_comment['image_filename2'];
     3317        $list[$key]['image_filename3'] = $start_comment['image_filename3'];
    33143318    }
    33153319
     
    34173421        $number = db_commu_get_max_c_commu_topic_comment_number4c_topic_id($value['c_commu_topic_id']);
    34183422        $list[$key]['max_number'] = $number;
    3419     }
     3423        $start_comment = db_commu_get_start_c_topic_comment($value['c_commu_topic_id']);
     3424        $list[$key]['image_filename1'] = $start_comment['image_filename1'];
     3425        $list[$key]['image_filename2'] = $start_comment['image_filename2'];
     3426        $list[$key]['image_filename3'] = $start_comment['image_filename3'];
     3427     }
    34203428
    34213429    $sql = 'SELECT COUNT(ct.c_commu_topic_id) FROM c_commu AS c'
  • OpenPNE/branches/stable-2.12.x/webapp/modules/pc/templates/h_com_topic_find_all.tpl

    r8955 r9325  
    4848<div class="ditem"><div class="item"><table><tr>
    4949<td class="photo" rowspan="4"><a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$item.c_commu_topic_id})"><img src="({t_img_url filename=$item.commu_image w=76 h=76 noimg=no_logo_small})" alt="" /></a></td>
    50 <th>トピック名</th><td>({$item.name}) (({$item.max_number}))</td>
     50<th>トピック名</th><td>({$item.name}) (({$item.max_number}))({if $item.image_filename1 || $item.image_filename2 || $item.image_filename3}) <img src="({t_img_url_skin filename=icon_camera})" alt="" />({/if})</td>
    5151</tr><tr>
    5252<th>({$WORD_COMMUNITY})名</th><td>({$item.commu_name})</td>
Note: See TracChangeset for help on using the changeset viewer.