]> git.mxchange.org Git - friendica.git/blob - view/templates/settings/connectors.tpl
Merge branch '2021.03-rc' into copyright-2021
[friendica.git] / view / templates / settings / connectors.tpl
1 <h1>{{$title}}</h1>
2
3 <div class="connector_statusmsg">{{$diasp_enabled}}</div>
4 <div class="connector_statusmsg">{{$ostat_enabled}}</div>
5
6 <form action="settings/connectors" method="post" autocomplete="off">
7         <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
8         <h2 class="settings-heading">
9                 <a onclick="openClose('settings_general_expanded'); openClose('settings_general_inflated');">{{$general_settings}}</a>
10         </h2>
11
12         <div id="settings_general_expanded" class="settings-block" style="display: none;">
13
14                 {{include file="field_checkbox.tpl" field=$accept_only_sharer}}
15                 {{include file="field_checkbox.tpl" field=$disable_cw}}
16                 {{include file="field_checkbox.tpl" field=$no_intelligent_shortening}}
17                 {{include file="field_checkbox.tpl" field=$attach_link_title}}
18                 {{include file="field_checkbox.tpl" field=$ostatus_autofriend}}
19                 {{$default_group nofilter}}
20                 {{include file="field_input.tpl" field=$legacy_contact}}
21
22                 <p><a href="{{$repair_ostatus_url}}">{{$repair_ostatus_text}}</a></p>
23
24                 <div class="settings-submit-wrapper">
25                         <input type="submit" id="general-submit" name="general-submit" class="settings-submit" value="{{$submit}}"/>
26                 </div>
27         </div>
28         <div class="clear"></div>
29
30         {{$settings_connectors nofilter}}
31
32         {{if $mail_disabled}}
33
34         {{else}}
35                 <span id="settings_mail_inflated" class="settings-block fakelink" style="display: block;"
36                       onclick="openClose('settings_mail_expanded'); openClose('settings_mail_inflated');">
37                 <img class="connector" src="images/mail.png"/><h3 class="settings-heading connector">{{$h_imap}}</h3>
38         </span>
39                 <div id="settings_mail_expanded" class="settings-block" style="display: none;">
40         <span class="fakelink" onclick="openClose('settings_mail_expanded'); openClose('settings_mail_inflated');">
41                 <img class="connector" src="images/mail.png"/><h3 class="settings-heading connector">{{$h_imap}}</h3>
42         </span>
43                         <p>{{$imap_desc nofilter}}</p>
44                         {{include file="field_custom.tpl" field=$imap_lastcheck}}
45                         {{include file="field_input.tpl" field=$mail_server}}
46                         {{include file="field_input.tpl" field=$mail_port}}
47                         {{include file="field_select.tpl" field=$mail_ssl}}
48                         {{include file="field_input.tpl" field=$mail_user}}
49                         {{include file="field_password.tpl" field=$mail_pass}}
50                         {{include file="field_input.tpl" field=$mail_replyto}}
51                         {{include file="field_checkbox.tpl" field=$mail_pubmail}}
52                         {{include file="field_select.tpl" field=$mail_action}}
53                         {{include file="field_input.tpl" field=$mail_movetofolder}}
54
55                         <div class="settings-submit-wrapper">
56                                 <input type="submit" id="imap-submit" name="imap-submit" class="settings-submit" value="{{$submit}}"/>
57                         </div>
58                 </div>
59         {{/if}}
60 </form>