diff options
Diffstat (limited to 'templates/main.php')
-rw-r--r-- | templates/main.php | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/templates/main.php b/templates/main.php index 8f6bba595..e02a29277 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"); ?> @@ -26,20 +34,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"); + } +?> |