Changeset 9252 for extensions/spread_menus/spread_menus_on_public_pages.php
- Timestamp:
- Feb 16, 2011, 6:59:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/spread_menus/spread_menus_on_public_pages.php
r8235 r9252 6 6 'Dir' => SPREADM_DIR, 7 7 'Path' => SPREADM_PATH, 8 'Version' => SPREADM_VER,9 8 'On_picture' => true, 10 9 'Exclude' => array('theNBMPage','thePopuphelpPage',), # Excluded pages … … 15 14 if (!isset($conf['Spread menus']) or !is_array($conf['Spread menus'])) $conf['Spread menus'] = $default; 16 15 else $conf['Spread menus'] = array_merge( $default, $conf['Spread menus'] ); 17 $conf['Spread menus']['Version'] = SPREADM_VER;18 16 19 17 if ( !function_exists( 'spread_menus_on_public_pages' ) ) { … … 24 22 if ( function_exists( 'initialize_menu') ) return false; # The current page has already the menu 25 23 global $template, $page, $conf; 24 if (!isset($page['start'])) $page['start']=0 ; 26 25 if ( isset($page['body_id']) and in_array($page['body_id'], $conf['Spread menus']['Exclude']) ) return false; 27 26 if ( isset($page['body_id']) and $page['body_id'] == 'thePicturePage' and !$conf['Spread menus']['On_picture'] ) return false;
Note: See TracChangeset
for help on using the changeset viewer.