From: Hypolite Petovan Date: Wed, 1 Apr 2020 01:43:04 +0000 (-0400) Subject: Remove modal window for default post permission setting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3c50f985a9f9a482c5a254db416c3363c29af3fc;p=friendica.git Remove modal window for default post permission setting --- diff --git a/mod/settings.php b/mod/settings.php index 4b34e9c183..3832de1b1f 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -937,7 +937,6 @@ function settings_content(App $a) '$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, ''), diff --git a/view/templates/settings/settings.tpl b/view/templates/settings/settings.tpl index fd0de22da4..fe83ebf0c5 100644 --- a/view/templates/settings/settings.tpl +++ b/view/templates/settings/settings.tpl @@ -65,24 +65,12 @@ {{include file="field_input.tpl" field=$cntunkmail}} -
- {{$permissions}} {{$permdesc}} -
- - -
-
-
+{{$aclselect nofilter}} -{{$group_select nofilter}}
diff --git a/view/theme/frio/templates/settings/settings.tpl b/view/theme/frio/templates/settings/settings.tpl index 11e697b30b..40c1d85ddf 100644 --- a/view/theme/frio/templates/settings/settings.tpl +++ b/view/theme/frio/templates/settings/settings.tpl @@ -101,30 +101,12 @@ {{include file="field_input.tpl" field=$cntunkmail}} - {{* Block for setting default permissions *}} -
- {{$permissions}} {{$permdesc}} -
- - {{* We include the aclModal directly into the template since we cant use frio's default modal *}} - -
-
- {{$group_select nofilter}} +

{{$permissions}}

+ + {{$aclselect nofilter}} +