diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.items.php | 6 | ||||
-rw-r--r-- | templates/part.listfeed.php | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/templates/part.items.php b/templates/part.items.php index 3d9c366d6..efe37821a 100644 --- a/templates/part.items.php +++ b/templates/part.items.php @@ -30,6 +30,9 @@ foreach($items as $item) { echo '<li class="feed_item ' . $newsItemClass .'" data-id="' . $item->getId() . '" data-feedid="' . $feedId . '">'; + echo '<h2 class="item_date"><time class="timeago" datetime="' . + date('c', $item->getDate()) . '">' . date('F j, Y, g:i a', $item->getDate()) . '</time>' . '</h2>'; + echo '<div class="utils">'; echo '<ul class="primary_item_utils">'; echo '<li class="star ' . $starClass . '" title="' . $startTitle . '"></li>'; @@ -40,9 +43,6 @@ foreach($items as $item) { echo '</ul>'; echo '</div>'; - echo '<h2 class="item_date"><time class="timeago" datetime="' . - date('c', $item->getDate()) . '">' . date('F j, Y, g:i a', $item->getDate()) . '</time>' . '</h2>'; - echo '<h1 class="item_title"><a target="_blank" href="' . $item->getUrl() . '">' . $item->getTitle() . '</a></h1>'; if(trim($item->getAuthor()) == ''){ diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php index d3008bc91..e06dcd38c 100644 --- a/templates/part.listfeed.php +++ b/templates/part.listfeed.php @@ -16,8 +16,8 @@ if($unreadItemsCount == 0){ $allReadClass = ''; } -echo '<li class="feed" data-id="' . $feed->getId() . '">'; -echo '<a href="#" style="background-image: url(' . $favicon . '); " class="' . $allReadClass . '">' . $feed->getTitle() .'</a>'; +echo '<li class="feed" data-id="' . $feed->getId() . '" style="background-image: url(' . $favicon . ');">'; +echo '<a href="#" " class="' . $allReadClass . '">' . $feed->getTitle() .'</a>'; echo '<span class="unreaditemcounter ' . $allReadClass . '">' . $unreadItemsCount . '</span>'; echo '<button class="svg action feeds_edit" title="' . $l->t('Edit feed') . '"></button>'; echo '<button class="svg action feeds_delete" onClick="(News.Feed.delete(' . $feed->getId(). '))" title="' . $l->t('Delete feed') . '"></button>'; |