@@ -45,7 +45,7 @@ |
||
45 | 45 | { |
46 | 46 | use ModuleChartTrait; |
47 | 47 | |
48 | - protected const ROUTE_URL = '/tree/{tree}/hourglass-{generations}-{spouses}/{xref}'; |
|
48 | + protected const ROUTE_URL = '/tree/{tree}/hourglass-{generations}-{spouses}/{xref}'; |
|
49 | 49 | |
50 | 50 | // Defaults |
51 | 51 | private const DEFAULT_GENERATIONS = '3'; |
@@ -45,7 +45,7 @@ |
||
45 | 45 | { |
46 | 46 | use ModuleChartTrait; |
47 | 47 | |
48 | - protected const ROUTE_URL = '/tree/{tree}/ancestors-{style}-{generations}/{xref}'; |
|
48 | + protected const ROUTE_URL = '/tree/{tree}/ancestors-{style}-{generations}/{xref}'; |
|
49 | 49 | |
50 | 50 | // Chart styles |
51 | 51 | public const CHART_STYLE_TREE = 'tree'; |
@@ -46,7 +46,7 @@ |
||
46 | 46 | { |
47 | 47 | use ModuleChartTrait; |
48 | 48 | |
49 | - protected const ROUTE_URL = '/tree/{tree}/lifespans'; |
|
49 | + protected const ROUTE_URL = '/tree/{tree}/lifespans'; |
|
50 | 50 | |
51 | 51 | // Defaults |
52 | 52 | protected const DEFAULT_PARAMETERS = []; |
@@ -330,7 +330,7 @@ |
||
330 | 330 | 'parent_id' => $parent_id, |
331 | 331 | 'lat' => $lat, |
332 | 332 | 'lng' => $lng, |
333 | - 'data' => $this->mapLocationData($id), |
|
333 | + 'data' => $this->mapLocationData($id), |
|
334 | 334 | ]); |
335 | 335 | } |
336 | 336 |
@@ -293,8 +293,8 @@ |
||
293 | 293 | $id = $parent_id; |
294 | 294 | if ($parent_id === 0) { |
295 | 295 | // Create a dummy "place" for the top level |
296 | - $title = I18N::translate('World'); |
|
297 | - $hierarchy = [(object) [ |
|
296 | + $title = I18N::translate('World'); |
|
297 | + $hierarchy = [(object) [ |
|
298 | 298 | 'pl_id' => 0, |
299 | 299 | 'pl_place' => $title, |
300 | 300 | ]]; |