Changeset 33 for branches/portal_by_daris/panels
- Timestamp:
- 02/11/09 14:46:07 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/portal_by_daris/panels/active_topics.php
r22 r33 48 48 ); 49 49 50 ($hook = get_hook(' vf_qr_get_has_posted')) ? eval($hook) : null;50 ($hook = get_hook('xn_portal_by_daris_at_qr_get_has_posted')) ? eval($hook) : null; 51 51 $query['SELECT'] .= ', ('.$forum_db->query_build($subquery, true).') AS has_posted'; 52 52 } 53 53 54 ($hook = get_hook(' vf_qr_get_topics')) ? eval($hook) : null;54 ($hook = get_hook('xn_portal_by_daris_at_qr_get_topics')) ? eval($hook) : null; 55 55 $result_at = $forum_db->query_build($query) or error(__FILE__, __LINE__); 56 56 … … 60 60 61 61 62 ($hook = get_hook(' vf_pre_header_load')) ? eval($hook) : null;62 ($hook = get_hook('xn_portal_by_daris_at_pre_header_load')) ? eval($hook) : null; 63 63 64 64 … … 72 72 $forum_page['item_header']['info']['lastpost'] = '<strong class="info-lastpost">'.$lang_forum['last post'].'</strong>'; 73 73 74 ($hook = get_hook(' vf_main_output_start')) ? eval($hook) : null;74 ($hook = get_hook('xn_portal_by_daris_at_main_output_start')) ? eval($hook) : null; 75 75 76 76 // If there are topics in this forum … … 85 85 <?php 86 86 87 ($hook = get_hook(' vf_pre_topic_loop_start')) ? eval($hook) : null;87 ($hook = get_hook('xn_portal_by_daris_at_pre_topic_loop_start')) ? eval($hook) : null; 88 88 89 89 $forum_page['item_count'] = 0; … … 91 91 while ($cur_topic = $forum_db->fetch_assoc($result_at)) 92 92 { 93 ($hook = get_hook(' vf_topic_loop_start')) ? eval($hook) : null;93 ($hook = get_hook('xn_portal_by_daris_at_topic_loop_start')) ? eval($hook) : null; 94 94 95 95 ++$forum_page['item_count']; … … 110 110 $forum_page['item_body']['subject']['title'] = '<h3 class="hn"><span class="item-num">'.forum_number_format($forum_page['start_from'] + $forum_page['item_count']).'</span>'.$forum_page['item_title']['link'].'</h3>'; 111 111 112 ($hook = get_hook(' vf_topic_loop_moved_topic_pre_item_subject_merge')) ? eval($hook) : null;112 ($hook = get_hook('xn_portal_by_daris_at_topic_loop_moved_topic_pre_item_subject_merge')) ? eval($hook) : null; 113 113 114 114 if ($forum_config['o_topic_views'] == '1') … … 141 141 } 142 142 143 ($hook = get_hook(' vf_topic_loop_normal_topic_pre_item_title_status_merge')) ? eval($hook) : null;143 ($hook = get_hook('xn_portal_by_daris_at_topic_loop_normal_topic_pre_item_title_status_merge')) ? eval($hook) : null; 144 144 145 145 if (!empty($forum_page['item_title_status'])) … … 148 148 $forum_page['item_title']['link'] = '<a href="'.forum_link($forum_url['topic'], array($cur_topic['id'], sef_friendly($cur_topic['subject']))).'">'.forum_htmlencode($cur_topic['subject']).'</a>'; 149 149 150 ($hook = get_hook(' vf_topic_loop_normal_topic_pre_item_title_merge')) ? eval($hook) : null;150 ($hook = get_hook('xn_portal_by_daris_at_topic_loop_normal_topic_pre_item_title_merge')) ? eval($hook) : null; 151 151 152 152 $forum_page['item_body']['subject']['title'] = '<h3 class="hn"><span class="item-num">'.$forum_page['item_count'].'</span> '.implode(' ', $forum_page['item_title']).'</h3>'; … … 169 169 } 170 170 171 ($hook = get_hook(' vf_topic_loop_normal_topic_pre_item_nav_merge')) ? eval($hook) : null;171 ($hook = get_hook('xn_portal_by_daris_at_topic_loop_normal_topic_pre_item_nav_merge')) ? eval($hook) : null; 172 172 173 173 if (!empty($forum_page['item_nav'])) 174 174 $forum_page['item_subject']['nav'] = '<span class="item-nav">'.sprintf($lang_forum['Topic navigation'], implode('  ', $forum_page['item_nav'])).'</span>'; 175 175 176 ($hook = get_hook(' vf_topic_loop_normal_topic_pre_item_subject_merge')) ? eval($hook) : null;176 ($hook = get_hook('xn_portal_by_daris_at_topic_loop_normal_topic_pre_item_subject_merge')) ? eval($hook) : null; 177 177 178 178 $forum_page['item_body']['info']['replies'] = '<li class="info-replies"><strong>'.forum_number_format($cur_topic['num_replies']).'</strong> <span class="label">'.(($cur_topic['num_replies'] == 1) ? $lang_forum['reply'] : $lang_forum['replies']).'</span></li>'; … … 187 187 $forum_page['item_body']['subject']['desc'] = implode(' ', $forum_page['item_subject']); 188 188 189 ($hook = get_hook(' vf_row_pre_item_status_merge')) ? eval($hook) : null;189 ($hook = get_hook('xn_portal_by_daris_at_row_pre_item_status_merge')) ? eval($hook) : null; 190 190 191 191 $forum_page['item_style'] = (($forum_page['item_count'] % 2 != 0) ? ' odd' : ' even').(($forum_page['item_count'] == 1) ? ' main-first-item' : '').((!empty($forum_page['item_status'])) ? ' '.implode(' ', $forum_page['item_status']) : ''); 192 192 193 ($hook = get_hook(' vf_row_pre_display')) ? eval($hook) : null;193 ($hook = get_hook('xn_portal_by_daris_at_row_pre_display')) ? eval($hook) : null; 194 194 195 195 ?> … … 218 218 $forum_page['item_body']['subject']['desc'] = '<p>'.$lang_forum['First topic nag'].'</p>'; 219 219 220 ($hook = get_hook(' vf_no_results_row_pre_display')) ? eval($hook) : null;220 ($hook = get_hook('xn_portal_by_daris_at_no_results_row_pre_display')) ? eval($hook) : null; 221 221 222 222 ?>