diff options
author | friendica <info@friendica.com> | 2012-11-08 17:33:38 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-11-08 17:33:38 -0800 |
commit | c1b931549c762b90f6c6d67b604c8b0fc09c0a9f (patch) | |
tree | 5868a2f3527e151175c0563733bf82e8e8bd2fae /view/tpl | |
parent | 3d56ab227d03840928a9fcebb0a8508fe69f31b6 (diff) | |
download | volse-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')
-rw-r--r-- | view/tpl/abook_edit.tpl | 16 | ||||
-rw-r--r-- | view/tpl/field_acheckbox.tpl | 4 |
2 files changed, 6 insertions, 14 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> 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 @@ <div class='field acheckbox'> <label for='id_$field.0'>$field.1</label> <input type="checkbox" class="abook-edit-them" name='$field.0' id='id_$field.0' value="1" disabled="disabled" {{ if $field.2 }}checked="checked"{{ endif }} /> - <input type="checkbox" class="abook-edit-me" name='$field.0' id='id_$field.0' value="1" {{ if $field.2 }}checked="checked"{{ endif }} /> - <span class='field_abook_help'>$field.3</span> + <input type="checkbox" class="abook-edit-me" name='$field.0' id='id_$field.0' value="$field.4" {{ if $field.3 }}checked="checked"{{ endif }} {{ if $field.5 }} disabled="disabled" {{ endif }}/> + <span class='field_abook_help'>$field.6</span> </div> |