Level and all submenu as * good for having footer link blocks */ $h3 = array(); $start_id = 0; foreach($content['struct'] as $key => $item) { if( $item['acat_struct'] == 0 && _getStructureLevelDisplayStatus($key, $start_id) ) { $h3[] = '

' . get_level_ahref($key) . html_entities($item['acat_name']) . '

'; $h3[] = buildCascadingMenu(','.$key); // the same as used behind {NAV_LIST_UL:...} - $key is the ID to start with } } $content['all'] = str_replace('{H3_MENU}', implode(LF, $h3), $content['all']); ?>