diff options
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/abook_edit.tpl | 44 | ||||
-rw-r--r-- | view/tpl/field_acheckbox.tpl | 7 |
2 files changed, 51 insertions, 0 deletions
diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl new file mode 100644 index 000000000..8f72edc59 --- /dev/null +++ b/view/tpl/abook_edit.tpl @@ -0,0 +1,44 @@ + +<h2>$header</h2> + +<br /> +<a href="" style="background-color: #CCC; padding: 10px; border-radius: 5px;">View Profile</a><a href="" style="background-color: #CCC; padding: 10px; border-radius: 5px; margin-left: 20px;">Archive</a> + +<div id="contact-edit-wrapper"> +<br /> +<h3>Slide to adjust your degree of friendship</h3> + +$slide + +<h3>Permissions</h3> + +<form action="abook/$contact_id" method="post" > +<input type="hidden" name="contact_id" value="$contact_id"> +<input id="contact-closeness-mirror" type="hidden" name="closeness" value="$close" /> + +<br /> +<b>Quick Links:</b> +<a href="" style="background-color: #CCC; padding: 3px; border-radius: 5px; margin-left: 15px;">Full Sharing</a><a href="" style="background-color: #CCC; padding: 3px; border-radius: 5px; margin-left: 15px;">Cautious Sharing</a><a href="" style="background-color: #CCC; padding: 3px; border-radius: 5px; margin-left: 15px;">Follow Only</a><br /> +<br /> + +<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}} + +<br /> + + +<input class="contact-edit-submit" type="submit" name="submit" value="$submit" /> + +</form> +</div> diff --git a/view/tpl/field_acheckbox.tpl b/view/tpl/field_acheckbox.tpl new file mode 100644 index 000000000..6b7bd274b --- /dev/null +++ b/view/tpl/field_acheckbox.tpl @@ -0,0 +1,7 @@ + + <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> + </div> |