@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | 'generations' => 3, |
| 108 | 108 | 'layout' => PedigreeChartModule::ORIENTATION_RIGHT, |
| 109 | 109 | ]); |
| 110 | - $content = view('modules/charts/chart', [ |
|
| 110 | + $content = view('modules/charts/chart', [ |
|
| 111 | 111 | 'block_id' => $block_id, |
| 112 | 112 | 'chart_url' => $chart_url, |
| 113 | 113 | 'class' => 'wt-chart-pedigree', |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | 'generations' => 2, |
| 124 | 124 | 'chart_style' => DescendancyChartModule::CHART_STYLE_TREE, |
| 125 | 125 | ]); |
| 126 | - $content = view('modules/charts/chart', [ |
|
| 126 | + $content = view('modules/charts/chart', [ |
|
| 127 | 127 | 'block_id' => $block_id, |
| 128 | 128 | 'chart_url' => $chart_url, |
| 129 | 129 | 'class' => 'wt-chart-descendants', |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | 'ajax' => true, |
| 139 | 139 | 'generations' => 2, |
| 140 | 140 | ]); |
| 141 | - $content = view('modules/charts/chart', [ |
|
| 141 | + $content = view('modules/charts/chart', [ |
|
| 142 | 142 | 'block_id' => $block_id, |
| 143 | 143 | 'chart_url' => $chart_url, |
| 144 | 144 | 'class' => 'wt-chart-hourglass', |
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | $default_xref = $gedcomid ?: $PEDIGREE_ROOT_ID; |
| 233 | 233 | |
| 234 | 234 | $type = $this->getBlockSetting($block_id, 'type', 'pedigree'); |
| 235 | - $xref = $this->getBlockSetting($block_id, 'pid', $default_xref); |
|
| 235 | + $xref = $this->getBlockSetting($block_id, 'pid', $default_xref); |
|
| 236 | 236 | |
| 237 | 237 | $charts = [ |
| 238 | 238 | 'pedigree' => I18N::translate('Pedigree'), |
@@ -1,4 +1,4 @@ |
||
| 1 | 1 | <?php return array ( |
| 2 | - '%H:%i:%s' => '%g:%i:%s %a', |
|
| 3 | - '%j %F %Y' => '%F %j, %Y', |
|
| 2 | + '%H:%i:%s' => '%g:%i:%s %a', |
|
| 3 | + '%j %F %Y' => '%F %j, %Y', |
|
| 4 | 4 | ); |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php return array ( |
|
| 1 | +<?php return array( |
|
| 2 | 2 | '%H:%i:%s' => '%g:%i:%s %a', |
| 3 | 3 | '%j %F %Y' => '%F %j, %Y', |
| 4 | 4 | ); |
@@ -191,7 +191,7 @@ |
||
| 191 | 191 | |
| 192 | 192 | $signature->validateRequest(parse_url($base_url . 'index.php', PHP_URL_PATH), $params); |
| 193 | 193 | |
| 194 | - $path = $media_file->media()->tree()->getPreference('MEDIA_DIRECTORY', 'media/') . $media_file->filename(); |
|
| 194 | + $path = $media_file->media()->tree()->getPreference('MEDIA_DIRECTORY', 'media/') . $media_file->filename(); |
|
| 195 | 195 | $folder = dirname($path); |
| 196 | 196 | |
| 197 | 197 | $cache_path = 'thumbnail-cache/' . md5($folder); |