summaryrefslogtreecommitdiff
path: root/app/Module/FanChartModule.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-06-05 18:34:42 +0100
committerGreg Roach <fisharebest@gmail.com>2016-06-05 18:34:42 +0100
commit6664b4a34cf6b2d1fc123cfb8f05bb5dda4a7f25 (patch)
tree8296df0885806074e6c0a864802f757ffdb526ae /app/Module/FanChartModule.php
parentece14c4a4e8daa34ae09a7db6f1274f9818fc40c (diff)
downloadwebtrees-6664b4a34cf6b2d1fc123cfb8f05bb5dda4a7f25.tar.gz
webtrees-6664b4a34cf6b2d1fc123cfb8f05bb5dda4a7f25.tar.bz2
webtrees-6664b4a34cf6b2d1fc123cfb8f05bb5dda4a7f25.zip
CodeStyle
Diffstat (limited to 'app/Module/FanChartModule.php')
-rw-r--r--app/Module/FanChartModule.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/Module/FanChartModule.php b/app/Module/FanChartModule.php
index f39d3487b7..24f2afe9aa 100644
--- a/app/Module/FanChartModule.php
+++ b/app/Module/FanChartModule.php
@@ -17,8 +17,8 @@ namespace Fisharebest\Webtrees\Module;
use Fisharebest\Webtrees\Auth;
use Fisharebest\Webtrees\I18N;
-use Fisharebest\Webtrees\Menu;
use Fisharebest\Webtrees\Individual;
+use Fisharebest\Webtrees\Menu;
/**
* Class FanChartModule
@@ -52,7 +52,7 @@ class FanChartModule extends AbstractModule implements ModuleChartInterface {
public function defaultAccessLevel() {
return Auth::PRIV_PRIVATE;
}
-
+
/**
* Return a menu item for this chart.
*
@@ -63,16 +63,16 @@ class FanChartModule extends AbstractModule implements ModuleChartInterface {
public function getChartMenu(Individual $individual) {
if (function_exists('imagettftext')) {
return new Menu(
- $this->getTitle(),
- 'fanchart.php?rootid=' . $individual->getXref() . '&amp;ged=' . $individual->getTree()->getNameUrl(),
- 'menu-chart-fanchart',
+ $this->getTitle(),
+ 'fanchart.php?rootid=' . $individual->getXref() . '&amp;ged=' . $individual->getTree()->getNameUrl(),
+ 'menu-chart-fanchart',
array('rel' => 'nofollow')
);
} else {
return null;
}
}
-
+
/**
* Return a menu item for this chart - for use in individual boxes.
*