2013-04-23 11:47:57 +00:00
|
|
|
<div id="contact-edit-wrapper" >
|
|
|
|
|
2016-02-08 22:15:20 +00:00
|
|
|
{{* Insert Tab-Nav *}}
|
2018-12-14 03:35:51 +00:00
|
|
|
{{$tab_str nofilter}}
|
2013-04-23 11:47:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
<div id="contact-edit-nav-wrapper" >
|
2018-10-17 11:25:23 +00:00
|
|
|
<form action="contact/{{$contact_id}}" method="post" >
|
2016-04-20 13:37:34 +00:00
|
|
|
<div id="contact-edit-links">
|
|
|
|
<div id="contact-edit-status-wrapper">
|
|
|
|
<span id="contact-edit-contact-status">{{$contact_status}}</span>
|
|
|
|
|
|
|
|
{{* This is the Action menu where contact related actions like 'ignore', 'hide' can be performed *}}
|
|
|
|
<div id="contact-edit-actions">
|
|
|
|
<a class="btn" rel="#contact-actions-menu" href="#" id="contact-edit-actions-button">{{$contact_action_button}}</a>
|
|
|
|
|
|
|
|
<ul role="menu" aria-haspopup="true" id="contact-actions-menu" class="menu-popup" >
|
|
|
|
{{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}}
|
|
|
|
{{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}}
|
|
|
|
<li class="divider"></li>
|
|
|
|
<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>
|
|
|
|
<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>
|
2018-08-25 13:48:00 +00:00
|
|
|
{{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}}
|
|
|
|
{{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}}
|
2016-04-20 13:37:34 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{* Block with status information about the contact *}}
|
|
|
|
<ul>
|
|
|
|
{{if $relation_text}}<li><div id="contact-edit-rel">{{$relation_text}}</div></li>{{/if}}
|
|
|
|
|
|
|
|
{{if $poll_enabled}}
|
|
|
|
<li><div id="contact-edit-last-update-text">{{$lastupdtext}} <span id="contact-edit-last-updated">{{$last_update}}</span></div>
|
|
|
|
{{if $poll_interval}}
|
2018-12-18 13:39:26 +00:00
|
|
|
<span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval nofilter}}
|
2016-04-20 13:37:34 +00:00
|
|
|
{{/if}}
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{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}}
|
2017-11-26 02:31:26 +00:00
|
|
|
{{if $blocked && !$pending}}<li><div id="block-message">{{$blocked}}</div></li>{{/if}}
|
|
|
|
{{if $pending}}<li><div id="pending-message">{{$pending}}</div></li>{{/if}}
|
2016-04-20 13:37:34 +00:00
|
|
|
{{if $ignored}}<li><div id="ignore-message">{{$ignored}}</div></li>{{/if}}
|
|
|
|
{{if $archived}}<li><div id="archive-message">{{$archived}}</div></li>{{/if}}
|
2016-02-08 22:15:20 +00:00
|
|
|
</ul>
|
|
|
|
|
2016-04-20 13:37:34 +00:00
|
|
|
<ul>
|
2018-11-30 10:43:07 +00:00
|
|
|
<!-- <li><a href="network/?cid={{$contact_id}}" id="contact-edit-view-recent">{{$lblrecent}}</a></li> -->
|
2016-04-20 13:37:34 +00:00
|
|
|
{{if $follow}}<li><div id="contact-edit-follow"><a href="{{$follow}}">{{$follow_text}}</a></div></li>{{/if}}
|
|
|
|
</ul>
|
|
|
|
</div> {{* End of contact-edit-status-wrapper *}}
|
2016-02-08 22:15:20 +00:00
|
|
|
|
2016-04-20 13:37:34 +00:00
|
|
|
{{* Some information about the contact from the profile *}}
|
|
|
|
<dl><dt>{{$profileurllabel}}</dt><dd><a target="blank" href="{{$url}}">{{$profileurl}}</a></dd></dl>
|
|
|
|
{{if $location}}<dl><dt>{{$location_label}}</dt><dd>{{$location}}</dd></dl>{{/if}}
|
2016-09-25 15:28:00 +00:00
|
|
|
{{if $xmpp}}<dl><dt>{{$xmpp_label}}</dt><dd>{{$xmpp}}</dd></dl>{{/if}}
|
2016-04-20 13:37:34 +00:00
|
|
|
{{if $keywords}}<dl><dt>{{$keywords_label}}</dt><dd>{{$keywords}}</dd></dl>{{/if}}
|
2018-12-14 03:35:51 +00:00
|
|
|
{{if $about}}<dl><dt>{{$about_label}}</dt><dd>{{$about nofilter}}</dd></dl>{{/if}}
|
2016-04-20 13:37:34 +00:00
|
|
|
</div>{{* End of contact-edit-links *}}
|
|
|
|
|
|
|
|
<div id="contact-edit-links-end"></div>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
2018-08-25 13:48:00 +00:00
|
|
|
{{if $contact_settings_label}}
|
2016-04-20 13:37:34 +00:00
|
|
|
<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}}
|
2017-11-25 11:59:20 +00:00
|
|
|
{{if $fetch_further_information.2 == 2 || $fetch_further_information.2 == 3}} {{include file="field_textarea.tpl" field=$ffi_keyword_blacklist}} {{/if}}
|
2016-02-08 22:15:20 +00:00
|
|
|
{{/if}}
|
2016-04-20 13:37:34 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$hidden}}
|
2016-02-08 22:15:20 +00:00
|
|
|
|
2016-04-20 13:37:34 +00:00
|
|
|
<div id="contact-edit-info-wrapper">
|
|
|
|
<h4>{{$lbl_info1}}</h4>
|
|
|
|
<textarea id="contact-edit-info" rows="8" cols="60" name="info">{{$info}}</textarea>
|
|
|
|
</div>
|
|
|
|
<div id="contact-edit-info-end"></div>
|
|
|
|
|
2017-08-01 15:47:13 +00:00
|
|
|
{{if $reason}}
|
|
|
|
<div id="contact-info-wrapper">
|
|
|
|
<h4>{{$lbl_info2}}</h4>
|
|
|
|
<p>{{$reason}}</p>
|
|
|
|
</div>
|
|
|
|
<div id="contact-info-end"></div>
|
|
|
|
{{/if}}
|
|
|
|
|
2016-04-20 13:37:34 +00:00
|
|
|
{{if $profile_select}}
|
|
|
|
<div id="contact-edit-profile-select-text">
|
|
|
|
<h4>{{$lbl_vis1}}</h4>
|
|
|
|
<p>{{$lbl_vis2}}</p>
|
|
|
|
</div>
|
2019-01-01 16:45:36 +00:00
|
|
|
{{$profile_select nofilter}}
|
2016-04-20 13:37:34 +00:00
|
|
|
<div id="contact-edit-profile-select-end"></div>
|
2016-02-08 22:15:20 +00:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
2018-12-14 03:28:12 +00:00
|
|
|
<input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" />
|
2018-08-25 13:48:00 +00:00
|
|
|
{{/if}}
|
2016-04-20 13:37:34 +00:00
|
|
|
<div class="contact-edit-submit-end clearfix"></div>
|
|
|
|
|
|
|
|
</form>{{* End of the form *}}
|
2016-02-08 22:15:20 +00:00
|
|
|
</div>{{* End of contact-edit-nav-wrapper *}}
|
2013-04-23 11:47:57 +00:00
|
|
|
</div>
|