+
+ {{if $lost_contact}}<li><div id="lost-contact-message">{{$lost_contact}}</div></li>{{/if}}
+ {{if $insecure}}<li><div id="insecure-message">{{$insecure}}</div></li> {{/if}}
+ {{if $blocked && !$pending}}<li><div id="block-message">{{$blocked}}</div></li>{{/if}}
+ {{if $pending}}<li><div id="pending-message">{{$pending}}</div></li>{{/if}}
+ {{if $ignored}}<li><div id="ignore-message">{{$ignored}}</div></li>{{/if}}
+ {{if $archived}}<li><div id="archive-message">{{$archived}}</div></li>{{/if}}
+ </ul>
+ </div> {{* End of contact-edit-status-wrapper *}}
+
+ {{* Some information about the contact from the profile *}}
+ <dl><dt>{{$profileurllabel}}</dt><dd><a target="blank" href="{{$profileurl}}">{{$profileurl}}</a></dd></dl>
+ {{if $location}}<dl><dt>{{$location_label}}</dt><dd>{{$location nofilter}}</dd></dl>{{/if}}
+ {{if $xmpp}}<dl><dt>{{$xmpp_label}}</dt><dd>{{$xmpp}}</dd></dl>{{/if}}
+ {{if $matrix}}<dl><dt>{{$matrix_label}}</dt><dd>{{$matrix}}</dd></dl>{{/if}}
+ {{if $keywords}}<dl><dt>{{$keywords_label}}</dt><dd>{{$keywords}}</dd></dl>{{/if}}
+ {{if $about}}<dl><dt>{{$about_label}}</dt><dd>{{$about nofilter}}</dd></dl>{{/if}}
+ </div>{{* End of contact-edit-links *}}
+
+ <div id="contact-edit-links-end"></div>
+
+ <hr />
+
+ {{if $contact_settings_label}}
+ <h4 id="contact-edit-settings-label" class="fakelink" onclick="openClose('contact-edit-settings')">{{$contact_settings_label}}</h4>
+ <div id="contact-edit-settings">
+ <input type="hidden" name="contact_id" value="{{$contact_id}}">
+
+ <div id="contact-edit-end"></div>
+ {{include file="field_checkbox.tpl" field=$notify}}
+ {{if $fetch_further_information}}
+ {{include file="field_select.tpl" field=$fetch_further_information}}
+ {{if $fetch_further_information.2 == 2 || $fetch_further_information.2 == 3}} {{include file="field_textarea.tpl" field=$ffi_keyword_denylist}} {{/if}}
+ {{/if}}
+ {{if $allow_remote_self}}
+ {{include file="field_select.tpl" field=$remote_self}}