Changeset 11983
- Timestamp:
- 09/04/07 11:48:55 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/net.nemein.discussion/handler/index.php
r4051 r11983 48 48 if ($threads) 49 49 { 50 foreach ($threads as $ thread)50 foreach ($threads as $i => $thread) 51 51 { 52 $this->_request_data['thread'] =& $thread; 52 $this->_request_data['index_count'] =& $i; 53 $this->_request_data['thread'] =& $thread; 53 54 $this->_request_data['latest_post'] = new net_nemein_discussion_post_dba($thread->latestpost); 54 55 midcom_show_style('view-index-item'); trunk/midcom/net.nemein.discussion/handler/thread.php
r5486 r11983 313 313 $posts = $qb->execute(); 314 314 315 $data['first_post'] =& $posts[0]; 316 315 317 midcom_show_style('view-thread-header'); 316 318 317 foreach ($posts as $post) 318 { 319 foreach ($posts as $i => $post) 320 { 321 $data['index_count'] = $i; 319 322 $data['post'] =& $post; 320 323
