diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-04 14:51:47 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-04 14:51:47 -0400 |
commit | 69480001986cd83852ee6351fbd5d68718eb829c (patch) | |
tree | 42ecf232740c84238727665fb198135a4e1fb989 /templates | |
parent | 41115284bf6c1023a542be0d6f2fab77febad36b (diff) |
everything is there but the fancyness
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.php | 4 | ||||
-rw-r--r-- | templates/part.feeds.php | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/templates/main.php b/templates/main.php index 775dd46bf..faae31809 100644 --- a/templates/main.php +++ b/templates/main.php @@ -17,10 +17,10 @@ <div id="rightcontent" class="rightcontent" data-id="<?php echo $_['feedid']; ?>"> <?php if ($_['feedid']){ - echo $this->inc('part.items'); + echo $this->inc("part.items"); } else { - echo $this->inc('part.nofeeds'); + echo $this->inc("part.nofeeds"); } ?> </div> diff --git a/templates/part.feeds.php b/templates/part.feeds.php index 7b9b72126..52716c804 100644 --- a/templates/part.feeds.php +++ b/templates/part.feeds.php @@ -10,9 +10,7 @@ print_folder($child, $depth+1); } elseif ($child instanceOf OC_News_Feed) { -?> - <li><a href="index.php?feedid=<?php echo $child->getId(); ?>"><?php echo $child->getTitle(); ?></a></li> -<?php + echo '<li><a href="' . OCP\Util::linkTo('news', 'index.php'). '?feedid=' . $child->getId() . '">' . $child->getTitle() .'</a></li>'; } else { //TODO:handle error in this case |