]> git.mxchange.org Git - friendica.git/blob - view/settings_oauth.tpl
0de0dbe98ac19937e870f7858064c8b61721b5db
[friendica.git] / view / settings_oauth.tpl
1 $tabs
2
3 <h1>$title</h1>
4
5
6 <form action="settings/oauth" method="post" autocomplete="off">
7         
8         <div id="profile-edit-links">
9                 <ul>
10                         <li>
11                                 <a id="profile-edit-view-link" href="$baseurl/settings/oauth/add">$add</a>
12                         </li>
13                 </ul>
14         </div>
15
16         {{ for $apps as $app }}
17         <div class='oauthapp'>
18                 <img src='$app.icon' class="{{ if $app.icon }} {{ else }}noicon{{ endif }}">
19                 {{ if $app.name }}<h4>$app.name</h4>{{ else }}<h4>$noname</h4>{{ endif }}
20                 {{ if $app.my }}
21                         {{ if $app.oauth_token }}
22                         <div class="settings-submit-wrapper" ><button class="settings-submit"  type="submit" name="remove" value="$app.oauth_token">$remove</button></div>
23                         {{ endif }}
24                 {{ endif }}
25                 {{ if $app.my }}
26                 <a href="$baseurl/settings/oauth/edit/$app.client_id" class="icon s22 edit" title="$edit">&nbsp;</a>
27                 <a href="$baseurl/settings/oauth/delete/$app.client_id" class="icon s22 delete" title="$delete">&nbsp;</a>
28                 {{ endif }}             
29         </div>
30         {{ endfor }}
31
32 </form>