|
|
@@ -52,6 +52,24 @@
|
|
|
</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>
|
|
|
+ <button class="btn btn-attention confirm" formmethod="post" formaction="<?php echo Minz_Url::display (array ('c' => 'feed', 'a' => 'delete', 'params' => array ('id' => $this->flux->id ()))); ?>"><?php echo Minz_Translate::t ('delete'); ?></button>
|
|
|
+ </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,37 +82,26 @@
|
|
|
<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"></label>
|
|
|
+ <label class="group-name" for="keep_history"><?php echo Minz_Translate::t ('keep_history'); ?></label>
|
|
|
<div class="group-controls">
|
|
|
- <button class="btn btn-attention confirm" formmethod="post" formaction="<?php echo Minz_Url::display (array ('c' => 'feed', 'a' => 'truncate', 'params' => array ('id' => $this->flux->id ()))); ?>"><?php echo Minz_Translate::t ('truncate'); ?></button>
|
|
|
+ <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>
|
|
|
-
|
|
|
- <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="form-group form-actions">
|
|
|
<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'); ?>
|
|
|
+ <button class="btn btn-important"><?php echo Minz_Translate::t ('save'); ?></button>
|
|
|
+ <button class="btn btn-attention confirm" formmethod="post" formaction="<?php echo Minz_Url::display (array ('c' => 'feed', 'a' => 'truncate', 'params' => array ('id' => $this->flux->id ()))); ?>"><?php echo Minz_Translate::t ('truncate'); ?></button>
|
|
|
</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>
|
|
|
@@ -109,11 +116,26 @@
|
|
|
</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>
|
|
|
+
|
|
|
+ <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 class="btn btn-important"><?php echo Minz_Translate::t ('save'); ?></button>
|
|
|
- <button class="btn btn-attention confirm" formmethod="post" formaction="<?php echo Minz_Url::display (array ('c' => 'feed', 'a' => 'delete', 'params' => array ('id' => $this->flux->id ()))); ?>"><?php echo Minz_Translate::t ('delete'); ?></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>
|
|
|
</form>
|