summaryrefslogtreecommitdiffstats
path: root/templates/main.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-07-02 23:39:19 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-07-02 23:39:19 -0400
commit72c730bf5fb21f58589a836483585dabd6866520 (patch)
treea57dab8dcf88ce5a4f1172ba89663aa52947fdb8 /templates/main.php
parentf8f6fd3d778fe95bac15e52747ff5b1f6461c136 (diff)
button to add feed; selection of a feed
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 -->