-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathconfigure.phtml
More file actions
69 lines (58 loc) · 1.95 KB
/
configure.phtml
File metadata and controls
69 lines (58 loc) · 1.95 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
declare(strict_types=1);
/** @var Af_ReadabilityExtension $this */
?>
<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>
<p>Shown below are the feeds for which full-text extraction will be applied using the Readability library. The extension will automatically process new articles as they are fetched. Existing articles won't be reprocessed automatically. To reprocess previous articles, you'll need to delete and refetch them. Remember to click <b>Submit</b> to save your changes</p>
<?php
foreach ($this->getCategories() as $c) {
?>
<h3><?php echo $c->name()?></h3>
<table>
<tr>
<td class="rotate"><div><span>Readability</span></div></td>
<td class="rotatelast"><div><span>Feed</span></div></td>
</tr>
<tr>
<td class="chckbx"> <input type="checkbox"
autocomplete="off"
id="cat_<?php echo $c->id() ?>"
name="cat_<?php echo $c->id() ?>"
value="1" <?php echo $this->getConfigCategories($c->id()) ? 'checked="checked"' : ''; ?> >
</td>
<td class="boldtd" >Whole Category: <?php echo $c->name()?></td>
</tr>
<?php
foreach ( $c->feeds() as $f) {
?>
<tr>
<td class="chckbx"> <input type="checkbox"
autocomplete="off"
id="feed_<?php echo $f->id() ?>"
name="feed_<?php echo $f->id() ?>"
value="1"
<?php
echo $this->getConfigFeeds($f->id()) ? 'checked="checked"' : '';
?>
>
</td>
<td><?php echo $f->name() ?></td>
</tr>
<?php
}
?>
</table>
<?php
}
?>
<br>
</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>