diff options
| author | 2013-12-24 01:21:11 +0100 | |
|---|---|---|
| committer | 2013-12-24 01:21:11 +0100 | |
| commit | 87bfa195a6ff4ff73baadd3c04b7b6f28c9f9b73 (patch) | |
| tree | 927fbfc08401e69d81c0e14fb1fb54d878ac97dd /app/views/configure/feed.phtml | |
| parent | ffbe676d7d33f8e075018bfa35f0d919e3e1a9bf (diff) | |
Permet de configurer plus finement le nombre d’articles minimum à conserver par flux
Diffstat (limited to 'app/views/configure/feed.phtml')
| -rw-r--r-- | app/views/configure/feed.phtml | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtml index 4504b8d76..3fe7d1b3a 100644 --- a/app/views/configure/feed.phtml +++ b/app/views/configure/feed.phtml @@ -52,6 +52,9 @@ </select> </div> </div> + + <legend><?php echo Minz_Translate::t ('archiving_configuration'); ?></legend> + <div class="form-group"> <label class="group-name"></label> <div class="group-controls"> @@ -64,10 +67,21 @@ <label class="group-name"><?php echo Minz_Translate::t ('number_articles'); ?></label> <div class="group-controls"> <span class="control"><?php echo $this->flux->nbEntries (); ?></span> - <label class="checkbox" for="keep_history"> - <input type="checkbox" name="keep_history" id="keep_history" value="yes"<?php echo $this->flux->keepHistory () == 'yes' ? ' checked="checked"' : ''; ?> /> - <?php echo Minz_Translate::t ('keep_history'); ?> - </label> + </div> + </div> + <div class="form-group"> + <label class="group-name" for="keep_history"><?php echo Minz_Translate::t ('keep_history'); ?></label> + <div class="group-controls"> + <input type="number" name="keep_history" id="keep_history" list="old_values" min="-1" max="1000000" value="<?php echo $this->flux->keepHistory(); ?>" /> + <datalist id="old_values"> + <option value="0">0</option> + <option value="10">10</option> + <option value="100">100</option> + <option value="1000">1 000</option> + <option value="10000">10 000</option> + <option value="-1">∞</option> + </datalist> + <?php echo FreshRSS_Themes::icon('help'); ?> <?php echo Minz_Translate::t ('keep_history_help'); ?> </div> </div> <div class="form-group"> |
