-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.phtml
44 lines (39 loc) · 1.68 KB
/
configure.phtml
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
35
36
37
38
39
40
41
42
43
44
<form action="<?php echo _url('extension', 'configure', 'e', urlencode($this->getName())); ?>" method="post">
<input type="hidden" name="_csrf" value="<?php echo FreshRSS_Auth::csrfToken(); ?>" />
<div class="form-group">
<div class="group-controls">
<label class="checkbox" for="relative-dates">
<input type="checkbox" name="relative-dates" id="relative-dates" value="1" <?= $this->getRelativeDates() ? 'checked=true' : '' ?>/>
<?= _t('ext.date_format.relative_dates'); ?>
</label>
</div>
</div>
<div class="form-group">
<div class="group-controls">
<label class="checkbox" for="adjusted-dates">
<input type="checkbox" name="adjusted-dates" id="adjusted-dates" value="1" <?= $this->getAdjustedDates() ? 'checked=true' : '' ?>/>
<?= _t('ext.date_format.adjusted_dates'); ?>
</label>
</div>
</div>
<div class="form-group">
<div class="group-controls">
<label class="checkbox" for="hour12-dates">
<input type="checkbox" name="hour12-dates" id="hour12-dates" value="1" <?= $this->getHour12Dates() ? 'checked=true' : '' ?>/>
<?= _t('ext.date_format.hour12_dates'); ?>
</label>
</div>
</div>
<div class="form-group">
<label for="custom-format" class="group-name"><?= _t('ext.date_format.custom_format'); ?></label>
<div class="group-controls">
<input type="text" name="custom-format" id="custom-format" value="<?= $this->getCustomFormat() ?>">
</div>
</div>
<div class="form-group form-actions">
<div class="group-controls">
<button type="submit" class="btn btn-important"><?php echo _t('gen.action.submit'); ?></button>
<button type="reset" class="btn"><?php echo _t('gen.action.cancel'); ?></button>
</div>
</div>
</form>