summaryrefslogtreecommitdiffstats
path: root/templates/main.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-08-16 20:54:33 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-08-16 20:54:33 +0200
commit45828812cba18a61a9882cf84508cf55b1ba7b1a (patch)
tree646a669dd44b6d5a560282bf7ef2117d3304c471 /templates/main.php
parentf61df85fe634c7f5662965bb46124af2ecd50419 (diff)
remember last viewed feed
Diffstat (limited to 'templates/main.php')
-rw-r--r--templates/main.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/main.php b/templates/main.php
index d895e04fb..037865466 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -12,8 +12,8 @@ echo $this->inc("part.items.header");
<div id="leftcontent" class="leftcontent">
<div id="feeds">
<ul data-id="0">
- <li data-id="-2" class="subscriptions folder"><a href="#" ><?php echo $l->t('New articles'); ?></a></li>
- <li data-id="-1" class="starred folder"><a href="#" ><?php echo $l->t('Starred'); ?></a></li>
+ <li data-id="-2" class="subscriptions folder" id="<?php if($_['feedid'] == -2){ echo 'selected_feed'; } ?>"><a href="#" ><?php echo $l->t('New articles'); ?></a></li>
+ <li data-id="-1" class="starred folder" id="<?php if($_['feedid'] == -1){ echo 'selected_feed'; } ?>"><a href="#" ><?php echo $l->t('Starred'); ?></a></li>
<?php echo $this->inc("part.feeds"); ?>
</ul>
</div>