@@ -473,7 +473,7 @@ |
||
| 473 | 473 | '<p class="small text-muted">' . I18N::translate('Do not change to keep original filename.') . '<br>' . I18N::translate('You may enter a URL, beginning with “http://”.') . '</p>' |
| 474 | 474 | ); |
| 475 | 475 | } |
| 476 | - $folder = ''; |
|
| 476 | + $folder = ''; |
|
| 477 | 477 | } else { |
| 478 | 478 | if ($isExternal) { |
| 479 | 479 | $fileName = substr($gedfile, 5); |
@@ -1,18 +1,18 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * webtrees: online genealogy |
|
| 4 | - * Copyright (C) 2015 webtrees development team |
|
| 5 | - * This program is free software: you can redistribute it and/or modify |
|
| 6 | - * it under the terms of the GNU General Public License as published by |
|
| 7 | - * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | - * (at your option) any later version. |
|
| 9 | - * This program is distributed in the hope that it will be useful, |
|
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | - * GNU General Public License for more details. |
|
| 13 | - * You should have received a copy of the GNU General Public License |
|
| 14 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | - */ |
|
| 3 | + * webtrees: online genealogy |
|
| 4 | + * Copyright (C) 2015 webtrees development team |
|
| 5 | + * This program is free software: you can redistribute it and/or modify |
|
| 6 | + * it under the terms of the GNU General Public License as published by |
|
| 7 | + * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | + * (at your option) any later version. |
|
| 9 | + * This program is distributed in the hope that it will be useful, |
|
| 10 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | + * GNU General Public License for more details. |
|
| 13 | + * You should have received a copy of the GNU General Public License |
|
| 14 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | + */ |
|
| 16 | 16 | namespace Fisharebest\Webtrees; |
| 17 | 17 | |
| 18 | 18 | use Fisharebest\Webtrees\Theme\AdministrationTheme; |
@@ -1,18 +1,18 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * webtrees: online genealogy |
|
| 4 | - * Copyright (C) 2015 webtrees development team |
|
| 5 | - * This program is free software: you can redistribute it and/or modify |
|
| 6 | - * it under the terms of the GNU General Public License as published by |
|
| 7 | - * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | - * (at your option) any later version. |
|
| 9 | - * This program is distributed in the hope that it will be useful, |
|
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | - * GNU General Public License for more details. |
|
| 13 | - * You should have received a copy of the GNU General Public License |
|
| 14 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | - */ |
|
| 3 | + * webtrees: online genealogy |
|
| 4 | + * Copyright (C) 2015 webtrees development team |
|
| 5 | + * This program is free software: you can redistribute it and/or modify |
|
| 6 | + * it under the terms of the GNU General Public License as published by |
|
| 7 | + * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | + * (at your option) any later version. |
|
| 9 | + * This program is distributed in the hope that it will be useful, |
|
| 10 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | + * GNU General Public License for more details. |
|
| 13 | + * You should have received a copy of the GNU General Public License |
|
| 14 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | + */ |
|
| 16 | 16 | namespace Fisharebest\Webtrees; |
| 17 | 17 | |
| 18 | 18 | /** |
@@ -1,18 +1,18 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * webtrees: online genealogy |
|
| 4 | - * Copyright (C) 2015 webtrees development team |
|
| 5 | - * This program is free software: you can redistribute it and/or modify |
|
| 6 | - * it under the terms of the GNU General Public License as published by |
|
| 7 | - * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | - * (at your option) any later version. |
|
| 9 | - * This program is distributed in the hope that it will be useful, |
|
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | - * GNU General Public License for more details. |
|
| 13 | - * You should have received a copy of the GNU General Public License |
|
| 14 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | - */ |
|
| 3 | + * webtrees: online genealogy |
|
| 4 | + * Copyright (C) 2015 webtrees development team |
|
| 5 | + * This program is free software: you can redistribute it and/or modify |
|
| 6 | + * it under the terms of the GNU General Public License as published by |
|
| 7 | + * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | + * (at your option) any later version. |
|
| 9 | + * This program is distributed in the hope that it will be useful, |
|
| 10 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | + * GNU General Public License for more details. |
|
| 13 | + * You should have received a copy of the GNU General Public License |
|
| 14 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | + */ |
|
| 16 | 16 | namespace Fisharebest\Webtrees\Controller; |
| 17 | 17 | |
| 18 | 18 | use Fisharebest\Webtrees\ColorGenerator; |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | |
| 181 | 181 | $tmp = strtoupper(strtr($this->calendar, |
| 182 | 182 | array('jewish' => 'hebrew', |
| 183 | - 'french' => 'french r', |
|
| 183 | + 'french' => 'french r', |
|
| 184 | 184 | ))); |
| 185 | 185 | $this->calendarEscape = sprintf('@#D%s@', $tmp); |
| 186 | 186 | |
@@ -395,7 +395,7 @@ discard block |
||
| 395 | 395 | $that = $this; // PHP5.3 cannot access $this inside a closure |
| 396 | 396 | $acceptedFacts = array_filter($facts, function (Fact $fact) use ($that) { |
| 397 | 397 | return (in_array($fact->getTag(), $that->facts) && $fact->getDate()->isOK()) || |
| 398 | - (($that->place_obj || $that->startDate) && $that->checkFact($fact)); |
|
| 398 | + (($that->place_obj || $that->startDate) && $that->checkFact($fact)); |
|
| 399 | 399 | }); |
| 400 | 400 | |
| 401 | 401 | $eventList = array(); |
@@ -41,12 +41,12 @@ discard block |
||
| 41 | 41 | // Base color parameters |
| 42 | 42 | const RANGE = 120; // degrees |
| 43 | 43 | const SATURATION = 100; // percent |
| 44 | - const LIGHTNESS = 30; // percent |
|
| 44 | + const LIGHTNESS = 30; // percent |
|
| 45 | 45 | const ALPHA = 0.25; |
| 46 | 46 | const CHART_TOP = 10; // pixels |
| 47 | 47 | const BAR_SPACING = 22; // pixels |
| 48 | 48 | const YEAR_SPAN = 10; // Number of years per scale section |
| 49 | - const PIXELS_PER_YEAR = 7; // Number of pixels to shift per year |
|
| 49 | + const PIXELS_PER_YEAR = 7; // Number of pixels to shift per year |
|
| 50 | 50 | const SESSION_DATA = 'lifespan_data'; |
| 51 | 51 | |
| 52 | 52 | /** @var string|null Chart parameter */ |
@@ -457,8 +457,8 @@ discard block |
||
| 457 | 457 | } |
| 458 | 458 | echo |
| 459 | 459 | '</div>' . // class="popup" |
| 460 | - '</div>' . // class="itr" |
|
| 461 | - '</div>'; // class=$popupclass |
|
| 460 | + '</div>' . // class="itr" |
|
| 461 | + '</div>'; // class=$popupclass |
|
| 462 | 462 | |
| 463 | 463 | $maxY = max($maxY, $Y); |
| 464 | 464 | } |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | switch ($this->orientation) { |
| 153 | 153 | case self::PORTRAIT: |
| 154 | 154 | $xoffset = ($this->generations - $curgen) * (($this->getBoxDimensions()->width + $bxspacing) / 1.8); |
| 155 | - if(!$i && $this->root->getSpouseFamilies()) { |
|
| 155 | + if (!$i && $this->root->getSpouseFamilies()) { |
|
| 156 | 156 | $xoffset -= self::ARROW_SIZE; |
| 157 | 157 | } |
| 158 | 158 | // -- compact the tree |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | case self::OLDEST_AT_TOP: |
| 208 | 208 | //swap x & y offsets as chart is rotated |
| 209 | 209 | $xoffset = $yoffset; |
| 210 | - $yoffset = $curgen * ($this->getBoxDimensions()->height + ($byspacing * 4)); |
|
| 210 | + $yoffset = $curgen * ($this->getBoxDimensions()->height + ($byspacing * 4)); |
|
| 211 | 211 | break; |
| 212 | 212 | case self::OLDEST_AT_BOTTOM: |
| 213 | 213 | //swap x & y offsets as chart is rotated |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | return $item['y']; |
| 246 | 246 | }, $this->nodes)); |
| 247 | 247 | |
| 248 | - $this->chartsize['x'] = $max_xoffset + $bxspacing + $this->getBoxDimensions()->width + $addoffset['x']; |
|
| 248 | + $this->chartsize['x'] = $max_xoffset + $bxspacing + $this->getBoxDimensions()->width + $addoffset['x']; |
|
| 249 | 249 | $this->chartsize['y'] = $max_yoffset + $byspacing + $this->getBoxDimensions()->height + $addoffset['y']; |
| 250 | 250 | } |
| 251 | 251 | |
@@ -1,18 +1,18 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * webtrees: online genealogy |
|
| 4 | - * Copyright (C) 2015 webtrees development team |
|
| 5 | - * This program is free software: you can redistribute it and/or modify |
|
| 6 | - * it under the terms of the GNU General Public License as published by |
|
| 7 | - * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | - * (at your option) any later version. |
|
| 9 | - * This program is distributed in the hope that it will be useful, |
|
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | - * GNU General Public License for more details. |
|
| 13 | - * You should have received a copy of the GNU General Public License |
|
| 14 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | - */ |
|
| 3 | + * webtrees: online genealogy |
|
| 4 | + * Copyright (C) 2015 webtrees development team |
|
| 5 | + * This program is free software: you can redistribute it and/or modify |
|
| 6 | + * it under the terms of the GNU General Public License as published by |
|
| 7 | + * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | + * (at your option) any later version. |
|
| 9 | + * This program is distributed in the hope that it will be useful, |
|
| 10 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | + * GNU General Public License for more details. |
|
| 13 | + * You should have received a copy of the GNU General Public License |
|
| 14 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | + */ |
|
| 16 | 16 | namespace Fisharebest\Webtrees; |
| 17 | 17 | |
| 18 | 18 | use Fisharebest\Webtrees\Theme\AdministrationTheme; |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | $menu = new Menu(I18N::translate('Edit'), '#', 'menu-repo'); |
| 51 | 51 | |
| 52 | 52 | if (Auth::isEditor($this->record->getTree())) { |
| 53 | - $fact = $this->record->getFirstFact('NAME'); |
|
| 53 | + $fact = $this->record->getFirstFact('NAME'); |
|
| 54 | 54 | if ($fact) { |
| 55 | 55 | // Edit existing name |
| 56 | 56 | $menu->addSubmenu(new Menu(I18N::translate('Edit repository'), '#', 'menu-repo-edit', array( |
@@ -1,18 +1,18 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * webtrees: online genealogy |
|
| 4 | - * Copyright (C) 2015 webtrees development team |
|
| 5 | - * This program is free software: you can redistribute it and/or modify |
|
| 6 | - * it under the terms of the GNU General Public License as published by |
|
| 7 | - * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | - * (at your option) any later version. |
|
| 9 | - * This program is distributed in the hope that it will be useful, |
|
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | - * GNU General Public License for more details. |
|
| 13 | - * You should have received a copy of the GNU General Public License |
|
| 14 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | - */ |
|
| 3 | + * webtrees: online genealogy |
|
| 4 | + * Copyright (C) 2015 webtrees development team |
|
| 5 | + * This program is free software: you can redistribute it and/or modify |
|
| 6 | + * it under the terms of the GNU General Public License as published by |
|
| 7 | + * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | + * (at your option) any later version. |
|
| 9 | + * This program is distributed in the hope that it will be useful, |
|
| 10 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | + * GNU General Public License for more details. |
|
| 13 | + * You should have received a copy of the GNU General Public License |
|
| 14 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | + */ |
|
| 16 | 16 | namespace Fisharebest\Webtrees; |
| 17 | 17 | |
| 18 | 18 | use Fisharebest\Webtrees\Theme\AdministrationTheme; |
@@ -85,8 +85,7 @@ |
||
| 85 | 85 | // Create the underlying PDO object |
| 86 | 86 | self::$pdo = new PDO( |
| 87 | 87 | (substr($DBHOST, 0, 1) === '/' ? |
| 88 | - "mysql:unix_socket={$DBHOST};dbname={$DBNAME}" : |
|
| 89 | - "mysql:host={$DBHOST};dbname={$DBNAME};port={$DBPORT}" |
|
| 88 | + "mysql:unix_socket={$DBHOST};dbname={$DBNAME}" : "mysql:host={$DBHOST};dbname={$DBNAME};port={$DBPORT}" |
|
| 90 | 89 | ), |
| 91 | 90 | $DBUSER, $DBPASS, |
| 92 | 91 | array( |
@@ -1,18 +1,18 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * webtrees: online genealogy |
|
| 4 | - * Copyright (C) 2015 webtrees development team |
|
| 5 | - * This program is free software: you can redistribute it and/or modify |
|
| 6 | - * it under the terms of the GNU General Public License as published by |
|
| 7 | - * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | - * (at your option) any later version. |
|
| 9 | - * This program is distributed in the hope that it will be useful, |
|
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | - * GNU General Public License for more details. |
|
| 13 | - * You should have received a copy of the GNU General Public License |
|
| 14 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | - */ |
|
| 3 | + * webtrees: online genealogy |
|
| 4 | + * Copyright (C) 2015 webtrees development team |
|
| 5 | + * This program is free software: you can redistribute it and/or modify |
|
| 6 | + * it under the terms of the GNU General Public License as published by |
|
| 7 | + * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | + * (at your option) any later version. |
|
| 9 | + * This program is distributed in the hope that it will be useful, |
|
| 10 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | + * GNU General Public License for more details. |
|
| 13 | + * You should have received a copy of the GNU General Public License |
|
| 14 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | + */ |
|
| 16 | 16 | namespace Fisharebest\Webtrees; |
| 17 | 17 | |
| 18 | 18 | use Fisharebest\Webtrees\Theme\AdministrationTheme; |
@@ -1,18 +1,18 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * webtrees: online genealogy |
|
| 4 | - * Copyright (C) 2015 webtrees development team |
|
| 5 | - * This program is free software: you can redistribute it and/or modify |
|
| 6 | - * it under the terms of the GNU General Public License as published by |
|
| 7 | - * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | - * (at your option) any later version. |
|
| 9 | - * This program is distributed in the hope that it will be useful, |
|
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | - * GNU General Public License for more details. |
|
| 13 | - * You should have received a copy of the GNU General Public License |
|
| 14 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | - */ |
|
| 3 | + * webtrees: online genealogy |
|
| 4 | + * Copyright (C) 2015 webtrees development team |
|
| 5 | + * This program is free software: you can redistribute it and/or modify |
|
| 6 | + * it under the terms of the GNU General Public License as published by |
|
| 7 | + * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | + * (at your option) any later version. |
|
| 9 | + * This program is distributed in the hope that it will be useful, |
|
| 10 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | + * GNU General Public License for more details. |
|
| 13 | + * You should have received a copy of the GNU General Public License |
|
| 14 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | + */ |
|
| 16 | 16 | namespace Fisharebest\Webtrees\Functions; |
| 17 | 17 | |
| 18 | 18 | use Fisharebest\Webtrees\Auth; |
@@ -748,13 +748,13 @@ discard block |
||
| 748 | 748 | public static function getAnniversaryEvents($jd, $facts, Tree $tree) { |
| 749 | 749 | $found_facts = array(); |
| 750 | 750 | foreach (array( |
| 751 | - new GregorianDate($jd), |
|
| 752 | - new JulianDate($jd), |
|
| 753 | - new FrenchDate($jd), |
|
| 754 | - new JewishDate($jd), |
|
| 755 | - new HijriDate($jd), |
|
| 756 | - new JalaliDate($jd), |
|
| 757 | - ) as $anniv) { |
|
| 751 | + new GregorianDate($jd), |
|
| 752 | + new JulianDate($jd), |
|
| 753 | + new FrenchDate($jd), |
|
| 754 | + new JewishDate($jd), |
|
| 755 | + new HijriDate($jd), |
|
| 756 | + new JalaliDate($jd), |
|
| 757 | + ) as $anniv) { |
|
| 758 | 758 | // Build a SQL where clause to match anniversaries in the appropriate calendar. |
| 759 | 759 | $ind_sql = |
| 760 | 760 | "SELECT DISTINCT i_id AS xref, i_gedcom AS gedcom, d_type, d_day, d_month, d_year, d_fact" . |
@@ -425,10 +425,10 @@ discard block |
||
| 425 | 425 | * @return string |
| 426 | 426 | */ |
| 427 | 427 | public static function censusNavigatorFamily(CensusInterface $census, Family $family, Individual $head) { |
| 428 | - $headImg2 = '<i class="icon-button_head" title="' . I18N::translate('Click to choose individual as head of family.') . '"></i>'; |
|
| 428 | + $headImg2 = '<i class="icon-button_head" title="' . I18N::translate('Click to choose individual as head of family.') . '"></i>'; |
|
| 429 | 429 | |
| 430 | 430 | foreach ($family->getSpouses() as $spouse) { |
| 431 | - $menu = new Menu(Functions::getCloseRelationshipName($head, $spouse)); |
|
| 431 | + $menu = new Menu(Functions::getCloseRelationshipName($head, $spouse)); |
|
| 432 | 432 | foreach ($spouse->getChildFamilies() as $grandparents) { |
| 433 | 433 | foreach ($grandparents->getSpouses() as $grandparent) { |
| 434 | 434 | $submenu = new Menu( |
@@ -463,7 +463,7 @@ discard block |
||
| 463 | 463 | } |
| 464 | 464 | |
| 465 | 465 | foreach ($family->getChildren() as $child) { |
| 466 | - $menu = new Menu(Functions::getCloseRelationshipName($head, $child)); |
|
| 466 | + $menu = new Menu(Functions::getCloseRelationshipName($head, $child)); |
|
| 467 | 467 | foreach ($child->getSpouseFamilies() as $spouse_family) { |
| 468 | 468 | foreach ($spouse_family->getSpouses() as $spouse_family_spouse) { |
| 469 | 469 | if ($spouse_family_spouse != $child) { |
@@ -1,18 +1,18 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * webtrees: online genealogy |
|
| 4 | - * Copyright (C) 2015 webtrees development team |
|
| 5 | - * This program is free software: you can redistribute it and/or modify |
|
| 6 | - * it under the terms of the GNU General Public License as published by |
|
| 7 | - * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | - * (at your option) any later version. |
|
| 9 | - * This program is distributed in the hope that it will be useful, |
|
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | - * GNU General Public License for more details. |
|
| 13 | - * You should have received a copy of the GNU General Public License |
|
| 14 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | - */ |
|
| 3 | + * webtrees: online genealogy |
|
| 4 | + * Copyright (C) 2015 webtrees development team |
|
| 5 | + * This program is free software: you can redistribute it and/or modify |
|
| 6 | + * it under the terms of the GNU General Public License as published by |
|
| 7 | + * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | + * (at your option) any later version. |
|
| 9 | + * This program is distributed in the hope that it will be useful, |
|
| 10 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | + * GNU General Public License for more details. |
|
| 13 | + * You should have received a copy of the GNU General Public License |
|
| 14 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | + */ |
|
| 16 | 16 | namespace Fisharebest\Webtrees; |
| 17 | 17 | |
| 18 | 18 | use Fisharebest\Webtrees\Theme\AdministrationTheme; |
@@ -408,7 +408,7 @@ discard block |
||
| 408 | 408 | if ($level == 1) { |
| 409 | 409 | $label = I18N::translate('Country'); |
| 410 | 410 | } else { |
| 411 | - $label = I18N::translate('Level') . ' ' . $level; |
|
| 411 | + $label = I18N::translate('Level') . ' ' . $level; |
|
| 412 | 412 | } |
| 413 | 413 | ?> |
| 414 | 414 | <div class="input-group"> |
@@ -424,7 +424,7 @@ discard block |
||
| 424 | 424 | if ($level == 1) { |
| 425 | 425 | $label = I18N::translate('Country'); |
| 426 | 426 | } else { |
| 427 | - $label = I18N::translate('Level') . ' ' . $level; |
|
| 427 | + $label = I18N::translate('Level') . ' ' . $level; |
|
| 428 | 428 | } |
| 429 | 429 | ?> |
| 430 | 430 | <div class="input-group"> |
@@ -3014,7 +3014,7 @@ discard block |
||
| 3014 | 3014 | } |
| 3015 | 3015 | '); |
| 3016 | 3016 | |
| 3017 | - $levelm = $this->setLevelMap($level, $parent); |
|
| 3017 | + $levelm = $this->setLevelMap($level, $parent); |
|
| 3018 | 3018 | if (isset($levelo[0])) { |
| 3019 | 3019 | $levelo[0] = 0; |
| 3020 | 3020 | } |
@@ -4170,7 +4170,7 @@ discard block |
||
| 4170 | 4170 | } else { |
| 4171 | 4171 | $placelist[$j]['long'] = null; |
| 4172 | 4172 | } |
| 4173 | - $j = $j + 1; |
|
| 4173 | + $j = $j + 1; |
|
| 4174 | 4174 | } |
| 4175 | 4175 | $i = $i + 1; |
| 4176 | 4176 | $placerec = Functions::getSubRecord(2, '2 PLAC', $gedrec, $i); |
@@ -4366,7 +4366,7 @@ discard block |
||
| 4366 | 4366 | $j = 0; |
| 4367 | 4367 | $maxLevel = 0; |
| 4368 | 4368 | foreach ($lines as $p => $placerec) { |
| 4369 | - $fieldrec = explode(';', $placerec); |
|
| 4369 | + $fieldrec = explode(';', $placerec); |
|
| 4370 | 4370 | if ($fieldrec[0] > $maxLevel) { |
| 4371 | 4371 | $maxLevel = $fieldrec[0]; |
| 4372 | 4372 | } |
@@ -1,18 +1,18 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * webtrees: online genealogy |
|
| 4 | - * Copyright (C) 2015 webtrees development team |
|
| 5 | - * This program is free software: you can redistribute it and/or modify |
|
| 6 | - * it under the terms of the GNU General Public License as published by |
|
| 7 | - * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | - * (at your option) any later version. |
|
| 9 | - * This program is distributed in the hope that it will be useful, |
|
| 10 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | - * GNU General Public License for more details. |
|
| 13 | - * You should have received a copy of the GNU General Public License |
|
| 14 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | - */ |
|
| 3 | + * webtrees: online genealogy |
|
| 4 | + * Copyright (C) 2015 webtrees development team |
|
| 5 | + * This program is free software: you can redistribute it and/or modify |
|
| 6 | + * it under the terms of the GNU General Public License as published by |
|
| 7 | + * the Free Software Foundation, either version 3 of the License, or |
|
| 8 | + * (at your option) any later version. |
|
| 9 | + * This program is distributed in the hope that it will be useful, |
|
| 10 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 11 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 12 | + * GNU General Public License for more details. |
|
| 13 | + * You should have received a copy of the GNU General Public License |
|
| 14 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | + */ |
|
| 16 | 16 | namespace Fisharebest\Webtrees; |
| 17 | 17 | |
| 18 | 18 | use Fisharebest\Webtrees\Theme\AdministrationTheme; |