$rtf_text = strip_tags(process_text($familyDb->fam_text), "<b><i>"); $sect->writeText($rtf_text, $arial12, new PHPRtfLite_ParFormat()); $rtf_text = strip_tags(show_sources2("family", "fam_text", $familyDb->fam_gedcomnumber), "<b><i>"); $sect->writeText($rtf_text, $arial12, new PHPRtfLite_ParFormat()); } else { echo '<br>' . process_text($familyDb->fam_text, 'family'); // *** BK: source by family text *** echo show_sources2("family", "fam_text", $familyDb->fam_gedcomnumber); } } } // *** Show addresses by family *** if ($user['group_living_place'] == 'j') { if ($familyDb->fam_gedcomnumber) { $addressnr = 0; $address_qry_prep = $db_functions->get_addresses_family($familyDb->fam_gedcomnumber); if ($screen_mode != 'PDF') { foreach ($address_qry_prep as $addressDb) { $addressnr++; if ($addressnr == '1') { $nr_addresses = count($address_qry_prep); if ($nr_addresses == '1') { $residence = __('Residence (family)'); } else { $residence = __('Residences (family)'); } echo '<br><b>' . $residence . ':</b> '; echo '<span class="pers_living_place fonts">'; } if ($addressnr > 1) { echo ', ';