use real link to article in headlines list (for middle click)

This commit is contained in:
Andrew Dolgov 2008-05-21 08:48:21 +01:00
parent b8c21eff1e
commit f0971fc1d0
1 changed files with 8 additions and 4 deletions

View File

@ -4899,8 +4899,10 @@
# $content_link = "<a target=\"_new\" href=\"".$line["link"]."\">" .
# $line["title"] . "</a>";
$content_link = "<a href=\"javascript:view($id,$feed_id);\">" .
$line["title"] . "</a>";
# $content_link = "<a
# href=\"" . htmlspecialchars($line["link"]) . "\"
# onclick=\"view($id,$feed_id);\">" .
# $line["title"] . "</a>";
# $content_link = "<a href=\"javascript:viewContentUrl('".$line["link"]."');\">" .
# $line["title"] . "</a>";
@ -4980,9 +4982,11 @@
# truncate_string($line["feed_title"],30)."</a>&nbsp;</td>";
# } else {
print "<td onclick='javascript:view($id,$feed_id)' class='hlContent$hlc_suffix' valign='middle'>";
print "<td onclick='view($id,$feed_id)' class='hlContent$hlc_suffix' valign='middle'>";
print "<a id=\"RTITLE-$id\" href=\"javascript:view($id,$feed_id);\">" .
print "<a id=\"RTITLE-$id\"
href=\"" . htmlspecialchars($line["link"]) . "\"
onclick=\"view($id,$feed_id);\">" .
$line["title"];
if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {