diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.feeds.php | 6 | ||||
-rw-r--r-- | templates/part.itemcounter.php | 4 | ||||
-rw-r--r-- | templates/part.listfeed.php | 4 |
3 files changed, 5 insertions, 9 deletions
diff --git a/templates/part.feeds.php b/templates/part.feeds.php index ac57da384..df781767c 100644 --- a/templates/part.feeds.php +++ b/templates/part.feeds.php @@ -9,9 +9,8 @@ '<button class="svg action" id="feeds_delete" onClick="(News.Folder.delete(' . $folder->getId(). '))" title="' . $l->t('Delete folder') . '"></button>' . '<button class="svg action" id="feeds_edit" title="' . $l->t('Rename folder') . '"></button>' : '' ) . - - '</div>' . - '<ul>'; + '</div>' . + '<ul>'; $children = $folder->getChildren(); foreach($children as $child) { @@ -29,5 +28,6 @@ } echo '</ul></div></li></ul>'; } + print_folder($_['allfeeds'], 0); ?>
\ No newline at end of file diff --git a/templates/part.itemcounter.php b/templates/part.itemcounter.php index 9a1127ea8..ba4751033 100644 --- a/templates/part.itemcounter.php +++ b/templates/part.itemcounter.php @@ -15,6 +15,4 @@ function countUnreadItems($feedid) { else { echo '<span id="unreaditemcounter" class="zero"></span>'; } -} - -?>
\ No newline at end of file +}
\ No newline at end of file diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php index 1ee7f168e..3746a1eb4 100644 --- a/templates/part.listfeed.php +++ b/templates/part.listfeed.php @@ -6,7 +6,7 @@ include_once("part.itemcounter.php"); $child = isset($_['child']) ? $_['child'] : null; $favicon = $child->getFavicon(); if ($favicon == null) { - $favicon = OCP\Util::imagePath('news', 'rss.svg'); + $favicon = OCP\Util::imagePath('news', 'rss.svg'); } echo '<li class="feeds_list" data-id="' . $child->getId() . '"><a href="' . OCP\Util::linkTo('news', 'index.php'). '?feedid=' . $child->getId() . '" style="background: url(' . $favicon . ') left center no-repeat; background-size:16px 16px;">' . $child->getTitle() .'</a>'; @@ -14,5 +14,3 @@ countUnreadItems($child->getId()); echo '<button class="svg action" id="feeds_delete" onClick="(News.Feed.delete(' . $child->getId(). '))" title="' . $l->t('Delete feed') . '"></button>'; echo '<button class="svg action" id="feeds_edit" title="' . $l->t('Edit feed') . '"></button>'; echo '</li>'; - -?>
\ No newline at end of file |