Changeset 1283


Ignore:
Timestamp:
2007/01/22 12:19:11 (17 years ago)
Author:
kakinaka
Message:
 
Location:
temp/test-xoops.ec-cube.net/html/modules/newbb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/test-xoops.ec-cube.net/html/modules/newbb/response.php

    r1282 r1283  
    190190    $result_tmp = $xoopsDB->query($sql_tmp); 
    191191    $myrow_tmp = $xoopsDB->fetchArray($result_tmp); 
    192     $myrow['post_id'] = $myrow_tmp['post_id'];   
     192    $myrow['post_id'] = $myrow_tmp['post_id']; 
     193     
     194    $topiclink = 'viewtopic.php?topic_id='.$myrow['topic_id'].'&forum='.$myrow['forum_id']; 
    193195     
    194196    $xoopsTpl->append('topics', array( 
     197                                'topic_id'=>$myrow['topic_id'], 
     198                                'forum_id'=>$myrow['forum_id'], 
     199                                'topic_link'=>$topiclink, 
    195200                                'topic_fix'=>$fix, 
    196201                                'topic_number'=>$myrow['post_id'], 
  • temp/test-xoops.ec-cube.net/html/modules/newbb/templates/newbb_response.html

    r1277 r1283  
    3939    <{foreach item=topic from=$topics}> 
    4040    <tr class="<{cycle values="even,odd"}>"> 
    41         <td>&nbsp;[<{$topic.topic_fix}>:<{$topic.topic_number}>]<a href="<{$topic.topic_link}>"><{$topic.topic_title}></a><{$topic.topic_page_jump}></td> 
     41        <td>&nbsp;[<{$topic.topic_fix}>:<{$topic.topic_number}>]<a href="<{$topic.topic_link}>"><{$topic.topic_title}></a></td> 
    4242        <td align="center" valign="middle"> 
    4343        <{ $arrResponse[$topic.topic_response]|default:'???' }> 
Note: See TracChangeset for help on using the changeset viewer.