@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | $hfam = $husb->getPrimaryChildFamily(); |
| 113 | 113 | if ($hfam) { |
| 114 | 114 | // remove the|| test for $sosa |
| 115 | - echo '<td rowspan="2"><img src="' . Theme::theme()->parameter('image-hline') . '"></td><td rowspan="2"><img src="' . Theme::theme()->parameter('image-vline') . '" width="3" height="' . ($pbheight -14 ) . '"></td>'; |
|
| 115 | + echo '<td rowspan="2"><img src="' . Theme::theme()->parameter('image-hline') . '"></td><td rowspan="2"><img src="' . Theme::theme()->parameter('image-vline') . '" width="3" height="' . ($pbheight - 14) . '"></td>'; |
|
| 116 | 116 | echo '<td><img class="rap" src="' . Theme::theme()->parameter('image-hline') . '"></td><td>'; |
| 117 | 117 | // husband’s father |
| 118 | 118 | if ($hfam && $hfam->getHusband()) { |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | $hfam = $wife->getPrimaryChildFamily(); |
| 204 | 204 | |
| 205 | 205 | if ($hfam) { |
| 206 | - echo '<td rowspan="2"><img src="' . Theme::theme()->parameter('image-hline') . '"></td><td rowspan="2"><img src="' . Theme::theme()->parameter('image-vline') . '" width="3" height="' . ($pbheight -14 ) . '"></td>'; |
|
| 206 | + echo '<td rowspan="2"><img src="' . Theme::theme()->parameter('image-hline') . '"></td><td rowspan="2"><img src="' . Theme::theme()->parameter('image-vline') . '" width="3" height="' . ($pbheight - 14) . '"></td>'; |
|
| 207 | 207 | echo '<td><img class="rapS" src="' . Theme::theme()->parameter('image-hline') . '"></td><td>'; |
| 208 | 208 | // wife’s father |
| 209 | 209 | if ($hfam && $hfam->getHusband()) { |
@@ -289,9 +289,9 @@ discard block |
||
| 289 | 289 | |
| 290 | 290 | if ($sosa == 0 && Auth::isEditor($family->getTree())) { |
| 291 | 291 | echo '<br>'; |
| 292 | - echo '<a href="edit_interface.php?action=add_child_to_family&ged=' . $family->getTree()->getNameHtml() .'&xref=' . $family->getXref() . '&gender=U">' . I18N::translate('Add a child to this family') . '</a>'; |
|
| 293 | - echo ' <a class="icon-sex_m_15x15" href="edit_interface.php?action=add_child_to_family&ged=' . $family->getTree()->getNameHtml() .'&xref=' . $family->getXref() . '&gender=M" title="', I18N::translate('son'), '"></a>'; |
|
| 294 | - echo ' <a class="icon-sex_f_15x15" href="edit_interface.php?action=add_child_to_family&ged=' . $family->getTree()->getNameHtml() .'&xref=' . $family->getXref() . '&gender=F" title="', I18N::translate('daughter'), '"></a>'; |
|
| 292 | + echo '<a href="edit_interface.php?action=add_child_to_family&ged=' . $family->getTree()->getNameHtml() . '&xref=' . $family->getXref() . '&gender=U">' . I18N::translate('Add a child to this family') . '</a>'; |
|
| 293 | + echo ' <a class="icon-sex_m_15x15" href="edit_interface.php?action=add_child_to_family&ged=' . $family->getTree()->getNameHtml() . '&xref=' . $family->getXref() . '&gender=M" title="', I18N::translate('son'), '"></a>'; |
|
| 294 | + echo ' <a class="icon-sex_f_15x15" href="edit_interface.php?action=add_child_to_family&ged=' . $family->getTree()->getNameHtml() . '&xref=' . $family->getXref() . '&gender=F" title="', I18N::translate('daughter'), '"></a>'; |
|
| 295 | 295 | echo '<br><br>'; |
| 296 | 296 | } |
| 297 | 297 | echo '</td>'; |
@@ -346,7 +346,7 @@ discard block |
||
| 346 | 346 | } |
| 347 | 347 | |
| 348 | 348 | if ($f == $maxfam) { |
| 349 | - echo '<img height="' . ((($bheight / 2)) ) . 'px"'; |
|
| 349 | + echo '<img height="' . ((($bheight / 2))) . 'px"'; |
|
| 350 | 350 | } else { |
| 351 | 351 | echo '<img height="' . $pbheight . 'px"'; |
| 352 | 352 | } |
@@ -461,7 +461,7 @@ discard block |
||
| 461 | 461 | if ($kids) { |
| 462 | 462 | echo '<table cellspacing="0" cellpadding="0" border="0" ><tr>'; |
| 463 | 463 | if ($kids > 1) { |
| 464 | - echo '<td rowspan="', $kids, '"><img width="3px" height="', (($bheight) * ($kids -1)), 'px" src="', Theme::theme()->parameter('image-vline'), '"></td>'; |
|
| 464 | + echo '<td rowspan="', $kids, '"><img width="3px" height="', (($bheight) * ($kids - 1)), 'px" src="', Theme::theme()->parameter('image-vline'), '"></td>'; |
|
| 465 | 465 | } |
| 466 | 466 | $ctkids = count($fchildren); |
| 467 | 467 | $i = 1; |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | $h = ($kids - 1) * 4 + $h; |
| 118 | 118 | } |
| 119 | 119 | echo '<td class="tdbot">', |
| 120 | - '<img id="vline_', $child->getXref(), '" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $h -4, '"></td>'; |
|
| 120 | + '<img id="vline_', $child->getXref(), '" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $h - 4, '"></td>'; |
|
| 121 | 121 | } elseif ($i === count($children) - 1) { |
| 122 | 122 | // Adjust for the first column on left |
| 123 | 123 | $h = round(((($this->getBoxDimensions()->height) * $kids) + 8) / 2); |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | $h = ($kids - 1) * 4 + $h; |
| 127 | 127 | } |
| 128 | 128 | echo '<td class="tdtop">', |
| 129 | - '<img class="bvertline" width="3" id="vline_', $child->getXref(), '" src="', Theme::theme()->parameter('image-vline'), '" height="', $h -2, '"></td>'; |
|
| 129 | + '<img class="bvertline" width="3" id="vline_', $child->getXref(), '" src="', Theme::theme()->parameter('image-vline'), '" height="', $h - 2, '"></td>'; |
|
| 130 | 130 | } else { |
| 131 | 131 | echo '<td class="tdbot"style="background: url(', Theme::theme()->parameter('image-vline'), ');">', |
| 132 | 132 | '<img class="spacer" width="3" src="', Theme::theme()->parameter('image-spacer'), '"></td>'; |
@@ -276,7 +276,7 @@ discard block |
||
| 276 | 276 | } |
| 277 | 277 | } |
| 278 | 278 | echo '</tr><tr>', |
| 279 | - '<td class="tdtop"><img class="pvline" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $lh-2, '"></td>', |
|
| 279 | + '<td class="tdtop"><img class="pvline" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $lh - 2, '"></td>', |
|
| 280 | 280 | '<td><img class="line4" src="', Theme::theme()->parameter('image-hline'), '" height="3"></td>', |
| 281 | 281 | '<td>'; |
| 282 | 282 | //-- print the mother box |