Changeset 1604 for trunk/index.php
- Timestamp:
- Nov 10, 2006, 2:10:42 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r1537 r1604 30 30 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 31 31 include(PHPWG_ROOT_PATH.'include/section_init.inc.php'); 32 33 trigger_action('loc_begin_index'); 32 34 33 35 // +-----------------------------------------------------------------------+ … … 240 242 } 241 243 //------------------------------------------------------- category informations 242 if ( 243 $page['navigation_bar'] != '' 244 or (isset($page['comment']) and $page['comment'] != '') 245 ) 246 { 247 $template->assign_block_vars('cat_infos',array()); 248 } 244 249 245 // navigation bar 250 246 if ($page['navigation_bar'] != '') … … 287 283 } 288 284 289 if (isset($page['category'])) 290 { 291 // category comment 292 if (isset($page['comment']) and $page['comment'] != '') 293 { 294 $template->assign_block_vars( 295 'cat_infos.comment', 296 array( 297 'COMMENTS' => $page['comment'] 298 ) 299 ); 300 } 285 // category comment 286 if (isset($page['comment']) and $page['comment'] != '') 287 { 288 $template->assign_block_vars( 289 'cat_infos.comment', 290 array( 291 'COMMENTS' => $page['comment'] 292 ) 293 ); 301 294 } 302 295 //------------------------------------------------------------ log informations 303 296 pwg_log('category', $page['title']); 304 297 298 trigger_action('loc_end_index'); 305 299 $template->parse('index'); 306 300 include(PHPWG_ROOT_PATH.'include/page_tail.php');
Note: See TracChangeset
for help on using the changeset viewer.