Changeset 8401 for trunk/index.php
- Timestamp:
- Dec 30, 2010, 8:47:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r6363 r8401 27 27 include(PHPWG_ROOT_PATH.'include/section_init.inc.php'); 28 28 29 // Check Access and exit when user status is not ok 30 check_status(ACCESS_GUEST); 31 32 if (!isset($page['start'])) 33 { 34 $page['start'] = 0; 35 } 36 37 // access authorization check 38 if (isset($page['category'])) 39 { 40 check_restrictions($page['category']['id']); 41 } 42 29 43 trigger_action('loc_begin_index'); 30 31 // +-----------------------------------------------------------------------+32 // | Check Access and exit when user status is not ok |33 // +-----------------------------------------------------------------------+34 check_status(ACCESS_GUEST);35 44 36 45 //---------------------------------------------- change of image display order … … 53 62 } 54 63 //-------------------------------------------------------------- initialization 55 // detection of the start picture to display56 if (!isset($page['start']))57 {58 $page['start'] = 0;59 }60 61 // access authorization check62 if (isset($page['category']))63 {64 check_restrictions($page['category']['id']);65 }66 64 67 65 $page['navigation_bar'] = array(); … … 256 254 257 255 // category comment 258 if ( isset($page['comment']) and $page['comment'] != '')256 if ($page['start']==0 and !isset($page['chronology_field']) and !empty($page['comment']) ) 259 257 { 260 258 $template->assign('CONTENT_DESCRIPTION', $page['comment'] );
Note: See TracChangeset
for help on using the changeset viewer.