1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 07:25:54 +00:00

tweak filter preview layout a bit; allow previewing matched articles in a popup

This commit is contained in:
Andrew Dolgov
2015-09-11 13:05:08 +03:00
parent 3857536f70
commit f48f292d2b
3 changed files with 18 additions and 10 deletions

View File

@@ -41,12 +41,12 @@ class Article extends Handler_Protected {
} else if ($mode == "zoom") {
array_push($articles, format_article($id, true, true));
} else if ($mode == "raw") {
if ($_REQUEST['html']) {
if (isset($_REQUEST['html'])) {
header("Content-Type: text/html");
print '<link rel="stylesheet" type="text/css" href="css/tt-rss.css"/>';
}
$article = format_article($id, false);
$article = format_article($id, false, isset($_REQUEST["zoom"]));
print $article['content'];
return;
}