friendica-addons/pnut/templates/connector_settings.tpl

15 lines
531 B
Smarty
Raw Permalink Normal View History

2024-02-21 02:53:21 +01:00
<p>{{$status}}</p>
{{include file="field_checkbox.tpl" field=$enable}}
{{include file="field_checkbox.tpl" field=$bydefault}}
{{if $user_client}}
{{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}}
2024-02-21 02:53:21 +01:00
{{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}}