diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-12 12:27:10 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-12 12:27:10 +0200 |
commit | 1029b44255c02c9a03ad2ed3812dff3da47103e0 (patch) | |
tree | f09f46a0c221f6ee8e111bd4dd8426aa268032ff /templates/main.php | |
parent | ef8903a8c620b1bdab305189240df91470eb15a0 (diff) | |
parent | 703e892b691fd98fccbbbeada3897ae0c018ac9d (diff) |
Merge branch 'newsapp' of git://gitorious.org/owncloud/apps into newsapp
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"); + } +?> |