From 4ad1d07a184b7b2266ae85e0767413388fc120d1 Mon Sep 17 00:00:00 2001 From: fisharebest Date: Tue, 16 Jul 2013 22:59:25 +0000 Subject: #1192731 - w3.org validation errors --- includes/functions/functions_print.php | 2 +- includes/functions/functions_print_facts.php | 6 +++--- modules_v3/personal_facts/module.php | 23 ++++++++++++----------- 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php index 0f5b5561b6..9dcd2b7005 100644 --- a/includes/functions/functions_print.php +++ b/includes/functions/functions_print.php @@ -1010,7 +1010,7 @@ function print_add_new_fact($id, $usedfacts, $type) { $newRow = false; echo ''; echo WT_I18N::translate('Add from clipboard'), ''; - echo '
'; + echo ''; echo ''; } - echo ''; + echo '
'; foreach ($indifacts as $fact) { print_fact($fact, $controller->record); @@ -149,8 +141,17 @@ class personal_facts_WT_Module extends WT_Module implements WT_Module_Tab { if ($controller->record->canEdit()) { print_add_new_fact($controller->record->getXref(), $indifacts, 'INDI'); } + echo ''; echo ''; + if (!$EXPAND_RELATIVES_EVENTS) { + echo ''; + } + if (!$EXPAND_HISTO_EVENTS) { + echo ''; + } + + return '
'.ob_get_clean().'
'; } -- cgit v1.3