|
@@ 135-154 (lines=20) @@
|
| 132 |
|
* @param Individual $individual |
| 133 |
|
*/ |
| 134 |
|
function print_navigator_family(Family $family, Individual $individual) { |
| 135 |
|
foreach ($family->getSpouses() as $spouse) { |
| 136 |
|
?> |
| 137 |
|
<tr class="fact_value"> |
| 138 |
|
<td class="facts_value" > |
| 139 |
|
<a href="#" onclick="opener.insertRowToTable('<?php echo $spouse->getXref(); ?>', '<?php echo Filter::escapeJs($spouse->getFullName()); ?>', '', '', '', '', '', '', '', ''); return false;"> |
| 140 |
|
<?php echo $spouse === $individual ? '<b>' : ''; ?> |
| 141 |
|
<?php echo $spouse->getFullName(); ?> <?php echo $spouse->getLifeSpan(); ?> |
| 142 |
|
<?php echo $spouse === $individual ? '</b>' : ''; ?> |
| 143 |
|
</a> |
| 144 |
|
</td> |
| 145 |
|
<td class="facts_value"> |
| 146 |
|
<?php if ($individual !== $spouse): ?> |
| 147 |
|
<a href="edit_interface.php?action=addmedia_links&noteid=newnote&pid=<?php echo $spouse->getXref(); ?>&gedcom=<?php echo $spouse->getTree()->getNameUrl(); ?>"> |
| 148 |
|
<i class="headimg vmiddle icon-button_head"></i> |
| 149 |
|
</a> |
| 150 |
|
<?php endif; ?> |
| 151 |
|
</td> |
| 152 |
|
<tr> |
| 153 |
|
<?php |
| 154 |
|
} |
| 155 |
|
|
| 156 |
|
foreach ($family->getChildren() as $child) { |
| 157 |
|
?> |
|
@@ 156-175 (lines=20) @@
|
| 153 |
|
<?php |
| 154 |
|
} |
| 155 |
|
|
| 156 |
|
foreach ($family->getChildren() as $child) { |
| 157 |
|
?> |
| 158 |
|
<tr> |
| 159 |
|
<td class="facts_value"> |
| 160 |
|
<a href="#" onclick="opener.insertRowToTable('<?php echo $child->getXref(); ?>', '<?php echo Filter::escapeJs($child->getFullName()); ?>', '', '', '', '', '', '', '', ''); return false;"> |
| 161 |
|
<?php echo $child === $individual ? '<b>' : ''; ?> |
| 162 |
|
<?php echo $child->getFullName(); ?> <?php echo $child->getLifeSpan(); ?> |
| 163 |
|
<?php echo $child === $individual ? '</b>' : ''; ?> |
| 164 |
|
</a> |
| 165 |
|
</td> |
| 166 |
|
<td class="facts_value" > |
| 167 |
|
<?php if ($individual !== $child): ?> |
| 168 |
|
<a href="edit_interface.php?action=addmedia_links&noteid=newnote&pid=<?php echo $child->getXref(); ?>&gedcom=<?php echo $child->getTree()->getNameUrl(); ?>"> |
| 169 |
|
<i class="headimg vmiddle icon-button_head"></i> |
| 170 |
|
</a> |
| 171 |
|
<?php endif; ?> |
| 172 |
|
</td> |
| 173 |
|
</tr> |
| 174 |
|
<?php |
| 175 |
|
} |
| 176 |
|
} |
| 177 |
|
|