]> git.mxchange.org Git - friendica.git/blob - view/templates/settings_oauth.tpl
Merge remote-tracking branch 'upstream/master'
[friendica.git] / view / templates / settings_oauth.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6 <h1>{{$title}}</h1>
7
8
9 <form action="settings/oauth" method="post" autocomplete="off">
10 <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
11
12         <div id="profile-edit-links">
13                 <ul>
14                         <li>
15                                 <a id="profile-edit-view-link" href="{{$baseurl}}/settings/oauth/add">{{$add}}</a>
16                         </li>
17                 </ul>
18         </div>
19
20         {{foreach $apps as $app}}
21         <div class='oauthapp'>
22                 <img src='{{$app.icon}}' class="{{if $app.icon}} {{else}}noicon{{/if}}">
23                 {{if $app.name}}<h4>{{$app.name}}</h4>{{else}}<h4>{{$noname}}</h4>{{/if}}
24                 {{if $app.my}}
25                         {{if $app.oauth_token}}
26                         <div class="settings-submit-wrapper" ><button class="settings-submit"  type="submit" name="remove" value="{{$app.oauth_token}}">{{$remove}}</button></div>
27                         {{/if}}
28                 {{/if}}
29                 {{if $app.my}}
30                 <a href="{{$baseurl}}/settings/oauth/edit/{{$app.client_id}}" class="icon s22 edit" title="{{$edit}}">&nbsp;</a>
31                 <a href="{{$baseurl}}/settings/oauth/delete/{{$app.client_id}}?t={{$form_security_token}}" class="icon s22 delete" title="{{$delete}}">&nbsp;</a>
32                 {{/if}}         
33         </div>
34         {{/foreach}}
35
36 </form>