-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfigure.phtml
45 lines (40 loc) · 2 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
45
<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="api_client_id"><?php echo _t('ext.wallabag.api_client_id'); ?></label>
<div class="group-controls">
<input type="text" name="api_client_id" id="api_client_id" value="<?php echo htmlspecialchars(FreshRSS_Context::$user_conf->wallabag_api_client_id); ?>">
</div>
</div>
<div class="form-group">
<label class="group-name" for="api_client_secret"><?php echo _t('ext.wallabag.api_client_secret'); ?></label>
<div class="group-controls">
<input type="text" name="api_client_secret" id="api_client_secret" value="<?php echo htmlspecialchars(FreshRSS_Context::$user_conf->wallabag_api_client_secret); ?>">
</div>
</div>
<div class="form-group">
<label class="group-name" for="uri"><?php echo _t('ext.wallabag.uri'); ?></label>
<div class="group-controls">
<input type="text" name="uri" id="uri" value="<?php echo htmlspecialchars(FreshRSS_Context::$user_conf->wallabag_api_uri); ?>">
</div>
</div>
<div class="form-group">
<label class="group-name" for="username"><?php echo _t('ext.wallabag.username'); ?></label>
<div class="group-controls">
<input type="text" name="username" id="username" value="<?php echo htmlspecialchars(FreshRSS_Context::$user_conf->wallabag_api_username); ?>">
</div>
</div>
<div class="form-group">
<label class="group-name" for="password"><?php echo _t('ext.wallabag.password'); ?></label>
<div class="group-controls">
<input type="password" name="password" autocomplete="off" name="" id="password">
</div>
</div>
<div class="form-group"
<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>