aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-02 22:59:21 -0700
committerzotlabs <mike@macgirvin.com>2018-05-02 22:59:21 -0700
commit459ec78a5e3cb09ee908fd7810bbb0b80b2e4713 (patch)
treeef4d9e73621c09a824c9c644de4c758c60af4f2d /view/tpl
parent6bf5eea64670996fafb80f92a4b8ec6a44f22bb0 (diff)
downloadvolse-hubzilla-459ec78a5e3cb09ee908fd7810bbb0b80b2e4713.tar.gz
volse-hubzilla-459ec78a5e3cb09ee908fd7810bbb0b80b2e4713.tar.bz2
volse-hubzilla-459ec78a5e3cb09ee908fd7810bbb0b80b2e4713.zip
provide easy access to the autoperms setting for forum and repository channels. This may be needed in the future to protect an existing forum from assault by spammers with changing identities. The forum can quickly be turned into membership by approval and either left that way permanently or hopefully reversed at a later date. Previously this would require switching to expert mode or setting a pconfig manually.
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/settings.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl
index d258f1992..b5e871c36 100755
--- a/view/tpl/settings.tpl
+++ b/view/tpl/settings.tpl
@@ -45,6 +45,7 @@
<div id="privacy-settings-collapse" class="collapse" role="tabpanel" aria-labelledby="privacy-settings" data-parent="#settings">
<div class="section-content-tools-wrapper">
{{include file="field_select_grouped.tpl" field=$role}}
+ {{$autoperms}}
<div id="advanced-perm" style="display:{{if $permissions_set}}none{{else}}block{{/if}};">
<div class="form-group">
<button type="button" class="btn btn-outline-secondary" data-toggle="modal" data-target="#apsModal">{{$lbl_p2macro}}</button>