|
@@ -291,7 +291,7 @@ discard block |
|
|
block discarded – undo |
291
|
291
|
if ($kcount == 0) { |
292
|
292
|
echo "</td><td style='width:", app(ModuleThemeInterface::class)->parameter('chart-box-x'), "px'>"; |
293
|
293
|
} else { |
294
|
|
- echo '<a href="#" title="' . I18N::translate('Children') . '" data-route="Descendants" data-xref="' . e($pid) . '" data-spouses="' . e($show_spouse) . '" data-tree="' . e($individual->tree()->name()) . '">' . view('icons/arrow-left') . '</a>'; |
|
294
|
+ echo '<a href="#" title="' . I18N::translate('Children') . '" data-route="Descendants" data-xref="' . e($pid) . '" data-spouses="' . e($show_spouse) . '" data-tree="' . e($individual->tree()->name()) . '">' . view('icons/arrow-left') . '</a>'; |
295
|
295
|
|
296
|
296
|
//-- move the arrow up to line up with the correct box |
297
|
297
|
if ($show_spouse) { |
|
@@ -372,7 +372,7 @@ discard block |
|
|
block discarded – undo |
372
|
372
|
} |
373
|
373
|
|
374
|
374
|
// filter out root person from children array so only siblings remain |
375
|
|
- $siblings = $family->children()->filter(function (Individual $x) use ($individual): bool { |
|
375
|
+ $siblings = $family->children()->filter(function (Individual $x) use ($individual): bool { |
376
|
376
|
return $x !== $individual; |
377
|
377
|
}); |
378
|
378
|
|
|
@@ -445,7 +445,7 @@ discard block |
|
|
block discarded – undo |
445
|
445
|
echo '<td id="td_' . e($ARID) . '">'; |
446
|
446
|
|
447
|
447
|
if ($generation == $generations - 1 && $family->husband()->childFamilies()) { |
448
|
|
- echo '<a href="#" title="' . I18N::translate('Parents') . '" data-route="Ancestors" data-xref="' . e($ARID) . '" data-spouses="' . e($show_spouse) . '" data-tree="' . e($family->husband()->tree()->name()) . '">' . view('icons/arrow-right') . '</a>'; |
|
448
|
+ echo '<a href="#" title="' . I18N::translate('Parents') . '" data-route="Ancestors" data-xref="' . e($ARID) . '" data-spouses="' . e($show_spouse) . '" data-tree="' . e($family->husband()->tree()->name()) . '">' . view('icons/arrow-right') . '</a>'; |
449
|
449
|
} |
450
|
450
|
|
451
|
451
|
$this->printPersonPedigree($family->husband(), $generation + 1, $generations, $show_spouse); |
|
@@ -476,7 +476,7 @@ discard block |
|
|
block discarded – undo |
476
|
476
|
echo '<td id="td_' . e($ARID) . '">'; |
477
|
477
|
|
478
|
478
|
if ($generation == $generations - 1 && $family->wife()->childFamilies()) { |
479
|
|
- echo '<a href="#" title="' . I18N::translate('Parents') . '" data-route="Ancestors" data-xref="' . e($ARID) . '" data-spouses="' . e($show_spouse) . '" data-tree="' . e($family->wife()->tree()->name()) . '">' . view('icons/arrow-right') . '</a>'; |
|
479
|
+ echo '<a href="#" title="' . I18N::translate('Parents') . '" data-route="Ancestors" data-xref="' . e($ARID) . '" data-spouses="' . e($show_spouse) . '" data-tree="' . e($family->wife()->tree()->name()) . '">' . view('icons/arrow-right') . '</a>'; |
480
|
480
|
} |
481
|
481
|
|
482
|
482
|
$this->printPersonPedigree($family->wife(), $generation + 1, $generations, $show_spouse); |