summaryrefslogtreecommitdiff
path: root/classes/article.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/article.php')
-rwxr-xr-xclasses/article.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/classes/article.php b/classes/article.php
index 4b18280d4..091caa735 100755
--- a/classes/article.php
+++ b/classes/article.php
@@ -771,7 +771,7 @@ class Article extends Handler_Protected {
/* originally from */
- if ($line["orig_feed_id"]) {
+ if (!$zoom_mode && $line["orig_feed_id"]) {
$of_sth = $pdo->prepare("SELECT * FROM ttrss_archived_feeds
WHERE id = ? AND owner_uid = ?");
@@ -813,14 +813,6 @@ class Article extends Handler_Protected {
}
- if ($zoom_mode) {
- $rv['content'] .= "
- <div class='footer'>
- <button onclick=\"return window.close()\">".
- __("Close this window")."</button></div>";
- $rv['content'] .= "</body></html>";
- }
-
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_FORMAT_ARTICLE) as $p) {
$rv['content'] = $p->hook_format_article($rv['content'], $line, $zoom_mode);
}