summaryrefslogtreecommitdiff
path: root/includes/functions/functions_places.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-10-30 17:24:31 +0000
committerfisharebest <fisharebest@gmail.com>2010-10-30 17:24:31 +0000
commitfe8b71f311753b6bb7be62b697035e420fb5f056 (patch)
tree829eccec88252804fd3ccd00fad780f551dfc919 /includes/functions/functions_places.php
parentda9c61e696a7bcd63a4e6a7e792fbe3434618e18 (diff)
downloadwebtrees-fe8b71f311753b6bb7be62b697035e420fb5f056.tar.gz
webtrees-fe8b71f311753b6bb7be62b697035e420fb5f056.tar.bz2
webtrees-fe8b71f311753b6bb7be62b697035e420fb5f056.zip
Cosmetic change - consistent "; " before PHP close tag
Diffstat (limited to 'includes/functions/functions_places.php')
-rw-r--r--includes/functions/functions_places.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/functions/functions_places.php b/includes/functions/functions_places.php
index 2b51994fee..814dece2d4 100644
--- a/includes/functions/functions_places.php
+++ b/includes/functions/functions_places.php
@@ -106,7 +106,7 @@ function setup_place_subfields($element_id) {
// called to refresh field PLAC after any subfield change
function updatewholeplace(place_tag) {
place_value="";
- for (p=0; p<<?php echo count($plac_label);?>; p++) {
+ for (p=0; p<<?php echo count($plac_label); ?>; p++) {
place_subtag=place_tag+'_'+p;
if (document.getElementById(place_subtag)) {
// clear data after opening bracket : Wales (WLS) ==> Wales
@@ -142,7 +142,7 @@ function setup_place_subfields($element_id) {
else if (ctry.length==3) elt.value=ctry;
if (ctry=='') ctry='???';
<?php global $iso3166; foreach (array_keys($iso3166) as $alpha3) { ?>
- else if (ctry=='<?php echo addslashes(i18n::translate($alpha3)) ?>') ctry='<?php echo $alpha3 ?>';
+ else if (ctry=='<?php echo addslashes(i18n::translate($alpha3)); ?>') ctry='<?php echo $alpha3; ?>';
<?php } ?>
else if (ctry.length!=3) ctry=ctry.substr(0,3);
pdir='places/'+ctry+'/';