summaryrefslogtreecommitdiff
path: root/pedigree.php
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2015-01-18 12:20:26 +0000
committerGreg Roach <fisharebest@gmail.com>2015-01-18 12:21:01 +0000
commit8d3e1a1259e6165a02d517a4aa997f3f5796e00f (patch)
tree8270e13baf19335124d143c27a4c4f1cfac634db /pedigree.php
parent1aaf04c7f4e8babdd1dd809ca225eabbf5e4ba27 (diff)
downloadwebtrees-8d3e1a1259e6165a02d517a4aa997f3f5796e00f.tar.gz
webtrees-8d3e1a1259e6165a02d517a4aa997f3f5796e00f.tar.bz2
webtrees-8d3e1a1259e6165a02d517a4aa997f3f5796e00f.zip
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'pedigree.php')
-rw-r--r--pedigree.php36
1 files changed, 18 insertions, 18 deletions
diff --git a/pedigree.php b/pedigree.php
index 776ae71f62..ebd60a0cf8 100644
--- a/pedigree.php
+++ b/pedigree.php
@@ -185,24 +185,24 @@ if (count($famids) > 0) {
$arrow = 'icon-larrow';
}
switch ($talloffset) {
- case 0:
- $offsetx = $PEDIGREE_GENERATIONS < 6 ? $offsetx = 60 * (5 - $PEDIGREE_GENERATIONS) : 0;
- $offsety = $yoffset;
- break;
- case 1:
- $offsetx = $PEDIGREE_GENERATIONS < 4 ? $basexoffset + 60 : $basexoffset;
- $offsety = $yoffset;
- break;
- case 2:
- $offsetx = $xoffset - 10 + $controller->pbwidth / 2;
- $offsety = $yoffset + $controller->pbheight / 2 + 10;
- $arrow = 'icon-darrow';
- break;
- case 3:
- $offsetx = $xoffset - 10 + $controller->pbwidth / 2;
- $offsety = $yoffset - $controller->pbheight / 2 - 10;
- $arrow = 'icon-uarrow';
- break;
+ case 0:
+ $offsetx = $PEDIGREE_GENERATIONS < 6 ? $offsetx = 60 * (5 - $PEDIGREE_GENERATIONS) : 0;
+ $offsety = $yoffset;
+ break;
+ case 1:
+ $offsetx = $PEDIGREE_GENERATIONS < 4 ? $basexoffset + 60 : $basexoffset;
+ $offsety = $yoffset;
+ break;
+ case 2:
+ $offsetx = $xoffset - 10 + $controller->pbwidth / 2;
+ $offsety = $yoffset + $controller->pbheight / 2 + 10;
+ $arrow = 'icon-darrow';
+ break;
+ case 3:
+ $offsetx = $xoffset - 10 + $controller->pbwidth / 2;
+ $offsety = $yoffset - $controller->pbheight / 2 - 10;
+ $arrow = 'icon-uarrow';
+ break;
}
printf(MENU_WRAPPER, $posn, $offsetx, $offsety, $arrow);