. */ namespace Fisharebest\Webtrees; use Fisharebest\Webtrees\Controller\AncestryController; use Fisharebest\Webtrees\Functions\FunctionsEdit; require 'includes/session.php'; $controller = new AncestryController; $controller->restrictAccess(Module::isActiveChart($controller->tree(), 'ancestors_chart')); // Only generate the content for interactive users (not search robots). if (Filter::getBool('ajax') && Session::has('initiated')) { echo $controller->getChart(); echo $controller->getJavascript(); return; } $controller ->addInlineJavascript('$(".wt-page-content").load(document.location + "&ajax=1");') ->pageHeader(); ?>

getPageTitle() ?>

root, ['id' => 'rootid', 'name' => 'rootid']) ?>
tree()->getPreference('MAX_PEDIGREE_GENERATIONS'))), $controller->generations, ['id' => 'PEDIGREE_GENERATIONS', 'name' => 'PEDIGREE_GENERATIONS']) ?>
I18N::translate('List'), '1' => I18N::translate('Booklet'), '2' => I18N::translate('Individuals'), '3' => I18N::translate('Families')], $controller->chart_style, true, ['onchange' => '$("input[name=show_cousins]").prop("disabled", $(this).val() !== "1")']) ?> 'show_cousins', 'disabled' => $controller->chart_style !== '1']) ?>