summaryrefslogtreecommitdiff
path: root/app/Controller/FamilyBookController.php
diff options
context:
space:
mode:
authormakitso <makitso@gmail.com>2017-07-05 06:26:08 -0500
committermakitso <makitso@gmail.com>2017-07-05 06:26:08 -0500
commitd21ca44cc74890b1a884defd1205ed8b182e514f (patch)
tree9c4429d717e33a513dc86e61451dfe14fc85cff4 /app/Controller/FamilyBookController.php
parent95a9c76c1d0a0648eaac5d13f1626bc2bb8786e4 (diff)
downloadwebtrees-d21ca44cc74890b1a884defd1205ed8b182e514f.tar.gz
webtrees-d21ca44cc74890b1a884defd1205ed8b182e514f.tar.bz2
webtrees-d21ca44cc74890b1a884defd1205ed8b182e514f.zip
Revamp Revamp how horizontal lines are handled in charts
Moved horizontal line management to common
Diffstat (limited to 'app/Controller/FamilyBookController.php')
-rw-r--r--app/Controller/FamilyBookController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Controller/FamilyBookController.php b/app/Controller/FamilyBookController.php
index d281950a38..492dec955a 100644
--- a/app/Controller/FamilyBookController.php
+++ b/app/Controller/FamilyBookController.php
@@ -152,7 +152,7 @@ class FamilyBookController extends ChartController {
if ($person) {
FunctionsPrint::printPedigreePerson($person);
echo '</td><td>',
- '<img class="line2" src="', Theme::theme()->parameter('image-hline'), '" width="8" height="3">';
+ '<img class="linef1" src="', Theme::theme()->parameter('image-hline'), '" width="8" height="3">';
} else {
echo '<div style="width:', $this->getBoxDimensions()->width + 19, 'px; height:', $this->getBoxDimensions()->height + 8, 'px;"></div>',
'</td><td>';
@@ -253,7 +253,7 @@ class FamilyBookController extends ChartController {
}
echo '<img class="line3 pvline" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $lh, '"></td>',
'<td>',
- '<img class="line4" src="', Theme::theme()->parameter('image-hline'), '" height="3"></td>',
+ '<img class="linef2" src="', Theme::theme()->parameter('image-hline'), '" height="3"></td>',
'<td>';
$lh = $savlh; // restore original line height
//-- print the father box
@@ -277,7 +277,7 @@ class FamilyBookController extends ChartController {
}
echo '</tr><tr>',
'<td class="tdtop"><img class="pvline" src="', Theme::theme()->parameter('image-vline'), '" width="3" height="', $lh, '"></td>',
- '<td><img class="line4" src="', Theme::theme()->parameter('image-hline'), '" height="3"></td>',
+ '<td><img class="linef3" src="', Theme::theme()->parameter('image-hline'), '" height="3"></td>',
'<td>';
//-- print the mother box
FunctionsPrint::printPedigreePerson($family->getWife());