link to enclosures in new window

This commit is contained in:
Andrew Dolgov 2007-11-20 17:02:25 +01:00
parent e10c5e2978
commit 46f73352f9
1 changed files with 2 additions and 2 deletions

View File

@ -4489,7 +4489,7 @@
$filename = substr($url, strrpos($url, "/")+1); $filename = substr($url, strrpos($url, "/")+1);
$entry = "<a href=\"" . htmlspecialchars($url) . "\">" . $entry = "<a target=\"_blank\" href=\"" . htmlspecialchars($url) . "\">" .
$filename . " (" . $line["content_type"] . ")" . "</a>"; $filename . " (" . $line["content_type"] . ")" . "</a>";
array_push($entries, $entry); array_push($entries, $entry);
@ -4849,7 +4849,7 @@
$filename = substr($url, strrpos($url, "/")+1); $filename = substr($url, strrpos($url, "/")+1);
$entry = "<a href=\"" . htmlspecialchars($url) . "\">" . $entry = "<a target=\"_blank\" href=\"" . htmlspecialchars($url) . "\">" .
$filename . " (" . $e_line["content_type"] . ")" . "</a>"; $filename . " (" . $e_line["content_type"] . ")" . "</a>";
array_push($entries, $entry); array_push($entries, $entry);