diff options
| author | Greg Roach <fisharebest@gmail.com> | 2014-01-03 17:48:36 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2014-01-03 18:39:52 +0000 |
| commit | abff44686fe2168711e447940e44181ad1b01b57 (patch) | |
| tree | 5394f1cc64c7c6e1150e34625c90a55f1dc49466 /modules_v3/googlemap/placehierarchy.php | |
| parent | 63e46bb247c4ed290aab4297af677957c81ae813 (diff) | |
| download | webtrees-abff44686fe2168711e447940e44181ad1b01b57.tar.gz webtrees-abff44686fe2168711e447940e44181ad1b01b57.tar.bz2 webtrees-abff44686fe2168711e447940e44181ad1b01b57.zip | |
GM/streetview - load language text directly
Diffstat (limited to 'modules_v3/googlemap/placehierarchy.php')
| -rw-r--r-- | modules_v3/googlemap/placehierarchy.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules_v3/googlemap/placehierarchy.php b/modules_v3/googlemap/placehierarchy.php index 0214f48e2b..18ba58a304 100644 --- a/modules_v3/googlemap/placehierarchy.php +++ b/modules_v3/googlemap/placehierarchy.php @@ -227,12 +227,9 @@ function create_map($placelevels) { $sv_zoom=1; } - $_map = WT_I18N::translate('Google Maps™'); - $_reset = WT_I18N::translate('Reset'); - $_streetview = /* I18N: http://en.wikipedia.org/wiki/Google_street_view */ WT_I18N::translate('Google Street View™'); ?> <div> - <iframe style="background:transparent; margin-top:-3px; margin-left:2px; width:530px;height:405px;padding:0;border:solid 0px black" src="<?php echo WT_STATIC_URL, WT_MODULES_DIR; ?>googlemap/wt_v3_street_view.php?x=<?php echo $sv_lng; ?>&y=<?php echo $sv_lat; ?>&z=18&t=2&c=1&s=1&b=<?php echo $sv_dir; ?>&p=<?php echo $sv_pitch; ?>&m=<?php echo $sv_zoom; ?>&j=1&k=1&v=1&map=<?php echo $_map; ?>&reset=<?php echo $_reset; ?>&streetview=<?php echo $_streetview; ?>" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe> + <iframe style="background:transparent; margin-top:-3px; margin-left:2px; width:530px;height:405px;padding:0;border:solid 0px black" src="module.php?mod=googlemap&mod_action=wt_v3_street_view&?x=<?php echo $sv_lng; ?>&y=<?php echo $sv_lat; ?>&z=18&t=2&c=1&s=1&b=<?php echo $sv_dir; ?>&p=<?php echo $sv_pitch; ?>&m=<?php echo $sv_zoom; ?>&j=1&k=1&v=1" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe> </div> <?php @@ -657,4 +654,4 @@ function map_scripts($numfound, $level, $parent, $linklevels, $placelevels, $pla } } $controller->addInlineJavascript(ob_get_clean()); -}
\ No newline at end of file +} |
