Ignore:
Timestamp:
02/27/08 22:01:07 (4 years ago)
Author:
hverton
Message:

updated the forum_threads_list_panel module to make use of the thread_first_read functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/my_posts.php

    r1113 r1318  
    5353); 
    5454$rows = dbrows($result); 
     55$variables['rows'] = $rows; 
    5556 
    5657// make sure rowstart has a valid value 
    5758if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 0; 
     59$variables['rowstart'] = $rowstart; 
    5860 
    5961$result = dbquery( 
     
    6163    INNER JOIN ".$db_prefix."forums tf USING(forum_id) 
    6264    WHERE ".groupaccess('forum_access')." AND post_author='".$id."' 
    63     ORDER BY post_datestamp DESC LIMIT $rowstart,".ITEMS_PER_PAGE 
     65    ORDER BY post_datestamp DESC  
     66    LIMIT $rowstart,".ITEMS_PER_PAGE 
    6467); 
    6568 
     
    7275 
    7376// required template variables 
    74 $variables['rows'] = $rows; 
    75 $variables['rowstart'] = $rowstart; 
    7677$variables['pagenav_url'] = FUSION_SELF."?id=".$id."&"; 
    7778 
Note: See TracChangeset for help on using the changeset viewer.