2024-08-24 18:23:27 +00:00
|
|
|
{{*
|
|
|
|
* Copyright (C) 2010-2024, the Friendica project
|
|
|
|
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*}}
|
2018-01-05 07:17:36 +00:00
|
|
|
<div class="generic-page-wrapper">
|
2022-11-05 03:47:42 +00:00
|
|
|
{{include file="section_title.tpl" title=$title}}
|
2018-01-05 07:17:36 +00:00
|
|
|
|
|
|
|
<p class="connector_statusmsg">{{$diasp_enabled}}</p>
|
|
|
|
<p class="connector_statusmsg">{{$ostat_enabled}}</p>
|
|
|
|
|
2021-11-21 23:49:07 +00:00
|
|
|
<div class="panel-group panel-group-settings" id="settings-connectors" role="tablist" aria-multiselectable="true">
|
|
|
|
|
|
|
|
<form action="settings/connectors" method="post" autocomplete="off" class="panel">
|
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
|
|
|
|
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="content-settings-title">
|
|
|
|
<h2>
|
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings-connectors" href="#content-settings-content" aria-expanded="false" aria-controls="content-settings-content">
|
|
|
|
{{$general_settings}}
|
|
|
|
</button>
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<div id="content-settings-content" class="panel-collapse collapse" role="tabpanel" aria-labelledby="content-settings-title">
|
|
|
|
<div class="panel-body">
|
2022-02-15 20:40:18 +00:00
|
|
|
{{include file="field_select.tpl" field=$accept_only_sharer}}
|
2019-07-17 21:37:13 +00:00
|
|
|
|
2021-11-21 23:49:07 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$enable_cw}}
|
2018-12-14 03:35:51 +00:00
|
|
|
|
2021-11-21 23:49:07 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$enable_smart_shortening}}
|
2018-12-14 03:35:51 +00:00
|
|
|
|
2021-11-21 23:49:07 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$simple_shortening}}
|
2021-07-12 14:11:51 +00:00
|
|
|
|
2021-11-21 23:49:07 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$attach_link_title}}
|
2019-11-19 12:59:21 +00:00
|
|
|
|
2023-01-22 17:10:31 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$api_spoiler_title}}
|
|
|
|
|
2023-03-13 21:30:20 +00:00
|
|
|
{{include file="field_checkbox.tpl" field=$api_auto_attach}}
|
|
|
|
|
2024-06-01 08:12:26 +00:00
|
|
|
{{include file="field_select.tpl" field=$article_mode}}
|
|
|
|
|
|
|
|
{{include file="field_input.tpl" field=$legacy_contact}}
|
2021-11-21 23:49:07 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
|
|
|
<button type="submit" id="general-submit" name="general-submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
2018-01-05 07:17:36 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-11-21 23:49:07 +00:00
|
|
|
</form>
|
2018-01-05 07:17:36 +00:00
|
|
|
|
2021-11-21 23:49:07 +00:00
|
|
|
<form action="settings/connectors" method="post" autocomplete="off" class="panel">
|
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
|
|
|
|
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="mail-settings-title">
|
|
|
|
<h2>
|
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings-connectors" href="#mail-settings-content" aria-expanded="false" aria-controls="mail-settings-content">
|
|
|
|
<img class="connector" src="images/mail.png" /> {{$h_mail}}
|
|
|
|
</button>
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<div id="mail-settings-content" class="panel-collapse collapse" role="tabpanel" aria-labelledby="mail-settings-title">
|
|
|
|
<div class="panel-body">
|
2022-11-05 03:47:42 +00:00
|
|
|
{{if $mail_disabled}}
|
|
|
|
<p>{{$mail_disabled}}</p>
|
|
|
|
{{else}}
|
2021-11-21 23:49:07 +00:00
|
|
|
<p>{{$mail_desc nofilter}}</p>
|
|
|
|
|
|
|
|
{{include file="field_custom.tpl" field=$mail_lastcheck}}
|
|
|
|
{{include file="field_input.tpl" field=$mail_server}}
|
|
|
|
{{include file="field_input.tpl" field=$mail_port}}
|
|
|
|
{{include file="field_select.tpl" field=$mail_ssl}}
|
|
|
|
{{include file="field_input.tpl" field=$mail_user}}
|
|
|
|
{{include file="field_password.tpl" field=$mail_pass}}
|
|
|
|
{{include file="field_input.tpl" field=$mail_replyto}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$mail_pubmail}}
|
|
|
|
{{include file="field_select.tpl" field=$mail_action}}
|
|
|
|
{{include file="field_input.tpl" field=$mail_movetofolder}}
|
|
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
|
|
|
<button type="submit" id="mail-submit" name="mail-submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
2022-11-05 03:47:42 +00:00
|
|
|
{{/if}}
|
2021-11-21 23:49:07 +00:00
|
|
|
</div>
|
2018-12-14 03:28:12 +00:00
|
|
|
</div>
|
2021-11-21 23:49:07 +00:00
|
|
|
</form>
|
2018-01-05 07:17:36 +00:00
|
|
|
|
2021-11-21 23:49:07 +00:00
|
|
|
{{foreach $connector_settings_forms as $addon => $connector_settings_form}}
|
|
|
|
<form action="settings/connectors/{{$addon}}" method="post" autocomplete="off" class="panel">
|
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
2022-11-05 03:47:42 +00:00
|
|
|
{{$connector_settings_form nofilter}}
|
2021-11-21 23:49:07 +00:00
|
|
|
</form>
|
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
2018-03-14 00:27:15 +00:00
|
|
|
</div>
|