init(); // tell tabs that use jquery that it is already loaded define('WT_JQUERY_LOADED', 1); // We have finished writing to $_SESSION, so release the lock session_write_close(); print_header($controller->getPageTitle()); if (!$controller->indi){ echo "", i18n::translate('Unable to find record with ID'), "

"; print_footer(); exit; } else if (!$controller->indi->canDisplayName()) { print_privacy_error(); print_footer(); exit; } $linkToID=$controller->pid; // -- Tell addmedia.php what to link to ?>
canShowHighlightedObject()) { echo $controller->getHighlightedObject(); } ?>
accept_success)) echo "", i18n::translate('Changes successfully accepted into database'), "
"; if ($controller->indi->isMarkedDeleted()) echo "".i18n::translate('This record has been marked for deletion upon admin approval.').""; ?> indi->getFullName()); echo "  "; echo PrintReady("(".$controller->pid.")"); if (WT_USER_IS_ADMIN) { $user_id=get_user_from_gedcom_xref(WT_GED_ID, $controller->pid); if ($user_id) { $pgvuser=get_user_name($user_id); echo " "; echo printReady("({$pgvuser})"); } } ?>

indi->getAddName()) > 0) echo "", PrintReady($controller->indi->getAddName()), "
"; ?>
indi->canDisplayDetails()) { ?> getGlobalFacts(); $nameSex = array('NAME', 'SEX'); foreach ($globalfacts as $key=>$value) { $fact = $value->getTag(); if (in_array($fact, $nameSex)) { if ($col>0) { ++$col; } if ($fact=="SEX") $controller->print_sex_record($value); if ($fact=="NAME") $controller->print_name_record($value); ++$col; if ($col==$maxcols) { echo '
'; $col=0; } } } // Display summary birth/death info. $summary=$controller->indi->format_first_major_fact(WT_EVENTS_BIRT, 2); if (!($controller->indi->isDead())) { // If alive display age $bdate=$controller->indi->getBirthDate(); $age = GedcomDate::GetAgeGedcom($bdate); if ($age!="") $summary.= "
".i18n::translate('Age')."
".get_age_at_event($age, true)."
"; } $summary.=$controller->indi->format_first_major_fact(WT_EVENTS_DEAT, 2); if ($SHOW_LDS_AT_GLANCE) { $summary.=''.get_lds_glance($controller->indi->getGedcomRecord()).''; } if ($summary) { ++$col; echo '
', "\n\t
\n", $summary, "\n\t
\n
\n"; } ?>
indi->isRemote()) { ?>
indi->getLinkTitle(); ?>
tabs as $tab) { echo $tab->getPreLoadContent(); } ?> isPrintPreview())&&(empty($SEARCH_SPIDER))) { $showFull = ($PEDIGREE_FULL_DETAILS) ? 1 : 0; } ?>
indi->canDisplayDetails()) { print "
"; print_privacy_error(); print "
"; } else { echo '
'; echo ''; foreach ($controller->tabs as $tab) { if ($tab->hasTabContent()) { if ($tab->getName()==$controller->default_tab || !$tab->canLoadAjax()) { echo '
'; echo $tab->getTabContent(); echo '
'; } } } ?>
"; } else { print_footer(); } ?>