mirror of
https://github.com/friendica/friendica
synced 2024-12-26 01:20:15 +00:00
29 lines
No EOL
1.1 KiB
Smarty
29 lines
No EOL
1.1 KiB
Smarty
<fieldset data-id="{{$profile_field.id}}">
|
|
<legend>≡ {{$profile_field.legend}}</legend>
|
|
|
|
<input type="hidden" name="profile_field_order[]" value="{{$profile_field.id}}">
|
|
|
|
{{include file="field_input.tpl" field=$profile_field.fields.label}}
|
|
|
|
{{include file="field_textarea.tpl" field=$profile_field.fields.value}}
|
|
|
|
{{* Block for setting default permissions *}}
|
|
<p>
|
|
<a id="settings-default-perms-menu" class="settings-default-perms" data-toggle="modal" data-target="#profile-field-acl-{{$profile_field.id}}">{{$profile_field.permissions}} {{$profile_field.permdesc}}</a>
|
|
</p>
|
|
|
|
{{* We include the aclModal directly into the template since we cant use frio's default modal *}}
|
|
<div class="modal" id="profile-field-acl-{{$profile_field.id}}">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
<h4 class="modal-title">{{$profile_field.permissions}}</h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
{{$profile_field.fields.acl nofilter}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</fieldset> |