From c1b931549c762b90f6c6d67b604c8b0fc09c0a9f Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 8 Nov 2012 17:33:38 -0800 Subject: permissions and contact permissions are now sticky --- view/tpl/abook_edit.tpl | 16 ++++------------ view/tpl/field_acheckbox.tpl | 4 ++-- 2 files changed, 6 insertions(+), 14 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index c534dbde7..353abd6ef 100644 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -16,7 +16,7 @@ $slide

Permissions

-
+ @@ -32,17 +32,9 @@ $slide $them$me

-{{inc field_acheckbox.tpl with $field=$perm01 }}{{endinc}} -{{inc field_acheckbox.tpl with $field=$perm02 }}{{endinc}} -{{inc field_acheckbox.tpl with $field=$perm03 }}{{endinc}} -{{inc field_acheckbox.tpl with $field=$perm04 }}{{endinc}} -{{inc field_acheckbox.tpl with $field=$perm05 }}{{endinc}} -{{inc field_acheckbox.tpl with $field=$perm06 }}{{endinc}} -{{inc field_acheckbox.tpl with $field=$perm07 }}{{endinc}} -{{inc field_acheckbox.tpl with $field=$perm08 }}{{endinc}} -{{inc field_acheckbox.tpl with $field=$perm09 }}{{endinc}} -{{inc field_acheckbox.tpl with $field=$perm10 }}{{endinc}} - +{{ for $perms as $prm }} +{{inc field_acheckbox.tpl with $field=$prm }}{{endinc}} +{{ endfor }}
diff --git a/view/tpl/field_acheckbox.tpl b/view/tpl/field_acheckbox.tpl index 6b7bd274b..b1edd782e 100644 --- a/view/tpl/field_acheckbox.tpl +++ b/view/tpl/field_acheckbox.tpl @@ -2,6 +2,6 @@
- - $field.3 + + $field.6
-- cgit v1.2.3