app/Functions/FunctionsEdit.php 1 location
|
@@ 1520-1525 (lines=6) @@
|
| 1517 |
|
$label = implode(':', array_slice($stack, 0, $level)); |
| 1518 |
|
|
| 1519 |
|
$text = ''; |
| 1520 |
|
for ($j = 2; $j < count($fields); $j++) { |
| 1521 |
|
if ($j > 2) { |
| 1522 |
|
$text .= ' '; |
| 1523 |
|
} |
| 1524 |
|
$text .= $fields[$j]; |
| 1525 |
|
} |
| 1526 |
|
$text = rtrim($text); |
| 1527 |
|
while (($i + 1 < count($gedlines)) && (preg_match('/' . ($level + 1) . ' CONT ?(.*)/', $gedlines[$i + 1], $cmatch) > 0)) { |
| 1528 |
|
$text .= "\n" . $cmatch[1]; |
edit_interface.php 1 location
|
@@ 3008-3013 (lines=6) @@
|
| 3005 |
|
do { |
| 3006 |
|
if ($type !== 'TYPE' && !array_key_exists($type, $name_fields) && !array_key_exists($type, $adv_name_fields)) { |
| 3007 |
|
$text = ''; |
| 3008 |
|
for ($j = 2; $j < count($fields); $j++) { |
| 3009 |
|
if ($j > 2) { |
| 3010 |
|
$text .= ' '; |
| 3011 |
|
} |
| 3012 |
|
$text .= $fields[$j]; |
| 3013 |
|
} |
| 3014 |
|
while (($i + 1 < count($gedlines)) && (preg_match('/' . ($level + 1) . ' CONT ?(.*)/', $gedlines[$i + 1], $cmatch) > 0)) { |
| 3015 |
|
$text .= "\n" . $cmatch[1]; |
| 3016 |
|
$i++; |