|
@@ 471-473 (lines=3) @@
|
| 468 |
|
if ($row['show_resume']) { |
| 469 |
|
// Can link directly. |
| 470 |
|
$targetAttribute = ''; |
| 471 |
|
if ($GLOBALS['TSFE']->config['config']['fileTarget']) { |
| 472 |
|
$targetAttribute = ' target="' . htmlspecialchars($GLOBALS['TSFE']->config['config']['fileTarget']) . '"'; |
| 473 |
|
} |
| 474 |
|
$title = '<a href="' . htmlspecialchars($row['data_filename']) . '"' . $targetAttribute . '>' . htmlspecialchars($title) . '</a>'; |
| 475 |
|
} else { |
| 476 |
|
// Suspicious, so linking to page instead... |
|
@@ 516-518 (lines=3) @@
|
| 513 |
|
$pI = parse_url($row['data_filename']); |
| 514 |
|
if ($pI['scheme']) { |
| 515 |
|
$targetAttribute = ''; |
| 516 |
|
if ($GLOBALS['TSFE']->config['config']['fileTarget']) { |
| 517 |
|
$targetAttribute = ' target="' . htmlspecialchars($GLOBALS['TSFE']->config['config']['fileTarget']) . '"'; |
| 518 |
|
} |
| 519 |
|
$resultData['pathTitle'] = $row['data_filename']; |
| 520 |
|
$resultData['pathUri'] = $row['data_filename']; |
| 521 |
|
$resultData['path'] = '<a href="' . htmlspecialchars($row['data_filename']) . '"' . $targetAttribute . '>' . htmlspecialchars($row['data_filename']) . '</a>'; |