summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-11-20 17:02:25 +0100
committerAndrew Dolgov <[email protected]>2007-11-20 17:02:25 +0100
commit46f73352f992320ea007651a0425bf99359fdd57 (patch)
tree58e715dc202ff0ad4613a19fe12b897e085e1678 /functions.php
parente10c5e29786aa6c1984bd8824fbb2d53f4536d06 (diff)
link to enclosures in new window
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 41fca453f..0f3cdefab 100644
--- a/functions.php
+++ b/functions.php
@@ -4489,7 +4489,7 @@
$filename = substr($url, strrpos($url, "/")+1);
- $entry = "<a href=\"" . htmlspecialchars($url) . "\">" .
+ $entry = "<a target=\"_blank\" href=\"" . htmlspecialchars($url) . "\">" .
$filename . " (" . $line["content_type"] . ")" . "</a>";
array_push($entries, $entry);
@@ -4849,7 +4849,7 @@
$filename = substr($url, strrpos($url, "/")+1);
- $entry = "<a href=\"" . htmlspecialchars($url) . "\">" .
+ $entry = "<a target=\"_blank\" href=\"" . htmlspecialchars($url) . "\">" .
$filename . " (" . $e_line["content_type"] . ")" . "</a>";
array_push($entries, $entry);