1 <div id="contact-edit-wrapper" >
7 <div id="contact-edit-nav-wrapper" >
8 <form action="contact/{{$contact_id}}" method="post" >
9 <div id="contact-edit-links">
10 <div id="contact-edit-status-wrapper">
11 <span id="contact-edit-contact-status">{{$contact_status}}</span>
13 {{* This is the Action menu where contact related actions like 'ignore', 'hide' can be performed *}}
14 <div id="contact-edit-actions">
15 <a class="btn" rel="#contact-actions-menu" href="#" id="contact-edit-actions-button">{{$contact_action_button}}</a>
17 <ul role="menu" aria-haspopup="true" id="contact-actions-menu" class="menu-popup" >
18 {{if $lblsuggest}}<li role="menuitem"><a href="#" title="{{$contact_actions.suggest.title}}" onclick="window.location.href='{{$contact_actions.suggest.url}}'; return false;">{{$contact_actions.suggest.label}}</a></li>{{/if}}
19 {{if $poll_enabled}}<li role="menuitem"><a href="#" title="{{$contact_actions.update.title}}" onclick="window.location.href='{{$contact_actions.update.url}}'; return false;">{{$contact_actions.update.label}}</a></li>{{/if}}
20 <li class="divider"></li>
21 <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>
22 <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>
23 {{if $contact_actions.archive.url}}<li role="menuitem"><a href="#" title="{{$contact_actions.archive.title}}" onclick="window.location.href='{{$contact_actions.archive.url}}'; return false;">{{$contact_actions.archive.label}}</a></li>{{/if}}
24 {{if $contact_actions.delete.url}}<li role="menuitem"><a href="{{$contact_actions.delete.url}}" title="{{$contact_actions.delete.title}}" onclick="return confirmDelete();">{{$contact_actions.delete.label}}</a></li> {{/if}}
28 {{* Block with status information about the contact *}}
30 {{if $relation_text}}<li><div id="contact-edit-rel">{{$relation_text}}</div></li>{{/if}}
33 <li><div id="contact-edit-last-update-text">{{$lastupdtext}} <span id="contact-edit-last-updated">{{$last_update}}</span></div>
35 <span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval nofilter}}
40 {{if $lost_contact}}<li><div id="lost-contact-message">{{$lost_contact}}</div></li>{{/if}}
41 {{if $insecure}}<li><div id="insecure-message">{{$insecure}}</div></li> {{/if}}
42 {{if $blocked && !$pending}}<li><div id="block-message">{{$blocked}}</div></li>{{/if}}
43 {{if $pending}}<li><div id="pending-message">{{$pending}}</div></li>{{/if}}
44 {{if $ignored}}<li><div id="ignore-message">{{$ignored}}</div></li>{{/if}}
45 {{if $archived}}<li><div id="archive-message">{{$archived}}</div></li>{{/if}}
47 </div> {{* End of contact-edit-status-wrapper *}}
49 {{* Some information about the contact from the profile *}}
50 <dl><dt>{{$profileurllabel}}</dt><dd><a target="blank" href="{{$url}}">{{$profileurl}}</a></dd></dl>
51 {{if $location}}<dl><dt>{{$location_label}}</dt><dd>{{$location nofilter}}</dd></dl>{{/if}}
52 {{if $xmpp}}<dl><dt>{{$xmpp_label}}</dt><dd>{{$xmpp}}</dd></dl>{{/if}}
53 {{if $keywords}}<dl><dt>{{$keywords_label}}</dt><dd>{{$keywords}}</dd></dl>{{/if}}
54 {{if $about}}<dl><dt>{{$about_label}}</dt><dd>{{$about nofilter}}</dd></dl>{{/if}}
55 </div>{{* End of contact-edit-links *}}
57 <div id="contact-edit-links-end"></div>
61 {{if $contact_settings_label}}
62 <h4 id="contact-edit-settings-label" class="fakelink" onclick="openClose('contact-edit-settings')">{{$contact_settings_label}}</h4>
63 <div id="contact-edit-settings">
64 <input type="hidden" name="contact_id" value="{{$contact_id}}">
66 <div id="contact-edit-end" ></div>
67 {{include file="field_checkbox.tpl" field=$notify}}
68 {{if $fetch_further_information}}
69 {{include file="field_select.tpl" field=$fetch_further_information}}
70 {{if $fetch_further_information.2 == 2 || $fetch_further_information.2 == 3}} {{include file="field_textarea.tpl" field=$ffi_keyword_denylist}} {{/if}}
72 {{include file="field_checkbox.tpl" field=$hidden}}
74 <div id="contact-edit-info-wrapper">
75 <h4>{{$lbl_info1}}</h4>
76 <textarea id="contact-edit-info" rows="8" cols="60" name="info">{{$info}}</textarea>
78 <div id="contact-edit-info-end"></div>
81 <div id="contact-info-wrapper">
82 <h4>{{$lbl_info2}}</h4>
85 <div id="contact-info-end"></div>
89 <input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" />
91 <div class="contact-edit-submit-end clearfix"></div>
93 </form>{{* End of the form *}}
94 </div>{{* End of contact-edit-nav-wrapper *}}