summaryrefslogtreecommitdiffstats
path: root/templates/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/main.php')
-rw-r--r--templates/main.php22
1 files changed, 13 insertions, 9 deletions
diff --git a/templates/main.php b/templates/main.php
index db3abe34a..57d87199f 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -1,3 +1,11 @@
+<!-- Dialogs -->
+<div id="dialog_holder"></div>
+<!-- End of Dialogs -->
+
+<?php
+if ($_['feedid']){
+?>
+
<div id="leftcontent" class="leftcontent">
<ul id="feeds">
<?php echo $this->inc("part.feeds"); ?>
@@ -25,20 +33,16 @@
<div id="rightcontent" class="rightcontent" data-id="<?php echo $_['feedid']; ?>">
<?php
- if ($_['feedid']){
echo $this->inc("part.items.header");
echo $this->inc("part.items");
- }
- else {
- echo $this->inc("part.nofeeds");
- }
?>
<div id="appsettings" class="popup bottomleft hidden"></div>
</div>
-<!-- Dialogs -->
-<div id="dialog_holder"></div>
-<!-- End of Dialogs -->
-
+<?php
+ } else {
+ echo $this->inc("part.nofeeds");
+ }
+?> \ No newline at end of file