From a7948d7bfee1c0c8c9f1a731aabdc636c280bff0 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 26 Sep 2018 22:02:50 +0200 Subject: permcats app --- view/tpl/abook_edit.tpl | 2 +- view/tpl/defperms.tpl | 2 +- view/tpl/permcats.tpl | 64 ++++++++++++++++++++++++++++++++++++++++++ view/tpl/settings_permcats.tpl | 64 ------------------------------------------ 4 files changed, 66 insertions(+), 66 deletions(-) create mode 100644 view/tpl/permcats.tpl delete mode 100644 view/tpl/settings_permcats.tpl (limited to 'view/tpl') diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index d72258fa0..6ff7bffcd 100755 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -485,7 +485,7 @@ {{if $permcat_enable}} -  {{$permcat_new}} +  {{$permcat_new}} {{include file="field_select.tpl" field=$permcat}} {{/if}} diff --git a/view/tpl/defperms.tpl b/view/tpl/defperms.tpl index 5273ee91b..29f642cff 100755 --- a/view/tpl/defperms.tpl +++ b/view/tpl/defperms.tpl @@ -17,7 +17,7 @@

{{$permnote_self}}

{{if $permcat_enable}} -  {{$permcat_new}} +  {{$permcat_new}} {{include file="field_select.tpl" field=$permcat}} {{/if}} diff --git a/view/tpl/permcats.tpl b/view/tpl/permcats.tpl new file mode 100644 index 000000000..2cad2db5b --- /dev/null +++ b/view/tpl/permcats.tpl @@ -0,0 +1,64 @@ +
+
+

{{$title}}

+
+
+
+ + +
+ + {{include file="field_input.tpl" field=$name}} + +
+ +
+
+ +
+ +
+
+
+ {{$permnote}} +
+ + + + + + {{foreach $perms as $prm}} + {{include file="field_acheckbox.tpl" field=$prm}} + {{/foreach}} +
{{$me}}
+ +
+ +
+
+
+ {{if $permcats}} +
+ + {{foreach $permcats as $k => $v}} + + + + + {{/foreach}} +
{{$v}}
+
+ {{/if}} + +
+ + +
diff --git a/view/tpl/settings_permcats.tpl b/view/tpl/settings_permcats.tpl deleted file mode 100644 index bbbd41669..000000000 --- a/view/tpl/settings_permcats.tpl +++ /dev/null @@ -1,64 +0,0 @@ -
-
-

{{$title}}

-
-
-
- - -
- - {{include file="field_input.tpl" field=$name}} - -
- -
-
- -
- -
-
-
- {{$permnote}} -
- - - - - - {{foreach $perms as $prm}} - {{include file="field_acheckbox.tpl" field=$prm}} - {{/foreach}} -
{{$me}}
- -
- -
-
-
- {{if $permcats}} -
- - {{foreach $permcats as $k => $v}} - - - - - {{/foreach}} -
{{$v}}
-
- {{/if}} - -
- - -
-- cgit v1.2.3