summaryrefslogtreecommitdiff
path: root/app/views/index
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-01-22 22:22:36 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-01-22 22:22:36 +0100
commitf121df42eedfb0bf618ee952ad9c24d76a016127 (patch)
tree5803b7f770d676182f70e70e4d5e6f0b7f8ee97a /app/views/index
parentf4c8b95b831693f66d46f9ae06550b0944280ebe (diff)
Montre toggle_aside seulement pour le mode normal
Corrige https://github.com/marienfressinaud/FreshRSS/issues/373 Au passage, introduit une classe au niveau `body` avec le nom de la vue en cours (pas utilisé pour l'instant)
Diffstat (limited to 'app/views/index')
-rw-r--r--app/views/index/index.phtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/index/index.phtml b/app/views/index/index.phtml
index 9a7c9f3b9..4545a33e4 100644
--- a/app/views/index/index.phtml
+++ b/app/views/index/index.phtml
@@ -12,6 +12,8 @@ if ($this->loginOk || Minz_Configuration::allowAnonymous()) {
} elseif ($output === 'global') {
$this->renderHelper ('view/global_view');
} else {
+ Minz_Request::_param ('output', 'normal');
+ $output = 'normal';
$this->renderHelper ('view/normal_view');
}
} elseif ($output === 'rss') {