diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-02-04 18:10:46 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-02-04 18:10:46 +0000 |
| commit | ec62352266aa01fd789cabf23c64da9e8c9e549b (patch) | |
| tree | 7f257e4b5346d672dad79b9d9c9f00c70606025e /pedigree.php | |
| parent | 6d4f233e92d3b82084c35adfab0743faab4ee384 (diff) | |
| download | webtrees-ec62352266aa01fd789cabf23c64da9e8c9e549b.tar.gz webtrees-ec62352266aa01fd789cabf23c64da9e8c9e549b.tar.bz2 webtrees-ec62352266aa01fd789cabf23c64da9e8c9e549b.zip | |
PHPDoc for globals
Diffstat (limited to 'pedigree.php')
| -rw-r--r-- | pedigree.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pedigree.php b/pedigree.php index c2715db3aa..e90ebed838 100644 --- a/pedigree.php +++ b/pedigree.php @@ -16,9 +16,21 @@ namespace Webtrees; * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/** + * Defined in session.php + * + * @global Tree $WT_TREE + * @global string $TEXT_DIRECTION + * @global integer $basexoffset + * @global integer $baseyoffset + */ + define('WT_SCRIPT_NAME', 'pedigree.php'); require './includes/session.php'; +$MAX_PEDIGREE_GENERATIONS = $WT_TREE->getPreference('MAX_PEDIGREE_GENERATIONS'); +$PEDIGREE_GENERATIONS = $WT_TREE->getPreference('PEDIGREE_GENERATIONS'); + define("ARROW_WRAPPER", "<div class='ancestorarrow' style='%s:%spx; top:%spx;'>"); define("MENU_WRAPPER", "<div id='childarrow' style='%s:%spx; top:%spx'><div><a href='#' class='menuselect %s'></a><div id='childbox'>"); define("MENU_ITEM", "<a href='pedigree.php?rootid=%s&show_full=%s&PEDIGREE_GENERATIONS=%s&talloffset=%s' class='%s'>%s</a>"); |
