show the article author if possible
This commit is contained in:
parent
de50709f46
commit
0cd4438574
@ -106,6 +106,7 @@ function get_all_by_status($status, $feed_ids = array(), $offset = null, $limit
|
||||
'items.status',
|
||||
'items.content',
|
||||
'items.language',
|
||||
'items.author',
|
||||
'feeds.site_url',
|
||||
'feeds.title AS feed_title',
|
||||
'feeds.rtl'
|
||||
@ -156,6 +157,7 @@ function get_bookmarks($offset = null, $limit = null)
|
||||
'items.content',
|
||||
'items.feed_id',
|
||||
'items.language',
|
||||
'items.author',
|
||||
'feeds.site_url',
|
||||
'feeds.title AS feed_title',
|
||||
'feeds.rtl'
|
||||
@ -196,6 +198,7 @@ function get_all_by_feed($feed_id, $offset = null, $limit = null, $order_column
|
||||
'items.content',
|
||||
'items.bookmark',
|
||||
'items.language',
|
||||
'items.author',
|
||||
'feeds.site_url',
|
||||
'feeds.rtl'
|
||||
)
|
||||
|
@ -41,6 +41,11 @@
|
||||
<?php endif ?>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
<?php if (!empty($item['author'])): ?>
|
||||
<li>
|
||||
<?= Helper\escape($item['author']) ?>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
<li class="hide-mobile">
|
||||
<span title="<?= dt('%e %B %Y %k:%M', $item['updated']) ?>"><?= Helper\relative_time($item['updated']) ?></span>
|
||||
</li>
|
||||
|
@ -46,6 +46,11 @@
|
||||
<li>
|
||||
<a href="?action=feed-items&feed_id=<?= $feed['id'] ?>"><?= Helper\escape($feed['title']) ?></a>
|
||||
</li>
|
||||
<?php if (!empty($item['author'])): ?>
|
||||
<li>
|
||||
<?= Helper\escape($item['author']) ?>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
<li class="hide-mobile">
|
||||
<span title="<?= dt('%e %B %Y %k:%M', $item['updated']) ?>"><?= Helper\relative_time($item['updated']) ?></span>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user