From 3f1a4b655900d64ad2c13f1906eb77eaf15d11b5 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 6 Nov 2017 20:13:14 -0800 Subject: second half of issue #893 - move channel default permissions to its own module so we can apply different page/widget layouts than for connedit; the relevant functionality is abandoned on mod_connedit but still intact. Trying a slightly different look/behaviour for inherited settings and the associated checkboxes. This may need a bit more tweaking but overall looks a lot cleaner. --- view/tpl/defperms.tpl | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100755 view/tpl/defperms.tpl (limited to 'view/tpl/defperms.tpl') diff --git a/view/tpl/defperms.tpl b/view/tpl/defperms.tpl new file mode 100755 index 000000000..f4a711957 --- /dev/null +++ b/view/tpl/defperms.tpl @@ -0,0 +1,55 @@ +
+
+

{{$header}}

+
+
+
+ + + + +
+
+
+
+
+

{{$autolbl}}

+

{{$permnote_self}}

+
+ {{if $permcat_enable}} +
+  {{$permcat_new}} + {{include file="field_select.tpl" field=$permcat}} + {{/if}} + +
+ {{foreach $perms as $prm}} + {{include file="field_checkbox.tpl" field=$prm}} + {{/foreach}} +
+ + {{if $hidden_perms}} + {{foreach $hidden_perms as $prm}} + + {{/foreach}} + {{/if}} + + + +
+ + {{include file="field_checkbox.tpl" field=$autoperms}} +
+ +
+ +
+
+
+
+
+
+
+
-- cgit v1.2.3