diff options
| author | Greg Roach <fisharebest@gmail.com> | 2013-11-01 18:17:25 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2013-11-01 18:17:25 +0000 |
| commit | 677b8aa47ed770807b6f61f8b001f3fb2ffad6a2 (patch) | |
| tree | cce217cefc89dbf20c085c51a67272b919a8be7e /placelist.php | |
| parent | b1457a6c7c6aea70f6e1298a537433a630cf85ac (diff) | |
| download | webtrees-677b8aa47ed770807b6f61f8b001f3fb2ffad6a2.tar.gz webtrees-677b8aa47ed770807b6f61f8b001f3fb2ffad6a2.tar.bz2 webtrees-677b8aa47ed770807b6f61f8b001f3fb2ffad6a2.zip | |
Tidy up trailing whitespace
Diffstat (limited to 'placelist.php')
| -rw-r--r-- | placelist.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/placelist.php b/placelist.php index 6e645cd984..d3c320b879 100644 --- a/placelist.php +++ b/placelist.php @@ -91,7 +91,7 @@ case 'hierarchy': $place_id=$place->getPlaceId(); $child_places=$place->getChildPlaces(); - + $numfound=count($child_places); //-- if the number of places found is 0 then automatically redirect to search page @@ -193,12 +193,12 @@ case 'hierarchy': // -- array of names $myindilist = array(); $myfamlist = array(); - + $positions= WT_DB::prepare("SELECT DISTINCT pl_gid FROM `##placelinks` WHERE pl_p_id=? AND pl_file=?") ->execute(array($place_id, WT_GED_ID)) ->fetchOneColumn(); - + foreach ($positions as $position) { $record=WT_GedcomRecord::getInstance($position); if ($record && $record->canShow()) { @@ -211,13 +211,13 @@ case 'hierarchy': } } echo '<br>'; - + //-- display results $controller ->addInlineJavascript('jQuery("#places-tabs").tabs();') ->addInlineJavascript('jQuery("#places-tabs").css("visibility", "visible");') ->addInlineJavascript('jQuery(".loading-image").css("display", "none");'); - + echo '<div class="loading-image"> </div>'; echo '<div id="places-tabs"><ul>'; if ($myindilist) { |
