summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-08-03 00:35:45 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-08-03 00:35:45 -0400
commita4502857ece08326168fd5b1170d9ff9f4c3be01 (patch)
tree2eaff7d4a705bcc7bee42a9f4eaf8bd2dec67f3c /templates
parent9e1b6c31a8818f665ac58307931c6fd308e6c353 (diff)
small fixes on previous commits
Diffstat (limited to 'templates')
-rw-r--r--templates/part.feeds.php6
-rw-r--r--templates/part.itemcounter.php4
-rw-r--r--templates/part.listfeed.php4
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