summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-10-08 20:23:32 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-10-08 20:23:32 -0400
commitd5cd794c01d0e3a7774e01051fa485a82897731d (patch)
treeb4e709146cd324a879b2916061ed5e06b0939f6b /templates
parent59616abd129009357bbef269fc1ce95525f62185 (diff)
split firstrun template from main template
Diffstat (limited to 'templates')
-rw-r--r--templates/firstrun.php (renamed from templates/part.nofeeds.php)0
-rw-r--r--templates/main.php9
2 files changed, 2 insertions, 7 deletions
diff --git a/templates/part.nofeeds.php b/templates/firstrun.php
index 0e3f443c0..0e3f443c0 100644
--- a/templates/part.nofeeds.php
+++ b/templates/firstrun.php
diff --git a/templates/main.php b/templates/main.php
index b220f14d1..ce753d317 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -3,7 +3,6 @@
<!-- End of Dialogs -->
<?php
-if ($_['feedid']) {
$showAll = OCP\Config::getUserValue(OCP\USER::getUser(), 'news', 'showAll');
@@ -17,6 +16,8 @@ if($showAll) {
$viewButtonClass = 'show_unread';
}
+echo $this->inc("part.dialogues");
+
?>
<div id="leftcontent_news" class="leftcontent_news">
@@ -57,9 +58,3 @@ if($showAll) {
</div>
-<?php
- } else {
- echo $this->inc("part.nofeeds");
- }
-
- echo $this->inc("part.dialogues");