aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/abook_edit.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-08 17:33:38 -0800
committerfriendica <info@friendica.com>2012-11-08 17:33:38 -0800
commitc1b931549c762b90f6c6d67b604c8b0fc09c0a9f (patch)
tree5868a2f3527e151175c0563733bf82e8e8bd2fae /view/tpl/abook_edit.tpl
parent3d56ab227d03840928a9fcebb0a8508fe69f31b6 (diff)
downloadvolse-hubzilla-c1b931549c762b90f6c6d67b604c8b0fc09c0a9f.tar.gz
volse-hubzilla-c1b931549c762b90f6c6d67b604c8b0fc09c0a9f.tar.bz2
volse-hubzilla-c1b931549c762b90f6c6d67b604c8b0fc09c0a9f.zip
permissions and contact permissions are now sticky
Diffstat (limited to 'view/tpl/abook_edit.tpl')
-rw-r--r--view/tpl/abook_edit.tpl16
1 files changed, 4 insertions, 12 deletions
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
<h3>Permissions</h3>
-<form action="abook/$contact_id" method="post" >
+<form action="connections/$contact_id" method="post" >
<input type="hidden" name="contact_id" value="$contact_id">
<input id="contact-closeness-mirror" type="hidden" name="closeness" value="$close" />
@@ -32,17 +32,9 @@ $slide
<span class="abook-them">$them</span><span class="abook-me">$me</span>
<br />
<br />
-{{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 }}
<br />
</div>