summaryrefslogtreecommitdiffstats
path: root/templates/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/main.php')
-rw-r--r--templates/main.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/templates/main.php b/templates/main.php
index f05a548b6..775dd46bf 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -14,8 +14,15 @@
</form>
</div>
-<div id="rightcontent" class="rightcontent">
- <?php ?>
+<div id="rightcontent" class="rightcontent" data-id="<?php echo $_['feedid']; ?>">
+ <?php
+ if ($_['feedid']){
+ echo $this->inc('part.items');
+ }
+ else {
+ echo $this->inc('part.nofeeds');
+ }
+ ?>
</div>
<!-- Dialogs -->