-
Notifications
You must be signed in to change notification settings - Fork 5
/
plugin_oauth2_admin_app_edit.htm
60 lines (50 loc) · 2.06 KB
/
plugin_oauth2_admin_app_edit.htm
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
{template header}
<script src="js/common.js" type="text/javascript"></script>
<div class="container">
<h3 class="marginbot">{lang app_setting}<a href="admin.php?m=plugin&a=oauth2" class="sgbtn">{lang app_list_return}</a></h3>
<!--{if $updated}-->
<div class="correctmsg"><p>{lang update_succeed}</p></div>
<!--{elseif $addapp}-->
<div class="correctmsg"><p>{lang app_add_succeed}</p></div>
<!--{/if}-->
<div class="mainbox">
<form action="admin.php?m=plugin&a=oauth2&do=edit&appid={$app['appid']}" method="post">
<input type="hidden" name="formhash" value="{FORMHASH}">
<table class="opt">
<tr>
<th colspan="2">$app['name']</th>
</tr>
<!--{if $app['user_id']}-->
<tr>
<th colspan="2">{lang oauth2_app_user}: $app['user_id']</th>
</tr>
<!--{/if}-->
<tr>
<th colspan="2">{lang oauth2_app_is_mobile}:</th>
</tr>
<tr>
<td>
<input type="radio" class="radio" id="yes" name="is_mobile" value="1" {if $app['is_mobile']}checked{/if} /><label for="yes">{lang yes}</label>
<input type="radio" class="radio" id="no" name="is_mobile" value="0" {if !$app['is_mobile']}checked{/if} /><label for="no">{lang no}</label>
</td>
<td>{lang oauth2_app_is_mobile_comment}</td>
</tr>
<tr>
<th colspan="2">{lang oauth2_app_id}: $app['appid']</th>
</tr>
<tr>
<th colspan="2">{lang oauth2_app_key}: $app['authkey']</th>
</tr>
<tr>
<th colspan="2">{lang oauth2_app_redirect_uri}:</th>
</tr>
<tr>
<td><input type="text" class="txt" name="redirect_uri" value="$app['redirect_uri']" /></td>
<td>{lang oauth2_app_redirect_uri_comment}</td>
</tr>
</table>
<div class="opt"><input type="submit" name="submit" value=" {lang submit} " class="btn" tabindex="3" /></div>
</form>
</div>
</div>
{template footer}