summaryrefslogtreecommitdiff
path: root/familybook.php
diff options
context:
space:
mode:
Diffstat (limited to 'familybook.php')
-rw-r--r--familybook.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/familybook.php b/familybook.php
index ece18d38c1..751279cbd9 100644
--- a/familybook.php
+++ b/familybook.php
@@ -24,6 +24,8 @@ namespace Fisharebest\Webtrees;
global $WT_TREE;
use Fisharebest\Webtrees\Controller\FamilyBookController;
+use Fisharebest\Webtrees\Functions\FunctionsEdit;
+use Fisharebest\Webtrees\Functions\FunctionsPrint;
define('WT_SCRIPT_NAME', 'familybook.php');
require './includes/session.php';
@@ -47,13 +49,13 @@ $controller
</td>
<td class="optionbox">
<input class="pedigree_form" data-autocomplete-type="INDI" type="text" name="rootid" id="rootid" size="3" value="<?php echo $controller->root->getXref(); ?>">
- <?php echo print_findindi_link('rootid'); ?>
+ <?php echo FunctionsPrint::printFindIndividualLink('rootid'); ?>
</td>
<td class="descriptionbox">
<?php echo I18N::translate('Show details'); ?>
</td>
<td class="optionbox">
- <?php echo two_state_checkbox("show_full", $controller->showFull()); ?>
+ <?php echo FunctionsEdit::twoStateCheckbox("show_full", $controller->showFull()); ?>
</td>
<td rowspan="3" class="topbottombar vmiddle">
<input type="submit" value="<?php echo /* I18N: Submit button, on a form */ I18N::translate('View'); ?>">