summaryrefslogtreecommitdiff
path: root/fanchart.php
diff options
context:
space:
mode:
Diffstat (limited to 'fanchart.php')
-rw-r--r--fanchart.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/fanchart.php b/fanchart.php
index c223196bd3..3739f0ae8c 100644
--- a/fanchart.php
+++ b/fanchart.php
@@ -17,6 +17,8 @@ namespace Fisharebest\Webtrees;
*/
use Fisharebest\Webtrees\Controller\FanchartController;
+use Fisharebest\Webtrees\Functions\FunctionsEdit;
+use Fisharebest\Webtrees\Functions\FunctionsPrint;
define('WT_SCRIPT_NAME', 'fanchart.php');
require './includes/session.php';
@@ -78,7 +80,7 @@ $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">
<label for="fan_style">
@@ -86,7 +88,7 @@ $controller
</label>
</td>
<td class="optionbox">
- <?php echo select_edit_control('fan_style', $controller->getFanStyles(), null, $controller->fan_style); ?>
+ <?php echo FunctionsEdit::selectEditControl('fan_style', $controller->getFanStyles(), null, $controller->fan_style); ?>
</td>
<td rowspan="2" class="topbottombar vmiddle">
<input type="submit" value="<?php echo I18N::translate('View'); ?>">
@@ -99,7 +101,7 @@ $controller
</label>
</td>
<td class="optionbox">
- <?php echo edit_field_integers('generations', $controller->generations, 2, 9); ?>
+ <?php echo FunctionsEdit::editFieldInteger('generations', $controller->generations, 2, 9); ?>
</td>
<td class="descriptionbox">
<label for="fan_width">