diff options
Diffstat (limited to 'library/WT/Controller/Pedigree.php')
| -rw-r--r-- | library/WT/Controller/Pedigree.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/library/WT/Controller/Pedigree.php b/library/WT/Controller/Pedigree.php index 9a47c3e2b0..46fc1fc9e2 100644 --- a/library/WT/Controller/Pedigree.php +++ b/library/WT/Controller/Pedigree.php @@ -56,6 +56,9 @@ class WT_Controller_Pedigree extends WT_Controller_Chart { global $bwidth, $bheight, $baseyoffset, $basexoffset, $byspacing, $bxspacing; global $TEXT_DIRECTION, $BROWSER_TYPE, $show_full, $talloffset; + parent::__construct(); + $this->setPageTitle(/* I18N: %s is a person's name */ WT_I18N::translate('Pedigree tree of %s', $this->name)); + $this->log2 = log(2); $this->rootid =safe_GET_xref('rootid'); @@ -245,11 +248,6 @@ class WT_Controller_Pedigree extends WT_Controller_Chart { $this->adjust_subtree(0, $ydiff); } - // What should this page show in the browser's title bar? - public function getPageTitle() { - return /* I18N: %s is a person's name */ WT_I18N::translate('Pedigree tree of %s', $this->name); - } - function getPersonName() { if (is_null($this->rootPerson)) { return WT_I18N::translate('unknown'); |
