'$maxreq' => ['maxreq', DI::l10n()->t('Maximum Friend Requests/Day:'), $maxreq , DI::l10n()->t("\x28to prevent spam abuse\x29")],
'$permissions' => DI::l10n()->t('Default Post Permissions'),
- '$permdesc' => DI::l10n()->t("\x28click to open/close\x29"),
'$visibility' => $profile['net-publish'],
'$aclselect' => ACL::getFullSelectorHTML(DI::page(), $a->user),
'$blockwall'=> $blockwall, // array('blockwall', DI::l10n()->t('Allow friends to post to your profile page:'), !$blockwall, ''),
{{include file="field_input.tpl" field=$cntunkmail}}
-<div id="settings-default-perms" class="settings-default-perms" >
- <a href="#profile-jot-acl-wrapper" id="settings-default-perms-menu" class='popupbox'>{{$permissions}} {{$permdesc}}</a>
- <div id="settings-default-perms-menu-end"></div>
-
- <div id="settings-default-perms-select" style="display: none; margin-bottom: 20px" >
+{{$group_select nofilter}}
- <div style="display: none;">
- <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
- {{$aclselect nofilter}}
- </div>
- </div>
+<h3>{{$permissions}}</h3>
- </div>
-</div>
-<br/>
-<div id="settings-default-perms-end"></div>
+{{$aclselect nofilter}}
-{{$group_select nofilter}}
<div class="settings-submit-wrapper" >
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" />
</div>
{{include file="field_input.tpl" field=$cntunkmail}}
- {{* Block for setting default permissions *}}
- <div id="settings-default-perms" class="settings-default-perms">
- <a id="settings-default-perms-menu" class="settings-default-perms" data-toggle="modal" data-target="#aclModal">{{$permissions}} {{$permdesc}}</a>
- <div id="settings-default-perms-menu-end"></div>
-
- {{* We include the aclModal directly into the template since we cant use frio's default modal *}}
- <div class="modal" id="aclModal">
- <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">{{$permissions}}</h4>
- </div>
- <div class="modal-body">
- {{$aclselect nofilter}}
- </div>
- </div>
- </div>
- </div>
- </div>
- <br/>
-
{{$group_select nofilter}}
+ <h4>{{$permissions}}</h4>
+
+ {{$aclselect nofilter}}
+
<div class="form-group pull-right settings-submit-wrapper" >
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
</div>