summaryrefslogtreecommitdiff
path: root/app/Module/InteractiveTree
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-02-21 20:51:06 +0000
committerGreg Roach <fisharebest@gmail.com>2016-02-21 22:25:08 +0000
commita86dd8b13b4210d1576f0fdaf5e3c9e5653c4884 (patch)
tree8ce1f1a0ba2852e63136a023b5c6728deea4227a /app/Module/InteractiveTree
parent4c621133aafa69fdd64737cca8c1e2754deeee92 (diff)
downloadwebtrees-a86dd8b13b4210d1576f0fdaf5e3c9e5653c4884.tar.gz
webtrees-a86dd8b13b4210d1576f0fdaf5e3c9e5653c4884.tar.bz2
webtrees-a86dd8b13b4210d1576f0fdaf5e3c9e5653c4884.zip
Fix #824 - obsolete HTML markup
Diffstat (limited to 'app/Module/InteractiveTree')
-rw-r--r--app/Module/InteractiveTree/TreeView.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Module/InteractiveTree/TreeView.php b/app/Module/InteractiveTree/TreeView.php
index 5819c60b82..caf9b4a010 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 align="right"' . ($gen == 0 ? ' abbr="c' . $f2load . '"' : '') . '>' . $html . '</td>' . $this->drawHorizontalLine();
+ $html = '<td' . ($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 align="left"><table class="tv_tree"><tbody>';
+ $html .= '<td><table class="tv_tree"><tbody>';
if (!empty($parent)) {
$u = $unique ? 'c' : 't';
$html .= '<tr><td ' . ($gen == 0 ? ' abbr="p' . $primaryChildFamily->getXref() . '@' . $u . '"' : '') . '>';