diff options
| author | Greg Roach <fisharebest@gmail.com> | 2016-02-22 23:06:23 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2016-02-22 23:06:23 +0000 |
| commit | 34377a77fddaf9dcfc31f101f2b625d469dad597 (patch) | |
| tree | 6aaffc2d5e24e6f7471997ffb3304db9689f6a1b /app/Module/InteractiveTree | |
| parent | c7789cf3c0cdd44259199697fea480eafe9e4c44 (diff) | |
| download | webtrees-34377a77fddaf9dcfc31f101f2b625d469dad597.tar.gz webtrees-34377a77fddaf9dcfc31f101f2b625d469dad597.tar.bz2 webtrees-34377a77fddaf9dcfc31f101f2b625d469dad597.zip | |
Fix #847 interactive tree
Diffstat (limited to 'app/Module/InteractiveTree')
| -rw-r--r-- | app/Module/InteractiveTree/TreeView.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Module/InteractiveTree/TreeView.php b/app/Module/InteractiveTree/TreeView.php index caf9b4a010..5819c60b82 100644 --- a/app/Module/InteractiveTree/TreeView.php +++ b/app/Module/InteractiveTree/TreeView.php @@ -207,7 +207,7 @@ class TreeView { $html .= $this->drawPerson($child, $gen - 1, -1, null, $co); } if (!$ajax) { - $html = '<td' . ($gen == 0 ? ' abbr="c' . $f2load . '"' : '') . '>' . $html . '</td>' . $this->drawHorizontalLine(); + $html = '<td align="right"' . ($gen == 0 ? ' abbr="c' . $f2load . '"' : '') . '>' . $html . '</td>' . $this->drawHorizontalLine(); } } @@ -296,7 +296,7 @@ class TreeView { /* draw the parents */ if ($state >= 0 && (!empty($parent) || count($fop))) { $unique = (empty($parent) || count($fop) == 0); - $html .= '<td><table class="tv_tree"><tbody>'; + $html .= '<td align="left"><table class="tv_tree"><tbody>'; if (!empty($parent)) { $u = $unique ? 'c' : 't'; $html .= '<tr><td ' . ($gen == 0 ? ' abbr="p' . $primaryChildFamily->getXref() . '@' . $u . '"' : '') . '>'; |
