summaryrefslogtreecommitdiffstats
path: root/templates/main.php
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/main.php
parent59616abd129009357bbef269fc1ce95525f62185 (diff)
split firstrun template from main template
Diffstat (limited to 'templates/main.php')
-rw-r--r--templates/main.php9
1 files changed, 2 insertions, 7 deletions
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");
tick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<?php

/**
* ownCloud - News
*
* @author Alessandro Cosentino
* @author Bernhard Posselt
* @copyright 2012 Alessandro Cosentino cosenal@gmail.com
* @copyright 2012 Bernhard Posselt dev@bernhard-posselt.com
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this library.  If not, see <http://www.gnu.org/licenses/>.
*
*/

namespace OCA\News\ArticleEnhancer;

use \OCA\News\Db\Item;


interface ArticleEnhancer {
	public function enhance(Item $item);
}