aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/smarty3/abook_edit.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/smarty3/abook_edit.tpl')
-rw-r--r--view/tpl/smarty3/abook_edit.tpl50
1 files changed, 50 insertions, 0 deletions
diff --git a/view/tpl/smarty3/abook_edit.tpl b/view/tpl/smarty3/abook_edit.tpl
new file mode 100644
index 000000000..623f13dd4
--- /dev/null
+++ b/view/tpl/smarty3/abook_edit.tpl
@@ -0,0 +1,50 @@
+
+<h2>{{$header}}</h2>
+
+<h3>{{$addr}}</h3>
+
+<div id="connection-flag-tabs">
+{{$tabs}}
+</div>
+
+<div id="contact-edit-wrapper">
+
+{{if $slide}}
+<h3>{{$lbl_slider}}</h3>
+
+{{$slide}}
+
+{{/if}}
+
+<h3>Permissions</h3>
+
+<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}}" />
+
+<br />
+<b>{{$quick}}</b>
+<ul>
+<li><a href="#" onclick="connectFullShare(); return false;">{{$full}}</a></li>
+<li><a href="#" onclick="connectCautiousShare(); return false;">{{$cautious}}</a></li>
+<li><a href="#" onclick="connectFollowOnly(); return false;">{{$follow}}</a></li>
+<br />
+
+<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">{{$advanced}}</div>
+
+<div id="abook-advanced-panel" style="display: none;">
+
+<span class="abook-them">{{$them}}</span><span class="abook-me">{{$me}}</span>
+<br />
+<br />
+{{foreach $perms as $prm}}
+{{include file="field_acheckbox.tpl" field=$prm}}
+{{/foreach}}
+<br />
+
+</div>
+
+<input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" />
+
+</form>
+</div>