summaryrefslogtreecommitdiff
path: root/modules_v3/googlemap
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2012-03-28 13:33:58 +0000
committerfisharebest <fisharebest@gmail.com>2012-03-28 13:33:58 +0000
commit9d1b6c193ed79b6f2252bc7d28a831b4c377437f (patch)
treeda6153872203215e55727108b074c35f8c72344d /modules_v3/googlemap
parent67e8d3e0ebb6cdb5c161081fbb36fc9f9eb0bd17 (diff)
downloadwebtrees-9d1b6c193ed79b6f2252bc7d28a831b4c377437f.tar.gz
webtrees-9d1b6c193ed79b6f2252bc7d28a831b4c377437f.tar.bz2
webtrees-9d1b6c193ed79b6f2252bc7d28a831b4c377437f.zip
Functions should return HTML, rather than output it
Diffstat (limited to 'modules_v3/googlemap')
-rw-r--r--modules_v3/googlemap/pedigree_map.php2
-rw-r--r--modules_v3/googlemap/places_edit.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules_v3/googlemap/pedigree_map.php b/modules_v3/googlemap/pedigree_map.php
index 4265c377e4..5691a134d3 100644
--- a/modules_v3/googlemap/pedigree_map.php
+++ b/modules_v3/googlemap/pedigree_map.php
@@ -112,7 +112,7 @@ echo '<h2>', $controller->getPageTitle(), '</h2>';
<tr>
<td class="optionbox">
<input class="pedigree_form" type="text" id="rootid" name="rootid" size="3" value="<?php echo $controller->root->getXref(); ?>">
- <?php print_findindi_link("rootid",""); ?>
+ <?php echo print_findindi_link('rootid'); ?>
</td>
<td class="optionbox">
<select name="PEDIGREE_GENERATIONS">
diff --git a/modules_v3/googlemap/places_edit.php b/modules_v3/googlemap/places_edit.php
index 839f0eec4e..b9e4923133 100644
--- a/modules_v3/googlemap/places_edit.php
+++ b/modules_v3/googlemap/places_edit.php
@@ -276,7 +276,7 @@ $api='v3';
<td class="descriptionbox"><?php echo WT_Gedcom_Tag::getLabel('PLAC'); ?></td>
<td class="optionbox"><input type="text" id="new_pl_name" name="NEW_PLACE_NAME" value="<?php echo htmlspecialchars($place_name); ?>" size="25" class="address_input">
<div id="INDI_PLAC_pop" style="display: inline;">
- <?php print_specialchar_link("NEW_PLACE_NAME", false); ?></div></td><td class="optionbox">
+ <?php echo print_specialchar_link('NEW_PLACE_NAME'); ?></div></td><td class="optionbox">
<label for="new_pl_name"><a href="#" onclick="showLocation_all(document.getElementById('new_pl_name').value); return false">&nbsp;<?php echo WT_I18N::translate('Search globally'); ?></a></label>
&nbsp;&nbsp;|&nbsp;&nbsp;
<label for="new_pl_name"><a href="#" onclick="showLocation_level(document.getElementById('new_pl_name').value); return false">&nbsp;<?php echo WT_I18N::translate('Search locally'); ?></a></label>