summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2012-09-07 15:21:03 +0200
committerThomas Mueller <thomas.mueller@tmit.eu>2012-09-07 15:21:03 +0200
commita59854cc809828501371dc934362c81a82e83cee (patch)
tree24e9172389f9fdf3aaaac50452f90c8dc9e77ed1 /templates/part.items.php
parentce2e3bd0cba51d5625c53d14bd58204eca89eaf2 (diff)
adding space between) and {
Diffstat (limited to 'templates/part.items.php')
-rw-r--r--templates/part.items.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 6d6369ab7..b44a2688c 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -14,7 +14,7 @@ if ($feedId == -1 || $feedId == -2) { //TODO: change this values, too obscure
$items = $itemMapper->findEveryItemByStatus($status);
}
else {
- if($showAll){
+ if($showAll) {
$items = $itemMapper->findAll($feedId);
} else {
$items = $itemMapper->findAllStatus($feedId, OCA\News\StatusFlag::UNREAD);
@@ -24,13 +24,13 @@ else {
echo '<ul>';
foreach($items as $item) {
- if($item->isRead()){
+ if($item->isRead()) {
$newsItemClass = "read";
} else {
$newsItemClass = "";
}
- if($item->isImportant()){
+ if($item->isImportant()) {
$starClass = 'important';
$startTitle = $l->t('Mark as unimportant');
} else {
@@ -51,7 +51,7 @@ foreach($items as $item) {
echo '<h1 class="item_title"><a target="_blank" href="' . $item->getUrl() . '">' . htmlspecialchars($item->getTitle(), ENT_QUOTES, 'UTF-8') . '</a></h1>';
- if(($item->getAuthor() !== null) && (trim($item->getAuthor()) != '')){
+ if(($item->getAuthor() !== null) && (trim($item->getAuthor()) != '')) {
echo '<h2 class="item_author">'. $l->t('by') . ' ' . htmlspecialchars($item->getAuthor(), ENT_QUOTES, 'UTF-8') . '</h2>';
}