mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-27 12:52:18 +00:00
9acfdb4090
- Add separate template files to several addons - Remove superfluous addon settings CSS files
32 lines
743 B
Smarty
32 lines
743 B
Smarty
{{if $info}}
|
|
<div class="panel panel-info">
|
|
<div class="panel-heading">
|
|
<h4 class="panel-title">{{$l10n.info_header}}</h4>
|
|
</div>
|
|
<p class="panel-body">
|
|
{{$info nofilter}}
|
|
</p>
|
|
</div>
|
|
{{/if}}
|
|
{{if $error}}
|
|
<div class="panel panel-danger">
|
|
<div class="panel-heading">
|
|
<h4 class="panel-title">{{$l10n.error_header}}</h4>
|
|
</div>
|
|
<p class="panel-body">
|
|
{{$error nofilter}}
|
|
</p>
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$enabled}}
|
|
|
|
{{if $aspect_select}}
|
|
{{include file="field_select.tpl" field=$aspect_select}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$post_by_default}}
|
|
{{else}}
|
|
{{include file="field_input.tpl" field=$handle}}
|
|
|
|
{{include file="field_password.tpl" field=$password}}
|
|
{{/if}}
|