friendica-addons/pnut/templates/connector_settings.tpl

13 lines
500 B
Smarty

<p>{{$status}}</p>
{{include file="field_checkbox.tpl" field=$enable}}
{{include file="field_checkbox.tpl" field=$bydefault}}
{{include file="field_input.tpl" field=$client_id}}
{{include file="field_input.tpl" field=$client_secret}}
{{include file="field_input.tpl" field=$access_token}}
{{if $authorize_url}}
<a href="{{$authorize_url}}">{{$authorize_text}}</a>
{{/if}}
{{if $disconn_btn}}
<div class="submit"><input type="submit" name="pnut-disconnect" value="{{$disconn_btn}}" /></div>
{{/if}}