link to enclosures in new window
This commit is contained in:
parent
e10c5e2978
commit
46f73352f9
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue