]> git.mxchange.org Git - friendica.git/blob - view/theme/vier/templates/contact_edit.tpl
Rename contact table column to ffi_keyword_denylist
[friendica.git] / view / theme / vier / templates / contact_edit.tpl
1
2 <div id="contact-edit-wrapper" >
3
4         {{* Insert Tab-Nav *}}
5         {{$tab_str nofilter}}
6
7
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>
13
14                                         {{* This is the Action menu where contact related actions like 'ignore', 'hide' can be performed *}}
15                                         <div id="contact-edit-actions">
16                                                 <a class="btn" id="contact-edit-actions-button">{{$contact_action_button}}</a>
17
18                                                 <ul role="menu" aria-haspopup="true" id="contact-actions-menu" class="menu-popup" >
19                                                         {{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}}
20                                                         {{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}}
21                                                         <li class="divider"></li>
22                                                         <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>
23                                                         <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>
24                                                         {{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}}
25                                                         {{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}}
26                                                 </ul>
27                                         </div>
28
29                                         {{* Block with status information about the contact *}}
30                                         <ul>
31                                                 {{if $relation_text}}<li><div id="contact-edit-rel">{{$relation_text}}</div></li>{{/if}}
32
33                                                 {{if $poll_enabled}}
34                                                         <li><div id="contact-edit-last-update-text">{{$lastupdtext}} <span id="contact-edit-last-updated">{{$last_update}}</span></div>
35                                                         {{if $poll_interval}}
36                                                                 <span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval nofilter}}
37                                                         {{/if}}
38                                                         </li>
39                                                 {{/if}}
40
41                                                 {{if $lost_contact}}<li><div id="lost-contact-message">{{$lost_contact}}</div></li>{{/if}}
42                                                 {{if $insecure}}<li><div id="insecure-message">{{$insecure}}</div></li> {{/if}}
43                                                 {{if $blocked && !$pending}}<li><div id="block-message">{{$blocked}}</div></li>{{/if}}
44                                                 {{if $pending}}<li><div id="pending-message">{{$pending}}</div></li>{{/if}}
45                                                 {{if $ignored}}<li><div id="ignore-message">{{$ignored}}</div></li>{{/if}}
46                                                 {{if $archived}}<li><div id="archive-message">{{$archived}}</div></li>{{/if}}
47                                         </ul>
48                                 </div> {{* End of contact-edit-status-wrapper *}}
49
50                                 {{* Some information about the contact from the profile *}}
51                                 <dl><dt>{{$profileurllabel}}</dt><dd><a target="blank" href="{{$url}}">{{$profileurl}}</a></dd></dl>
52                                 {{if $location}}<dl><dt>{{$location_label}}</dt><dd>{{$location nofilter}}</dd></dl>{{/if}}
53                                 {{if $xmpp}}<dl><dt>{{$xmpp_label}}</dt><dd>{{$xmpp}}</dd></dl>{{/if}}
54                                 {{if $keywords}}<dl><dt>{{$keywords_label}}</dt><dd>{{$keywords}}</dd></dl>{{/if}}
55                                 {{if $about}}<dl><dt>{{$about_label}}</dt><dd>{{$about nofilter}}</dd></dl>{{/if}}
56                         </div>{{* End of contact-edit-links *}}
57
58                         <div id="contact-edit-links-end"></div>
59
60                         <hr />
61
62                         {{if $contact_settings_label}}
63                         <h4 id="contact-edit-settings-label" class="fakelink" onclick="openClose('contact-edit-settings')">{{$contact_settings_label}}</h4>
64                         <div id="contact-edit-settings">
65                                 <input type="hidden" name="contact_id" value="{{$contact_id}}">
66
67                                         <div id="contact-edit-end" ></div>
68                                         {{include file="field_checkbox.tpl" field=$notify}}
69                                         {{if $fetch_further_information}}
70                                                 {{include file="field_select.tpl" field=$fetch_further_information}}
71                                                 {{if $fetch_further_information.2 == 2 || $fetch_further_information.2 == 3}} {{include file="field_textarea.tpl" field=$ffi_keyword_denylist}} {{/if}}
72                                         {{/if}}
73                                         {{include file="field_checkbox.tpl" field=$hidden}}
74
75                                 <div id="contact-edit-info-wrapper">
76                                         <h4>{{$lbl_info1}}</h4>
77                                         <textarea id="contact-edit-info" rows="8" cols="60" name="info">{{$info}}</textarea>
78                                 </div>
79                                 <div id="contact-edit-info-end"></div>
80
81                                 {{if $reason}}
82                                 <div id="contact-info-wrapper">
83                                         <h4>{{$lbl_info2}}</h4>
84                                         <p>{{$reason}}</p>
85                                 </div>
86                                 <div id="contact-info-end"></div>
87                                 {{/if}}
88                         </div>
89                         <input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" />
90                         {{/if}}
91
92                         <div class="contact-edit-submit-end clearfix"></div>
93
94                 </form>{{* End of the form *}}
95         </div>{{* End of contact-edit-nav-wrapper *}}
96 </div>