Repository navigation
Expand file tree
/
Copy pathconfigure.phtml
More file actions
34 lines (31 loc) · 1.55 KB
/
Copy pathconfigure.phtml
File metadata and controls
34 lines (31 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
declare(strict_types=1);
/** @var IconFetcherExtension $this */
?>
<form action="<?= _url('extension', 'configure', 'e', urlencode($this->getName())) ?>" method="post" data-icon-fetcher="1">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
<div class="form-group">
<div class="group-controls">
<label class="checkbox" for="icon_fetcher_auto_new">
<input type="checkbox" id="icon_fetcher_auto_new" name="icon_fetcher_auto_new" <?= $this->isAutoFetchNewFeeds() ? 'checked="checked"' : '' ?> />
<?= _t('ext.icon_fetcher.auto_new') ?>
</label>
</div>
</div>
<div class="form-group">
<label class="group-name"><?= _t('ext.icon_fetcher.bulk_actions') ?></label>
<div class="group-controls">
<button type="button" class="btn" data-icon-action="fetch_missing"><?= _t('ext.icon_fetcher.fetch_missing') ?></button>
<button type="button" class="btn" data-icon-action="refresh_all"><?= _t('ext.icon_fetcher.refresh_all') ?></button>
<button type="submit" class="btn" name="icon_action" value="reset_icons" data-str-confirm="<?= _t('ext.icon_fetcher.confirm_reset') ?>"><?= _t('ext.icon_fetcher.reset') ?></button>
</div>
<p class="form-help"><?= _t('ext.icon_fetcher.sources') ?></p>
<p id="icon_fetcher_status" role="status" aria-live="polite"></p>
</div>
<div class="form-group form-actions">
<div class="group-controls">
<button type="submit" class="btn btn-important"><?= _t('gen.action.submit') ?></button>
<button type="reset" class="btn"><?= _t('gen.action.cancel') ?></button>
</div>
</div>
</form>