summaryrefslogtreecommitdiff
path: root/plugins/share
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-11 22:08:40 +0300
committerAndrew Dolgov <[email protected]>2021-03-11 22:08:40 +0300
commit6e0474a7c81ee0c397cc8c2c732a987dfee115c2 (patch)
tree650639673a254d582c4738acc61e38482cdaa6fa /plugins/share
parentf67d2623b7a50849893cfa774d85e4e2278308e2 (diff)
update zoom layout a bit
Diffstat (limited to 'plugins/share')
-rw-r--r--plugins/share/init.php19
1 files changed, 10 insertions, 9 deletions
diff --git a/plugins/share/init.php b/plugins/share/init.php
index 64a9054eb..4ad788428 100644
--- a/plugins/share/init.php
+++ b/plugins/share/init.php
@@ -189,18 +189,19 @@ class Share extends Plugin {
<body class='flat ttrss_utility ttrss_zoom css_loading'>
<div class='container'>
- <?php if (!empty($line["link"])) { ?>
- <h1>
- <a target='_blank' rel='noopener noreferrer'
- href="<?= htmlspecialchars($line["link"]) ?>"><?= htmlspecialchars($line["title"]) ?></a>
- </h1>
- <?php } else { ?>
- <h1><?= $line["title"] ?></h1>
- <?php } ?>
-
<div class='content post'>
<div class='header'>
<div class='row'>
+ <?php if (!empty($line["link"])) { ?>
+ <h1>
+ <a rel='noopener noreferrer'
+ href="<?= htmlspecialchars($line["link"]) ?>"><?= htmlspecialchars($line["title"]) ?></a>
+ </h1>
+ <?php } else { ?>
+ <h1><?= $line["title"] ?></h1>
+ <?php } ?>
+ </div>
+ <div class='row'>
<div><?= $line['author'] ?></div>
<div><?= $parsed_updated ?></div>
</div>