2 <div id="contact-edit-wrapper">
8 <div id="contact-edit-nav-wrapper">
9 <form action="contact/{{$contact_id}}" method="post">
10 <div id="contact-edit-links">
11 <div id="contact-edit-status-wrapper">
12 <span id="contact-edit-contact-status">{{$contact_status}}</span>
14 {{* This is the Action menu where contact related actions like 'ignore', 'hide' can be performed *}}
15 <div id="contact-edit-actions">
16 <button class="btn" id="contact-edit-actions-button">{{$contact_action_button}}</button>
18 <ul role="menu" aria-haspopup="true" id="contact-actions-menu" class="menu-popup">
19 {{if $contact_actions.follow}}<li role="menuitem"><a href="{{$contact_actions.follow.url}}" title="{{$contact_actions.follow.title}}">{{$contact_actions.follow.label}}</a></li>{{/if}}
20 {{if $contact_actions.unfollow}}<li role="menuitem"><a href="{{$contact_actions.unfollow.url}}" title="{{$contact_actions.unfollow.title}}">{{$contact_actions.unfollow.label}}</a></li>{{/if}}
21 {{if $lblsuggest}}<li role="menuitem"><a href="{{$contact_actions.suggest.url}}" title="{{$contact_actions.suggest.title}}">{{$contact_actions.suggest.label}}</a></li>{{/if}}
22 {{if $poll_enabled}}<li role="menuitem"><a href="{{$contact_actions.update.url}}" title="{{$contact_actions.update.title}}">{{$contact_actions.update.label}}</a></li>{{/if}}
23 {{if $contact_actions.updateprofile}}<li role="menuitem"><a href="{{$contact_actions.updateprofile.url}}" title="{{$contact_actions.updateprofile.title}}">{{$contact_actions.updateprofile.label}}</a></li>{{/if}}
24 <li class="divider"></li>
25 <li role="menuitem"><a href="#" title="{{$contact_actions.block.title}}" onclick="window.location.href='{{$contact_actions.block.url}}'; return false;">{{$contact_actions.block.label}}</a></li>
26 <li role="menuitem"><a href="#" title="{{$contact_actions.ignore.title}}" onclick="window.location.href='{{$contact_actions.ignore.url}}'; return false;">{{$contact_actions.ignore.label}}</a></li>
27 {{if $contact_actions.revoke_follow.url}}<li role="menuitem"><a href="{{$contact_actions.revoke_follow.url}}" title="{{$contact_actions.revoke_follow.title}}">{{$contact_actions.revoke_follow.label}}</a></li>{{/if}}
31 {{* Block with status information about the contact *}}
33 {{if $relation_text}}<li><div id="contact-edit-rel">{{$relation_text}}</div></li>{{/if}}
36 <li><div id="contact-edit-last-update-text">{{$lastupdtext}} <span id="contact-edit-last-updated">{{$last_update}}</span></div>
38 <span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval nofilter}}
43 {{if $lost_contact}}<li><div id="lost-contact-message">{{$lost_contact}}</div></li>{{/if}}
44 {{if $insecure}}<li><div id="insecure-message">{{$insecure}}</div></li> {{/if}}
45 {{if $blocked && !$pending}}<li><div id="block-message">{{$blocked}}</div></li>{{/if}}
46 {{if $pending}}<li><div id="pending-message">{{$pending}}</div></li>{{/if}}
47 {{if $ignored}}<li><div id="ignore-message">{{$ignored}}</div></li>{{/if}}
48 {{if $archived}}<li><div id="archive-message">{{$archived}}</div></li>{{/if}}
50 </div> {{* End of contact-edit-status-wrapper *}}
52 {{* Some information about the contact from the profile *}}
53 <dl><dt>{{$profileurllabel}}</dt><dd><a target="blank" href="{{$profileurl}}">{{$profileurl}}</a></dd></dl>
54 {{if $location}}<dl><dt>{{$location_label}}</dt><dd>{{$location nofilter}}</dd></dl>{{/if}}
55 {{if $xmpp}}<dl><dt>{{$xmpp_label}}</dt><dd>{{$xmpp}}</dd></dl>{{/if}}
56 {{if $matrix}}<dl><dt>{{$matrix_label}}</dt><dd>{{$matrix}}</dd></dl>{{/if}}
57 {{if $keywords}}<dl><dt>{{$keywords_label}}</dt><dd>{{$keywords}}</dd></dl>{{/if}}
58 {{if $about}}<dl><dt>{{$about_label}}</dt><dd>{{$about nofilter}}</dd></dl>{{/if}}
59 </div>{{* End of contact-edit-links *}}
61 <div id="contact-edit-links-end"></div>
65 {{if $contact_settings_label}}
66 <h4 id="contact-edit-settings-label" class="fakelink" onclick="openClose('contact-edit-settings')">{{$contact_settings_label}}</h4>
67 <div id="contact-edit-settings">
68 <input type="hidden" name="contact_id" value="{{$contact_id}}">
70 <div id="contact-edit-end"></div>
72 {{include file="field_checkbox.tpl" field=$notify_new_posts}}
74 {{if $fetch_further_information}}
75 {{include file="field_select.tpl" field=$fetch_further_information}}
76 {{if $fetch_further_information.2 == 2 || $fetch_further_information.2 == 3}} {{include file="field_textarea.tpl" field=$ffi_keyword_denylist}} {{/if}}
79 {{if $allow_remote_self}}
80 {{include file="field_select.tpl" field=$remote_self}}
83 {{include file="field_checkbox.tpl" field=$hidden}}
85 {{include file="field_textarea.tpl" field=$cinfo}}
88 <div id="contact-info-wrapper">
89 <h4>{{$lbl_info2}}</h4>
92 <div id="contact-info-end"></div>
94 {{if $channel_settings_label}}
95 <h4>{{$channel_settings_label}}</h4>
96 {{include file="field_select.tpl" field=$channel_visibility}}
100 <input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" />
103 <div class="contact-edit-submit-end clearfix"></div>
105 </form>{{* End of the form *}}
106 </div>{{* End of contact-edit-nav-wrapper *}}