-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.phtml
24 lines (23 loc) · 1.54 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
<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="micropub-endpoint"><?php echo _t('ext.micropub_like.endpoint'); ?></label>
<div class="group-controls">
<input type="text" name="micropub-endpoint" id="micropub-endpoint" value="<?php echo $this->micropub_endpoint; ?>"></input>
</div>
<label class="group-name" for="micropub-token"><?php echo _t('ext.micropub_like.token'); ?></label>
<div class="group-controls">
<input type="text" name="micropub-token" id="micropub-token" value="<?php echo $this->micropub_token; ?>"></input>
</div>
</div>
<div class="form-group form-actions">
<?php if (isset($this->permission_problem)) { ?>
<p class="alert alert-error"><?php echo _t('ext.custom_css.permission_problem', $this->permission_problem); ?></p>
<?php } else { ?>
<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>
<?php } ?>
</div>
</form>