Skip to content

Commit

Permalink
Enable Archive by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Jun 24, 2017
1 parent 9af14b0 commit 8dc4cc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@
</p>
<p>
<label for="archivemonths">Generate statistics, delete or put in archive flights older than xx months</label>
<input type="number" name="archivemonths" id="archivemonths" value="<?php if (isset($globalArchiveMonths)) print $globalArchiveMonths; else echo '0'; ?>" />
<input type="number" name="archivemonths" id="archivemonths" value="<?php if (isset($globalArchiveMonths)) print $globalArchiveMonths; else echo '1'; ?>" />
<p class="help-block">0 to disable, delete old flight if <i>Archive all flights data</i> is disabled</p>
</p>
<p>
Expand All @@ -776,12 +776,12 @@
</p>
<p>
<label for="archivekeepmonths">Keep flights data for xx months in archive</label>
<input type="number" name="archivekeepmonths" id="archivekeepmonths" value="<?php if (isset($globalArchiveKeepMonths)) print $globalArchiveKeepMonths; else echo '0'; ?>" />
<input type="number" name="archivekeepmonths" id="archivekeepmonths" value="<?php if (isset($globalArchiveKeepMonths)) print $globalArchiveKeepMonths; else echo '1'; ?>" />
<p class="help-block">0 to disable</p>
</p>
<p>
<label for="archivekeeptrackmonths">Keep flights track data for xx months in archive</label>
<input type="number" name="archivekeeptrackmonths" id="archivekeeptrackmonths" value="<?php if (isset($globalArchiveKeepTrackMonths)) print $globalArchiveKeepTrackMonths; else echo '0'; ?>" />
<input type="number" name="archivekeeptrackmonths" id="archivekeeptrackmonths" value="<?php if (isset($globalArchiveKeepTrackMonths)) print $globalArchiveKeepTrackMonths; else echo '1'; ?>" />
<p class="help-block">0 to disable, should be less or egal to <i>Keep flights data</i> value</p>
</p>
<br />
Expand Down

0 comments on commit 8dc4cc7

Please sign in to comment.