" border="0" class="icon" alt="" /> |
controller->isPrintPreview())&&(empty($SEARCH_SPIDER))) { ?>
- []
|
| getLabel(); ?> |
">
getXref(), 2, !$this->controller->isPrintPreview(), 0, $personcount++); ?>
|
getBirthDate();
}
//-- father/husband
if (isset($people["husb"])) {
?>
| getLabel(); ?> |
">
getXref(), 2, !$this->controller->isPrintPreview(), 0, $personcount++); ?>
|
getBirthDate();
}
//-- missing father
if ($type=="parents" && !isset($people["husb"]) && !isset($people["newhusb"])) {
if (!$this->controller->isPrintPreview() && $this->controller->canedit) {
?>
|
|
controller->indi->equals($people["wife"]) && !isset($people["husb"]) && !isset($people["newhusb"])) {
if (!$this->controller->isPrintPreview() && $this->controller->canedit) {
?>
|
|
| getLabel($elderdate); ?> |
">
getXref(), 2, !$this->controller->isPrintPreview(), 0, $personcount++); ?>
|
| getLabel($elderdate); ?> |
">
getXref(), 2, !$this->controller->isPrintPreview(), 0, $personcount++); ?>
|
controller->isPrintPreview() && $this->controller->canedit) {
?>
|
|
controller->indi->equals($people["husb"]) && !isset($people["wife"]) && !isset($people["newwife"])) {
if (!$this->controller->isPrintPreview() && $this->controller->canedit) {
?>
|
|
getMarriageRecord()!="" || WT_USER_CAN_EDIT) {
$styleadd = "";
$date = $family->getMarriageDate();
$place = $family->getMarriagePlace();
$famid = $family->getXref();
if (!$date && $this->controller->show_changes && ($famrec = find_updated_record($famid))!==null) {
$marrrec = get_sub_record(1, "1 MARR", $famrec);
if ($marrrec!=$family->getMarriageRecord()) {
$date = new GedcomDate(get_gedcom_value("MARR:DATE", 1, $marrrec, '', false));
$place = get_gedcom_value("MARR:PLAC", 1, $marrrec, '', false);
$styleadd = "blue";
}
}
?>
|
".translate_fact('NCHI').": ".$family->getNumberOfChildren()." ";?>
getMarriageType());
if ($marr_type=='CIVIL' || $marr_type=='PARTNERS' || $marr_type=='RELIGIOUS' || $marr_type=='UNKNOWN') {
$marr_fact = translate_fact("MARR_".$marr_type);
} else if ($marr_type) {
$marr_fact = translate_fact("MARR").' '.$family->getMarriageType();
} else {
$marr_fact = translate_fact("MARR");
}
if ($date && $date->isOK() || $place) {
echo '', $marr_fact, ': ';
if ($date) {
echo $date->Display(false);
if (!empty($place)) echo ' -- ';
}
if (!empty($place)) echo $place;
} else if (get_sub_record(1, "1 _NMR", find_family_record($famid, WT_GED_ID))) {
$husb = $family->getHusband();
$wife = $family->getWife();
if (empty($wife) && !empty($husb)) echo translate_fact('_NMR', $husb);
else if (empty($husb) && !empty($wife)) echo translate_fact('_NMR', $wife);
else echo translate_fact('_NMR');
} else if (get_sub_record(1, "1 _NMAR", find_family_record($famid, WT_GED_ID))) {
$husb = $family->getHusband();
$wife = $family->getWife();
if (empty($wife) && !empty($husb)) echo translate_fact('_NMAR', $husb);
else if (empty($husb) && !empty($wife)) echo translate_fact('_NMAR', $wife);
else echo translate_fact('_NMAR');
} else if ($family->getMarriageRecord()=="" && $this->controller->canedit) {
echo "".i18n::translate('Add marriage details')."";
} else {
$factdetail = explode(' ', trim($family->getMarriageRecord()));
if (isset($factdetail) && count($factdetail) == 3) {
if (strtoupper($factdetail[2]) == "Y") {
echo '', $marr_fact, ': ', i18n::translate('Yes');
} else if (strtoupper($factdetail[2]) == "N") {
echo '', $marr_fact, ': ', i18n::translate('No');
}
} else {
echo '', $marr_fact, '';
}
}
?>
|
getMarriageDate();
$key=0;
foreach($people["children"] as $child) {
$label = $child->getLabel();
$styleadd = "";
?>
| getLabel(); else print $child->getLabel($elderdate, $key+1); ?> |
getXref(), 2, !$this->controller->isPrintPreview(), 0, $personcount++);
?>
|
getBirthDate();
++$key;
}
foreach($people["newchildren"] as $child) {
$label = $child->getLabel();
$styleadd = "blue";
?>
| getLabel(); else print $child->getLabel($elderdate, $key+1); ?> |
getXref(), 2, !$this->controller->isPrintPreview(), 0, $personcount++);
?>
|
getBirthDate();
++$key;
}
foreach($people["delchildren"] as $child) {
$label = $child->getLabel();
$styleadd = "red";
?>
| getLabel(); else print $child->getLabel($elderdate, $key+1); ?> |
getXref(), 2, !$this->controller->isPrintPreview(), 0, $personcount++);
?>
|
getBirthDate();
++$key;
}
if (isset($family) && !$this->controller->isPrintPreview() && $this->controller->canedit) {
if ($type == "spouse") {
$action = "add_son_daughter";
$child_u = i18n::translate('Add a son or daughter');
$child_m = i18n::translate('Son');
$child_f = i18n::translate('Daughter');
}
else {
$action = "add_sibling";
$child_u = i18n::translate('Add a brother or sister');
$child_m = i18n::translate('Brother');
$child_f = i18n::translate('Sister');
}
?>
|
|
controller->isPrintPreview()) {
?>
controller->indi->getChildFamilies();
if (count($families)==0) {
if (/**!$this->controller->isPrintPreview() &&**/ $this->controller->canedit) {
?>
$family) {
$people = $this->controller->buildFamilyList($family, "parents");
$this->printFamilyHeader($famid, $this->controller->indi->getChildFamilyLabel($family));
?>
printParentsRows($family, $people, "parents");
$this->printChildrenRows($family, $people, "parents");
?>
controller->indi->getStepFamilies() as $famid=>$family) {
$people = $this->controller->buildFamilyList($family, "step");
$this->printFamilyHeader($famid, $this->controller->indi->getStepFamilyLabel($family));
?>
printParentsRows($family, $people, "step");
$this->printChildrenRows($family, $people, "step");
?>
controller->indi->getSpouseFamilies();
foreach($families as $famid=>$family) {
$people = $this->controller->buildFamilyList($family, "spouse");
$this->printFamilyHeader($famid, $this->controller->indi->getSpouseFamilyLabel($family));
?>
printParentsRows($family, $people, "spouse");
$this->printChildrenRows($family, $people, "spouse");
?>
controller->isPrintPreview() && $this->controller->canedit) {
?>
1) { ?>
|
|
|
|
controller->indi->getSex()!="F") { ?>
|
|
|
|
|
|
controller->indi->getSex()!="M") { ?>
|
|
|
|
|
|
|
|
|
|
getName().'_content">'.ob_get_clean().'';
}
// Implement WT_Module_Tab
public function hasTabContent() {
return true;
}
// Implement WT_Module_Tab
public function canLoadAjax() {
return true;
}
// Implement WT_Module_Tab
public function getPreLoadContent() {
return '';
}
// Implement WT_Module_Tab
public function getJSCallbackAllTabs() {
return '';
}
// Implement WT_Module_Tab
public function getJSCallback() {
return '';
}
}