summaryrefslogtreecommitdiff
path: root/app/views/configure/display.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-24 01:21:11 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-24 01:21:11 +0100
commit87bfa195a6ff4ff73baadd3c04b7b6f28c9f9b73 (patch)
tree927fbfc08401e69d81c0e14fb1fb54d878ac97dd /app/views/configure/display.phtml
parentffbe676d7d33f8e075018bfa35f0d919e3e1a9bf (diff)
Permet de configurer plus finement le nombre d’articles minimum à conserver par flux
Diffstat (limited to 'app/views/configure/display.phtml')
-rw-r--r--app/views/configure/display.phtml29
1 files changed, 21 insertions, 8 deletions
diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml
index ad35d7c71..68ef26bbf 100644
--- a/app/views/configure/display.phtml
+++ b/app/views/configure/display.phtml
@@ -32,13 +32,6 @@
</div>
<div class="form-group">
- <label class="group-name" for="old_entries"><?php echo Minz_Translate::t ('delete_articles_every'); ?></label>
- <div class="group-controls">
- <input type="number" id="old_entries" name="old_entries" value="<?php echo $this->conf->oldEntries (); ?>" /> <?php echo Minz_Translate::t ('month'); ?>
- </div>
- </div>
-
- <div class="form-group">
<label class="group-name" for="mail_login"><?php echo Minz_Translate::t ('persona_connection_email'); ?></label>
<?php $mail = $this->conf->mailLogin (); ?>
<div class="group-controls">
@@ -59,7 +52,27 @@
<?php echo FreshRSS_Themes::icon('help'); ?> <?php echo Minz_Translate::t('explain_token', Minz_Url::display(null, 'html', true), $token); ?>
</div>
</div>
-
+
+ <legend><?php echo Minz_Translate::t ('archiving_configuration'); ?></legend>
+
+ <div class="form-group">
+ <label class="group-name" for="old_entries"><?php echo Minz_Translate::t ('delete_articles_every'); ?></label>
+ <div class="group-controls">
+ <input type="number" id="old_entries" name="old_entries" list="list_months" min="1" max="1200" value="<?php echo $this->conf->oldEntries (); ?>" /> <?php echo Minz_Translate::t ('month'); ?>
+ <datalist id="list_months">
+ <option>1</option>
+ <option>2</option>
+ <option>3</option>
+ <option>6</option>
+ <option>12</option>
+ <option>18</option>
+ <option>24</option>
+ <option>36</option>
+ </datalist><br />
+ <?php echo FreshRSS_Themes::icon('help'); ?> <?php echo Minz_Translate::t('archiving_configuration_help'); ?>
+ </div>
+ </div>
+
<legend><?php echo Minz_Translate::t ('reading_configuration'); ?></legend>
<div class="form-group">