aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure/display.phtml
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/views/configure/display.phtml
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/views/configure/display.phtml')
-rw-r--r--app/views/configure/display.phtml21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml
index 5a94376ad..955fc6747 100644
--- a/app/views/configure/display.phtml
+++ b/app/views/configure/display.phtml
@@ -35,6 +35,27 @@
</div>
</div>
+ <?php $width = $this->conf->content_width; ?>
+ <div class="form-group">
+ <label class="group-name" for="content_width"><?php echo Minz_Translate::t('content_width'); ?></label>
+ <div class="group-controls">
+ <select name="content_width" id="content_width" required="">
+ <option value="thin" <?php echo $width === 'thin'? 'selected="selected"' : ''; ?>>
+ <?php echo Minz_Translate::t('width_thin'); ?>
+ </option>
+ <option value="medium" <?php echo $width === 'medium'? 'selected="selected"' : ''; ?>>
+ <?php echo Minz_Translate::t('width_medium'); ?>
+ </option>
+ <option value="large" <?php echo $width === 'large'? 'selected="selected"' : ''; ?>>
+ <?php echo Minz_Translate::t('width_large'); ?>
+ </option>
+ <option value="no_limit" <?php echo $width === 'no_limit'? 'selected="selected"' : ''; ?>>
+ <?php echo Minz_Translate::t('width_no_limit'); ?>
+ </option>
+ </select>
+ </div>
+ </div>
+
<div class="form-group">
<label class="group-name" for="theme"><?php echo Minz_Translate::t ('article_icons'); ?></label>
<table>