friendica-addons/twitter/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

24 lines
904 B
Smarty

<div id="twitter-info" >
{{if $l10n.connected}}
<p>{{$l10n.connected nofilter}} <button type="submit" name="twitter-disconnect" value="1">{{$l10n.disconnect}}</button></p>
<p id="twitter-info-block">
<a href="https://twitter.com/{{$account->screen_name}}" target="_twitter"><img id="twitter-avatar" src="{{$account->profile_image_url}}" /></a>
<em>{{$account->description}}</em>
</p>
{{else}}
<p>{{$l10n.invalid}}</p>
<button type="submit" name="twitter-disconnect" value="1">{{$l10n.disconnect}}</button>
{{/if}}
</div>
<div class="clear"></div>
{{include file="field_checkbox.tpl" field=$enable}}
{{if $l10n.privacy_warning}}
<p>{{$l10n.privacy_warning nofilter}}</p>
{{/if}}
{{include file="field_checkbox.tpl" field=$default}}
{{include file="field_checkbox.tpl" field=$mirror}}
{{include file="field_checkbox.tpl" field=$import}}
{{include file="field_checkbox.tpl" field=$create_user}}