|
|
|
@ -52,6 +52,15 @@ |
|
|
|
|
</select> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<label class="group-name" for="priority"><?php echo Minz_Translate::t ('show_in_all_flux'); ?></label>
|
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<label class="checkbox" for="priority"> |
|
|
|
|
<input type="checkbox" name="priority" id="priority" value="10"<?php echo $this->flux->priority () > 0 ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<?php echo Minz_Translate::t ('yes'); ?> |
|
|
|
|
</label> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="form-group form-actions"> |
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<button class="btn btn-important"><?php echo Minz_Translate::t ('save'); ?></button>
|
|
|
|
@ -78,16 +87,11 @@ |
|
|
|
|
<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'); ?> |
|
|
|
|
<select class="number" name="keep_history" id="keep_history"><?php |
|
|
|
|
foreach (array(-3 => '', -2 => Minz_Translate::t('by_default'), 0 => '0', 10 => '10', 50 => '50', 100 => '100', 500 => '500', 1000 => '1 000', 5000 => '5 000', 10000 => '10 000', -1 => '∞') as $v => $t) { |
|
|
|
|
echo '<option value="' . $v . ($this->flux->keepHistory() === $v ? '" selected="selected' : '') . '">' . $t . '</option>'; |
|
|
|
|
} |
|
|
|
|
?></select> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="form-group form-actions"> |
|
|
|
@ -97,24 +101,7 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<legend><?php echo Minz_Translate::t ('advanced'); ?></legend>
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
<label class="group-name" for="priority"><?php echo Minz_Translate::t ('show_in_all_flux'); ?></label>
|
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<label class="checkbox" for="priority"> |
|
|
|
|
<input type="checkbox" name="priority" id="priority" value="10"<?php echo $this->flux->priority () > 0 ? ' checked="checked"' : ''; ?> />
|
|
|
|
|
<?php echo Minz_Translate::t ('yes'); ?> |
|
|
|
|
</label> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<label class="group-name" for="path_entries"><?php echo Minz_Translate::t ('css_path_on_website'); ?></label>
|
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<input type="text" name="path_entries" id="path_entries" value="<?php echo $this->flux->pathEntries (); ?>" placeholder="<?php echo Minz_Translate::t ('blank_to_disable'); ?>" />
|
|
|
|
|
<?php echo FreshRSS_Themes::icon('help'); ?> <?php echo Minz_Translate::t ('retrieve_truncated_feeds'); ?> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<legend><?php echo Minz_Translate::t ('login_configuration'); ?></legend>
|
|
|
|
|
<?php $auth = $this->flux->httpAuth (false); ?> |
|
|
|
|
<div class="form-group"> |
|
|
|
|
<label class="group-name" for="http_user"><?php echo Minz_Translate::t ('http_username'); ?></label>
|
|
|
|
@ -131,7 +118,24 @@ |
|
|
|
|
|
|
|
|
|
<div class="form-group form-actions"> |
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<button class="btn btn-important"><?php echo Minz_Translate::t ('save'); ?></button>
|
|
|
|
|
<button type="submit" class="btn btn-important"><?php echo Minz_Translate::t ('save'); ?></button>
|
|
|
|
|
<button type="reset" class="btn"><?php echo Minz_Translate::t ('cancel'); ?></button>
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<legend><?php echo Minz_Translate::t ('advanced'); ?></legend>
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
<label class="group-name" for="path_entries"><?php echo Minz_Translate::t ('css_path_on_website'); ?></label>
|
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<input type="text" name="path_entries" id="path_entries" value="<?php echo $this->flux->pathEntries (); ?>" placeholder="<?php echo Minz_Translate::t ('blank_to_disable'); ?>" />
|
|
|
|
|
<?php echo FreshRSS_Themes::icon('help'); ?> <?php echo Minz_Translate::t ('retrieve_truncated_feeds'); ?> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="form-group form-actions"> |
|
|
|
|
<div class="group-controls"> |
|
|
|
|
<button type="submit" class="btn btn-important"><?php echo Minz_Translate::t ('save'); ?></button>
|
|
|
|
|
<button type="reset" class="btn"><?php echo Minz_Translate::t ('cancel'); ?></button>
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</form> |
|
|
|
|