diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-02-16 21:59:34 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-02-16 22:10:11 +0000 |
| commit | cccff39494522f07739c22c91af9f52cfe94afed (patch) | |
| tree | db47b1bc40ef7172f9ad24c37aacfa765e48cb7d /app/Controller/PedigreeController.php | |
| parent | 57f9d26770c1d2df40f00a8fa06cb73151332b0b (diff) | |
| download | webtrees-cccff39494522f07739c22c91af9f52cfe94afed.tar.gz webtrees-cccff39494522f07739c22c91af9f52cfe94afed.tar.bz2 webtrees-cccff39494522f07739c22c91af9f52cfe94afed.zip | |
Globals
Diffstat (limited to 'app/Controller/PedigreeController.php')
| -rw-r--r-- | app/Controller/PedigreeController.php | 8 |
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( |
