facts(['HUSB'], false, $fam_access_level) as $fact) { $found |= !$fact->isPendingDeletion(); $person = $fact->target(); if ($person instanceof Individual) { $row_class = 'wt-gender-' . $person->sex(); if ($fact->isPendingAddition()) { $row_class .= ' new'; } elseif ($fact->isPendingDeletion()) { $row_class .= ' old'; } ?> canEdit()) { ?> facts(['WIFE'], false, $fam_access_level) as $fact) { $person = $fact->target(); if ($person instanceof Individual) { $found |= !$fact->isPendingDeletion(); $row_class = 'wt-gender-' . $person->sex(); if ($fact->isPendingAddition()) { $row_class .= ' new'; } elseif ($fact->isPendingDeletion()) { $row_class .= ' old'; } ?> canEdit()) { ?> facts(array_merge(Gedcom::MARRIAGE_EVENTS, Gedcom::DIVORCE_EVENTS), true) as $fact) { $found |= !$fact->isPendingDeletion(); if ($fact->isPendingAddition()) { $row_class = 'wt-new'; } elseif ($fact->isPendingDeletion()) { $row_class = 'wt-old'; } else { $row_class = ''; } ?> isOK() && $fact->date()->isOK()) { $prev = $fact->date(); } } if (!$found && $family->canShow() && $family->canEdit()) { ?> facts(['CHIL'], false, $fam_access_level) as $fact) { $person = $fact->target(); if ($person instanceof Individual) { $row_class = 'wt-gender-' . $person->sex(); if ($fact->isPendingAddition()) { $child_number++; $row_class .= ' new'; } elseif ($fact->isPendingDeletion()) { $row_class .= ' old'; } else { $child_number++; } $next = new Date(''); foreach ($person->facts(Gedcom::BIRTH_EVENTS, true) as $bfact) { if ($bfact->date()->isOK()) { $next = $bfact->date(); break; } } ?> canEdit()) : ?>
' : '' ?> $person]) ?>
' : '' ?> $person]) ?>
getTag(), $fact->date()->display() . ' — ' . $fact->place()->fullName()) ?>
isOK() && $next->isOK()) : ?>
maximumJulianDay() - $prev->minimumJulianDay(); ?> 1 && $days > 1 && $days < 240) : ?> = 24) : ?>
$person]) ?>
children()->count() > 1) : ?>