mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-07 12:52:04 +00:00
new option: OPEN_LINKS_IN_NEW_WINDOW (closes #47)
This commit is contained in:
@@ -1040,6 +1040,10 @@
|
||||
print "<div id=\"allEntryTags\">Tags: $f_tags_str</div>";
|
||||
}
|
||||
|
||||
if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW')) {
|
||||
$line["content"] = preg_replace("/href=/i", "target=\"_new\" href=", $line["content"]);
|
||||
}
|
||||
|
||||
print $line["content"] . "</div>";
|
||||
|
||||
print "</div>";
|
||||
|
||||
Reference in New Issue
Block a user