diff options
| author | 2014-10-21 16:46:36 +0200 | |
|---|---|---|
| committer | 2014-10-21 16:55:19 +0200 | |
| commit | 80cffa6de51771cd80995fb1c4f1e04ee868eb45 (patch) | |
| tree | 5199c6512140b804e2c456d263d40816ab79a6eb /app/views | |
| parent | 8a7bab3a55442f85553ab1d897084e89c10f7e05 (diff) | |
Views are in dedicated actions + improve Context
- Seperate normal, global and rss outputs in dedicated actions (NOT WORKING YET!)
- Rewrite aside_flux and nav_menu to use Context object
- Improve Context object
See https://github.com/marienfressinaud/FreshRSS/issues/634
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/index/global.phtml | 4 | ||||
| -rw-r--r-- | app/views/index/normal.phtml (renamed from app/views/helpers/view/normal_view.phtml) | 2 | ||||
| -rwxr-xr-x | app/views/index/rss.phtml (renamed from app/views/helpers/view/rss_view.phtml) | 0 |
3 files changed, 2 insertions, 4 deletions
diff --git a/app/views/index/global.phtml b/app/views/index/global.phtml index a72e431df..ab63c409a 100644 --- a/app/views/index/global.phtml +++ b/app/views/index/global.phtml @@ -5,9 +5,7 @@ $url_base = array( 'c' => 'index', 'a' => 'index', - 'params' => array( - 'state' => FreshRSS_Context::$state - ) + 'params' => array() ); foreach ($this->categories as $cat) { diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/index/normal.phtml index afe8ed872..6333d63db 100644 --- a/app/views/helpers/view/normal_view.phtml +++ b/app/views/index/normal.phtml @@ -80,7 +80,7 @@ if (!empty($this->entries)) { ?></li><?php } } - $feed = FreshRSS_CategoryDAO::findFeed($this->cat_aside, $item->feed()); //We most likely already have the feed object in cache + $feed = FreshRSS_CategoryDAO::findFeed($this->categories, $item->feed()); //We most likely already have the feed object in cache if ($feed == null) { $feed = $item->feed(true); if ($feed == null) { diff --git a/app/views/helpers/view/rss_view.phtml b/app/views/index/rss.phtml index e34b15ab1..e34b15ab1 100755 --- a/app/views/helpers/view/rss_view.phtml +++ b/app/views/index/rss.phtml |
