diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-12 01:50:19 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-12 01:50:19 -0400 |
commit | 703e892b691fd98fccbbbeada3897ae0c018ac9d (patch) | |
tree | 85a02656b3e3ea592308dbb06bfb51161d615193 /templates/part.listfeed.php | |
parent | fcaa16f2eafe87e0353d1be7ce4bde0d33c43e81 (diff) |
removes the Everything folder
Diffstat (limited to 'templates/part.listfeed.php')
-rw-r--r-- | templates/part.listfeed.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php index 530ab3ba8..0fba399ec 100644 --- a/templates/part.listfeed.php +++ b/templates/part.listfeed.php @@ -2,16 +2,16 @@ $l = new OC_l10n('news'); -$child = isset($_['child']) ? $_['child'] : null; +$feed = isset($_['feed']) ? $_['feed'] : null; $unreadItems = isset($_['unreadItems']) ? $_['unreadItems'] : null; -$favicon = $child->getFavicon(); +$favicon = $feed->getFavicon(); if ($favicon == null) { $favicon = OCP\Util::imagePath('news', 'rss.svg'); } -echo '<li class="feed" data-id="' . $child->getId() . '">'; +echo '<li class="feed" data-id="' . $feed->getId() . '">'; echo '<a href="#" style="background: url(' . $favicon . ') left center no-repeat; background-size:16px 16px;" class="' . - (($unreadItems > 0) ? 'nonzero' : 'zero') . '">' . $child->getTitle() .'</a>'; + (($unreadItems > 0) ? 'nonzero' : 'zero') . '">' . $feed->getTitle() .'</a>'; if ($unreadItems > 0) { echo '<span class="unreaditemcounter nonzero">' . $unreadItems . '</span>'; } @@ -19,5 +19,5 @@ else { echo '<span class="unreaditemcounter zero"></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(' . $child->getId(). '))" title="' . $l->t('Delete feed') . '"></button>'; +echo '<button class="svg action feeds_delete" onClick="(News.Feed.delete(' . $feed->getId(). '))" title="' . $l->t('Delete feed') . '"></button>'; echo '</li>'; |