aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-06-05 22:26:18 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-06-05 22:26:18 +0200
commitb8f53b052592d3729bdc88936bad5f4e2da78dfe (patch)
tree8b0b76b29439ce6882eabf633353d6dcbe4237f2 /app/Controllers/configureController.php
parent5ea82076faddbdf6b34d20332507779de3c71ae3 (diff)
Add an option to choose content width
- 4 options: thin, medium, large and no limit - Thin is by default
Diffstat (limited to 'app/Controllers/configureController.php')
-rwxr-xr-xapp/Controllers/configureController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index df5212041..a117e0f9c 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -145,6 +145,7 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
$themeId = FreshRSS_Themes::defaultTheme;
}
$this->view->conf->_theme($themeId);
+ $this->view->conf->_content_width(Minz_Request::param('content_width', 'thin'));
$this->view->conf->_topline_read(Minz_Request::param('topline_read', false));
$this->view->conf->_topline_favorite(Minz_Request::param('topline_favorite', false));
$this->view->conf->_topline_date(Minz_Request::param('topline_date', false));