aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/abook_edit.tpl
blob: 4deb848233c5399de4b0d1585cd1632c2e06bf02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<h2>$header</h2>

<h3>$addr</h3>

{{ if $notself }}
<div id="connection-flag-tabs">
$tabs
</div>
{{ endif }}

{{ if $self }}
<div id="autoperm-desc" class="descriptive-paragraph">$autolbl</div>
{{ endif }}

<div id="contact-edit-wrapper">

{{ if $notself }}
{{ if $slide }}
<h3>$lbl_slider</h3>

$slide

{{ endif }}
{{ endif }}

<h3>$permlbl</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>
{{ if $self }}
<li><a href="#" onclick="connectForum(); return false;">$forum</a></li>
{{ endif }}
<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 />
{{ for $perms as $prm }}
{{inc field_acheckbox.tpl with $field=$prm }}{{endinc}}
{{ endfor }}
<br />

</div>

<input class="contact-edit-submit" type="submit" name="submit" value="$submit" />

</form>
</div>