X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Facl_selector.tpl;h=6755f2a198fd13eab1af641a84eec303d647f420;hb=b9ab6137776f39db3d01481cb6a7d5f6a1634be5;hp=48706535f4a0c34d0fd70ae79dbf7e50ec7cc943;hpb=0fe8b849bb5ea057f0bfb9e257e1d420d7c3d313;p=friendica.git diff --git a/view/templates/acl_selector.tpl b/view/templates/acl_selector.tpl index 48706535f4..6755f2a198 100644 --- a/view/templates/acl_selector.tpl +++ b/view/templates/acl_selector.tpl @@ -19,9 +19,30 @@
{{$emailcc}}
-{{if $jotnets}} -{{$jotnets nofilter}} -{{/if}}{{/if}} + + {{if $jotnets_fields}} + {{if $jotnets_fields|count < 3}} +
+ {{else}} +
+ {{$jotnets_summary}} + {{/if}} + + {{foreach $jotnets_fields as $jotnets_field}} + {{if $jotnets_field.type == 'checkbox'}} + {{include file="field_checkbox.tpl" field=$jotnets_field.field}} + {{elseif $jotnets_field.type == 'select'}} + {{include file="field_select.tpl" field=$jotnets_field.field}} + {{/if}} + {{/foreach}} + + {{if $jotnets_fields|count >= 3}} +
+ {{else}} +
+ {{/if}} + {{/if}} +{{/if}}