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