summaryrefslogtreecommitdiff
path: root/app/Controller/PedigreeController.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-02-16 21:59:34 +0000
committerGreg Roach <fisharebest@gmail.com>2015-02-16 22:10:11 +0000
commitcccff39494522f07739c22c91af9f52cfe94afed (patch)
treedb47b1bc40ef7172f9ad24c37aacfa765e48cb7d /app/Controller/PedigreeController.php
parent57f9d26770c1d2df40f00a8fa06cb73151332b0b (diff)
downloadwebtrees-cccff39494522f07739c22c91af9f52cfe94afed.tar.gz
webtrees-cccff39494522f07739c22c91af9f52cfe94afed.tar.bz2
webtrees-cccff39494522f07739c22c91af9f52cfe94afed.zip
Globals
Diffstat (limited to 'app/Controller/PedigreeController.php')
-rw-r--r--app/Controller/PedigreeController.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/Controller/PedigreeController.php b/app/Controller/PedigreeController.php
index 464877118f..b2dcd0f462 100644
--- a/app/Controller/PedigreeController.php
+++ b/app/Controller/PedigreeController.php
@@ -24,7 +24,10 @@ class PedigreeController extends ChartController {
var $name;
var $addname;
var $show_full;
- var $talloffset;
+
+ /** @var integer Which of the layouts to display */
+ public $talloffset;
+
var $PEDIGREE_GENERATIONS;
var $pbwidth;
var $pbheight;
@@ -41,7 +44,7 @@ class PedigreeController extends ChartController {
* Create a pedigree controller
*/
public function __construct() {
- global $WT_TREE, $bwidth, $bheight, $baseyoffset, $basexoffset, $byspacing, $bxspacing, $show_full, $talloffset;
+ global $WT_TREE, $bwidth, $bheight, $baseyoffset, $basexoffset, $byspacing, $bxspacing, $show_full;
parent::__construct();
$this->show_full = Filter::getInteger('show_full', 0, 1, $WT_TREE->getPreference('PEDIGREE_FULL_DETAILS'));
@@ -66,7 +69,6 @@ class PedigreeController extends ChartController {
$this->talloffset = 0;
}
$show_full = $this->show_full;
- $talloffset = $this->talloffset;
if ($this->root && $this->root->canShowName()) {
$this->setPageTitle(