mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 05:35:55 +00:00
simplify zoom mode display
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user