|
@@ 1272-1276 (lines=5) @@
|
| 1269 |
|
$html .= '<tbody>'; |
| 1270 |
|
foreach ($surnames as $surn => $surns) { |
| 1271 |
|
// Each surname links back to the indi/fam surname list |
| 1272 |
|
if ($surn) { |
| 1273 |
|
$url = $script . '?surname=' . rawurlencode($surn) . '&ged=' . $tree->getNameUrl(); |
| 1274 |
|
} else { |
| 1275 |
|
$url = $script . '?alpha=,&ged=' . $tree->getNameUrl(); |
| 1276 |
|
} |
| 1277 |
|
$html .= '<tr>'; |
| 1278 |
|
// Surname |
| 1279 |
|
$html .= '<td data-sort="' . Html::escape($surn) . '">'; |
|
@@ 1368-1372 (lines=5) @@
|
| 1365 |
|
$html = []; |
| 1366 |
|
foreach ($surnames as $surn => $surns) { |
| 1367 |
|
// Each surname links back to the indilist |
| 1368 |
|
if ($surn) { |
| 1369 |
|
$url = $script . '?surname=' . urlencode($surn) . '&ged=' . $tree->getNameUrl(); |
| 1370 |
|
} else { |
| 1371 |
|
$url = $script . '?alpha=,&ged=' . $tree->getNameUrl(); |
| 1372 |
|
} |
| 1373 |
|
// If all the surnames are just case variants, then merge them into one |
| 1374 |
|
// Comment out this block if you want SMITH listed separately from Smith |
| 1375 |
|
$first_spfxsurn = null; |