X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Facl_selector.tpl;h=6755f2a198fd13eab1af641a84eec303d647f420;hb=74fda8f39002ef7295660b4517137287a0bff454;hp=7c68a73064ee065113c9ec507283df026b5cee65;hpb=2e9d233367068fceac8005126d14a2002539c772;p=friendica.git diff --git a/view/templates/acl_selector.tpl b/view/templates/acl_selector.tpl index 7c68a73064..6755f2a198 100644 --- a/view/templates/acl_selector.tpl +++ b/view/templates/acl_selector.tpl @@ -17,18 +17,39 @@ {{if $networks}}
-
{{$emailcc}}
+
{{$emailcc}}
-{{if $jotnets}} -{{$jotnets}} -{{/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}}