break; } } else { // Show the list $count = 0; foreach ($surns as $surnames) { foreach ($surnames as $list) { $count += count($list); } } // Don't sublists short lists. if ($count < get_gedcom_setting(WT_GED_ID, 'SUBLIST_TRIGGER_I')) { $falpha = ''; $show_all_firstnames = 'no'; } else { $givn_initials = WT_Query_Name::givenAlpha($surname, $alpha, $show_marnm, true, WT_GED_ID); // Break long lists by initial letter of given name if ($surname || $show_all == 'yes') { // Don't show the list until we have some filter criteria $show = $falpha || $show_all_firstnames == 'yes' ? 'indi' : 'none'; $list = array(); foreach ($givn_initials as $givn_initial => $count) { switch ($givn_initial) { case '@': $html = $UNKNOWN_PN; break; default: $html = WT_Filter::escapeHtml($givn_initial); break; } if ($count) {