2016-02-08 23:15:20 +01:00
|
|
|
|
2021-05-19 23:47:15 +02:00
|
|
|
<div id="contact-edit-wrapper">
|
2016-02-08 23:15:20 +01:00
|
|
|
|
|
|
|
{{* Insert Tab-Nav *}}
|
2018-12-14 04:35:51 +01:00
|
|
|
{{$tab_str nofilter}}
|
2016-02-08 23:15:20 +01:00
|
|
|
|
|
|
|
|
2021-05-19 23:47:15 +02:00
|
|
|
<div id="contact-edit-nav-wrapper">
|
|
|
|
<form action="contact/{{$contact_id}}" method="post">
|
2016-04-20 15:37:34 +02: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" id="contact-edit-actions-button">{{$contact_action_button}}</a>
|
|
|
|
|
2021-05-19 23:47:15 +02:00
|
|
|
<ul role="menu" aria-haspopup="true" id="contact-actions-menu" class="menu-popup">
|
2022-11-05 23:15:25 +01:00
|
|
|
{{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}}
|
|
|
|
{{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}}
|
2022-11-05 23:15:00 +01:00
|
|
|
{{if $lblsuggest}}<li role="menuitem"><a href="{{$contact_actions.suggest.url}}" title="{{$contact_actions.suggest.title}}">{{$contact_actions.suggest.label}}</a></li>{{/if}}
|
|
|
|
{{if $poll_enabled}}<li role="menuitem"><a href="{{$contact_actions.update.url}}" title="{{$contact_actions.update.title}}">{{$contact_actions.update.label}}</a></li>{{/if}}
|
2020-11-22 09:15:17 +01:00
|
|
|
{{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}}
|
2016-04-20 15:37:34 +02:00
|
|
|
<li class="divider"></li>
|
2021-10-02 17:44:47 +02:00
|
|
|
<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>
|
|
|
|
{{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}}
|
2016-04-20 15:37:34 +02: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 14:39:26 +01:00
|
|
|
<span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval nofilter}}
|
2016-04-20 15:37:34 +02: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 03:31:26 +01: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 15:37:34 +02: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 23:15:20 +01:00
|
|
|
</ul>
|
2016-04-20 15:37:34 +02:00
|
|
|
</div> {{* End of contact-edit-status-wrapper *}}
|
2016-02-08 23:15:20 +01:00
|
|
|
|
2016-04-20 15:37:34 +02:00
|
|
|
{{* Some information about the contact from the profile *}}
|
2021-09-14 23:39:03 +02:00
|
|
|
<dl><dt>{{$profileurllabel}}</dt><dd><a target="blank" href="{{$profileurl}}">{{$profileurl}}</a></dd></dl>
|
2019-01-06 22:04:10 +01:00
|
|
|
{{if $location}}<dl><dt>{{$location_label}}</dt><dd>{{$location nofilter}}</dd></dl>{{/if}}
|
2016-09-25 17:28:00 +02:00
|
|
|
{{if $xmpp}}<dl><dt>{{$xmpp_label}}</dt><dd>{{$xmpp}}</dd></dl>{{/if}}
|
2021-08-09 03:39:09 +02:00
|
|
|
{{if $matrix}}<dl><dt>{{$matrix_label}}</dt><dd>{{$matrix}}</dd></dl>{{/if}}
|
2016-04-20 15:37:34 +02:00
|
|
|
{{if $keywords}}<dl><dt>{{$keywords_label}}</dt><dd>{{$keywords}}</dd></dl>{{/if}}
|
2018-12-14 04:35:51 +01:00
|
|
|
{{if $about}}<dl><dt>{{$about_label}}</dt><dd>{{$about nofilter}}</dd></dl>{{/if}}
|
2016-04-20 15:37:34 +02:00
|
|
|
</div>{{* End of contact-edit-links *}}
|
|
|
|
|
|
|
|
<div id="contact-edit-links-end"></div>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
2018-08-25 15:48:00 +02:00
|
|
|
{{if $contact_settings_label}}
|
2016-04-20 15:37:34 +02: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}}">
|
|
|
|
|
2021-05-19 23:47:15 +02:00
|
|
|
<div id="contact-edit-end"></div>
|
2021-11-27 13:48:05 +01:00
|
|
|
{{include file="field_checkbox.tpl" field=$notify_new_posts}}
|
2016-04-20 15:37:34 +02:00
|
|
|
{{if $fetch_further_information}}
|
|
|
|
{{include file="field_select.tpl" field=$fetch_further_information}}
|
2020-06-06 22:43:23 +02:00
|
|
|
{{if $fetch_further_information.2 == 2 || $fetch_further_information.2 == 3}} {{include file="field_textarea.tpl" field=$ffi_keyword_denylist}} {{/if}}
|
2016-02-08 23:15:20 +01:00
|
|
|
{{/if}}
|
2020-10-24 23:42:49 +02:00
|
|
|
{{if $allow_remote_self}}
|
|
|
|
{{include file="field_select.tpl" field=$remote_self}}
|
|
|
|
{{/if}}
|
|
|
|
|
2016-04-20 15:37:34 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$hidden}}
|
2016-02-08 23:15:20 +01:00
|
|
|
|
2016-04-20 15:37:34 +02: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>
|
|
|
|
|
2018-04-12 10:33:28 +02:00
|
|
|
{{if $reason}}
|
|
|
|
<div id="contact-info-wrapper">
|
|
|
|
<h4>{{$lbl_info2}}</h4>
|
|
|
|
<p>{{$reason}}</p>
|
|
|
|
</div>
|
|
|
|
<div id="contact-info-end"></div>
|
|
|
|
{{/if}}
|
2016-02-08 23:15:20 +01:00
|
|
|
</div>
|
2018-12-14 04:28:12 +01:00
|
|
|
<input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" />
|
2018-08-25 15:48:00 +02:00
|
|
|
{{/if}}
|
2016-04-20 15:37:34 +02:00
|
|
|
|
|
|
|
<div class="contact-edit-submit-end clearfix"></div>
|
|
|
|
|
|
|
|
</form>{{* End of the form *}}
|
2016-02-08 23:15:20 +01:00
|
|
|
</div>{{* End of contact-edit-nav-wrapper *}}
|
|
|
|
</div>
|