-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.phtml
26 lines (23 loc) · 1 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
<?php
declare(strict_types=1);
/** @var CustomStylesheetExtension $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 class="form-group">
<label class="group-name" for="stylesheet_url"><?php echo _t('ext.custom_stylesheet.stylesheet_url'); ?></label>
<div class="group-controls">
<input type="text" id="stylesheet_url" name="stylesheet_url" value="<?php echo $this->getStylesheetUrl(); ?>">
</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>
<p>
<?php echo _t('ext.custom_stylesheet.updates'); ?>
<a href="https://github.com/Rambomst/freshrss-extension-custom-stylesheet" target="_blank">GitHub</a>.
</p>