friendica-addons/pumpio/templates/connector_settings.tpl
Hypolite Petovan 9acfdb4090 [various] Convert connector_settings hook functions to the new data array format
- Add separate template files to several addons
- Remove superfluous addon settings CSS files
2021-11-29 06:55:16 -05:00

14 lines
521 B
Smarty

{{include file="field_input.tpl" field=$servername}}
{{include file="field_input.tpl" field=$username}}
{{if $oauth_token && $oauth_token_secret}}
{{include file="field_checkbox.tpl" field=$enabled}}
{{include file="field_checkbox.tpl" field=$bydefault}}
{{include file="field_checkbox.tpl" field=$public}}
{{include file="field_checkbox.tpl" field=$mirror}}
{{elseif $pumpio_host && $pumpio_user}}
<div id="pumpio-authenticate-wrapper">
<a href="{{$authenticate_url}}">{{$l10n.authenticate}}</a>
</div>
{{/if}}