2018-11-21 17:27:10 +01:00
|
|
|
<script>
|
2018-11-21 19:15:59 +01:00
|
|
|
$(function(){
|
|
|
|
$(".collapse").on('show.bs.collapse', function(e) {
|
2018-11-24 00:44:11 +01:00
|
|
|
var id = $(e.target).attr('id');
|
|
|
|
$("input[name=active_panel]").val(id);
|
2018-11-21 19:15:59 +01:00
|
|
|
});
|
2018-11-24 00:44:11 +01:00
|
|
|
var url = document.location.toString();
|
|
|
|
if ( url.match('#') ) {
|
|
|
|
var element = '#'+url.split('#')[1];
|
|
|
|
$(element).addClass('in');
|
|
|
|
window.scroll(0, $(element).offset().top - 120);
|
2018-11-21 19:15:59 +01:00
|
|
|
}
|
2019-04-26 15:22:08 +02:00
|
|
|
|
|
|
|
$("#cnftheme").click(function(){
|
|
|
|
document.location.assign("{{$baseurl}}/admin/themes/" + $("#id_theme :selected").val());
|
|
|
|
return false;
|
|
|
|
});
|
2018-11-21 19:15:59 +01:00
|
|
|
});
|
2018-11-21 17:27:10 +01:00
|
|
|
</script>
|
2020-02-01 01:42:02 +01:00
|
|
|
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{$smarty.const.FRIENDICA_VERSION}}" type="text/css" media="screen"/>
|
2018-11-21 17:27:10 +01:00
|
|
|
|
2020-04-01 23:22:46 +02:00
|
|
|
<div id="adminpage" class="adminpage generic-page-wrapper">
|
2018-12-14 04:28:12 +01:00
|
|
|
<h1>{{$title}} - {{$page}}</h1>
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="panel-group panel-group-settings" id="admin-settings" role="tablist" aria-multiselectable="true">
|
|
|
|
<form action="{{$baseurl}}/admin/site" method="post">
|
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
|
|
|
<input type="hidden" name="active_panel" value="">
|
2020-12-18 04:52:30 +01:00
|
|
|
{{* General Information *}}
|
2018-11-21 17:27:10 +01:00
|
|
|
<div class="panel">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="admin-settings-general">
|
|
|
|
<h2>
|
2021-11-20 08:16:30 +01:00
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-general-collapse" aria-expanded="false" aria-controls="admin-settings-general-collapse">
|
2020-12-18 04:52:30 +01:00
|
|
|
{{$general_info}}
|
2021-11-20 08:16:30 +01:00
|
|
|
</button>
|
2020-04-01 23:22:46 +02:00
|
|
|
</h2>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
<div id="admin-settings-general-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-general">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="panel-body">
|
|
|
|
{{include file="field_input.tpl" field=$sitename}}
|
|
|
|
{{include file="field_input.tpl" field=$sender_email}}
|
2020-08-22 16:48:09 +02:00
|
|
|
{{include file="field_input.tpl" field=$system_actor_name}}
|
2020-04-01 23:22:46 +02:00
|
|
|
{{include file="field_input.tpl" field=$shortcut_icon}}
|
|
|
|
{{include file="field_input.tpl" field=$touch_icon}}
|
|
|
|
{{include file="field_textarea.tpl" field=$additional_info}}
|
|
|
|
{{include file="field_select.tpl" field=$language}}
|
|
|
|
{{include file="field_select.tpl" field=$theme}}
|
|
|
|
{{include file="field_select.tpl" field=$theme_mobile}}
|
2023-02-18 21:19:57 +01:00
|
|
|
{{include file="field_checkbox.tpl" field=$force_ssl}}
|
2021-08-31 21:26:17 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$show_help}}
|
2020-04-01 23:22:46 +02:00
|
|
|
{{include file="field_select.tpl" field=$singleuser}}
|
|
|
|
</div>
|
2018-11-21 17:27:10 +01:00
|
|
|
<div class="panel-footer">
|
2018-12-14 04:28:12 +01:00
|
|
|
<input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}"/>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
* Registration
|
|
|
|
*/ -->
|
|
|
|
<div class="panel">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="admin-settings-registration">
|
|
|
|
<h2>
|
2021-11-20 08:16:30 +01:00
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-registration-collapse" aria-expanded="false" aria-controls="admin-settings-registration-collapse">
|
2018-11-21 17:27:10 +01:00
|
|
|
{{$registration}}
|
2021-11-20 08:16:30 +01:00
|
|
|
</button>
|
2020-04-01 23:22:46 +02:00
|
|
|
</h2>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
<div id="admin-settings-registration-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-registration">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="panel-body">
|
2022-12-21 20:05:35 +01:00
|
|
|
{{include file="field_textarea.tpl" field=$register_text}}
|
2020-04-01 23:22:46 +02:00
|
|
|
{{include file="field_select.tpl" field=$register_policy}}
|
2023-03-21 22:44:26 +01:00
|
|
|
{{include file="field_input.tpl" field=$max_registered_users}}
|
2020-04-01 23:22:46 +02:00
|
|
|
{{include file="field_input.tpl" field=$daily_registrations}}
|
2021-08-31 21:26:17 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$enable_multi_reg}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$enable_openid}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$enable_regfullname}}
|
2022-11-03 20:59:33 +01:00
|
|
|
{{include file="field_checkbox.tpl" field=$register_notification}}
|
2020-04-01 23:22:46 +02:00
|
|
|
</div>
|
2018-11-21 17:27:10 +01:00
|
|
|
<div class="panel-footer">
|
2018-12-14 04:28:12 +01:00
|
|
|
<input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}"/>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
* File upload
|
|
|
|
*/ -->
|
|
|
|
<div class="panel">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="admin-settings-upload">
|
|
|
|
<h2>
|
2021-11-20 08:16:30 +01:00
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-upload-collapse" aria-expanded="false" aria-controls="admin-settings-upload-collapse">
|
2018-11-21 17:27:10 +01:00
|
|
|
{{$upload}}
|
2021-11-20 08:16:30 +01:00
|
|
|
</button>
|
2020-04-01 23:22:46 +02:00
|
|
|
</h2>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
<div id="admin-settings-upload-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-upload">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="panel-body">
|
|
|
|
{{include file="field_input.tpl" field=$maximagesize}}
|
|
|
|
{{include file="field_input.tpl" field=$maximagelength}}
|
|
|
|
{{include file="field_input.tpl" field=$jpegimagequality}}
|
|
|
|
</div>
|
2018-11-21 17:27:10 +01:00
|
|
|
<div class="panel-footer">
|
2018-12-14 04:28:12 +01:00
|
|
|
<input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}"/>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
* Corporate
|
|
|
|
*/ -->
|
|
|
|
<div class="panel">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="admin-settings-corporate">
|
|
|
|
<h2>
|
2021-11-20 08:16:30 +01:00
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-corporate-collapse" aria-expanded="false" aria-controls="admin-settings-corporate-collapse">
|
2018-11-21 17:27:10 +01:00
|
|
|
{{$corporate}}
|
2021-11-20 08:16:30 +01:00
|
|
|
</button>
|
2020-04-01 23:22:46 +02:00
|
|
|
</h2>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
<div id="admin-settings-corporate-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-corporate">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="panel-body">
|
|
|
|
{{include file="field_input.tpl" field=$allowed_sites}}
|
|
|
|
{{include file="field_input.tpl" field=$allowed_email}}
|
|
|
|
{{include file="field_input.tpl" field=$forbidden_nicknames}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$no_oembed_rich_content}}
|
|
|
|
{{include file="field_input.tpl" field=$allowed_oembed}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$block_public}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$force_publish}}
|
|
|
|
{{include file="field_select.tpl" field=$community_page_style}}
|
|
|
|
{{include file="field_input.tpl" field=$max_author_posts_community_page}}
|
2018-11-21 17:27:10 +01:00
|
|
|
|
2021-08-30 23:17:03 +02:00
|
|
|
{{if $mail_able}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$mail_enabled}}
|
|
|
|
{{else}}
|
|
|
|
<div class="field checkbox" id="div_id_{{$mail_enabled.0}}">
|
|
|
|
<label for="id_{{$mail_enabled.0}}">{{$mail_enabled.1}}</label>
|
|
|
|
<span class="help-block" id="id_{{$mail_enabled.0}}" role="tooltip">{{$mail_not_able}}</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2021-08-30 21:46:10 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$ostatus_enabled}}
|
2018-11-21 17:27:10 +01:00
|
|
|
|
2020-04-01 23:22:46 +02:00
|
|
|
{{if $diaspora_able}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$diaspora_enabled}}
|
|
|
|
{{else}}
|
|
|
|
<div class="field checkbox" id="div_id_{{$diaspora_enabled.0}}">
|
|
|
|
<label for="id_{{$diaspora_enabled.0}}">{{$diaspora_enabled.1}}</label>
|
2021-08-30 23:17:03 +02:00
|
|
|
<span class="help-block" id="id_{{$diaspora_enabled.0}}" role="tooltip">{{$diaspora_not_able}}</span>
|
2020-04-01 23:22:46 +02:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{include file="field_input.tpl" field=$global_directory}}
|
|
|
|
<p>
|
|
|
|
<input type="submit" name="republish_directory" class="btn btn-primary" value="{{$republish}}"/>
|
|
|
|
</p>
|
|
|
|
{{include file="field_checkbox.tpl" field=$newuser_private}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$enotify_no_content}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$private_addons}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$disable_embedded}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$allow_users_remote_self}}
|
2023-11-28 01:57:51 +01:00
|
|
|
{{include file="field_checkbox.tpl" field=$adjust_poll_frequency}}
|
2020-04-01 23:22:46 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$explicit_content}}
|
2021-09-09 14:40:19 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$proxify_content}}
|
2023-11-28 01:57:51 +01:00
|
|
|
{{include file="field_checkbox.tpl" field=$local_search}}
|
2023-12-03 14:43:48 +01:00
|
|
|
{{include file="field_input.tpl" field=$blocked_tags}}
|
|
|
|
</div>
|
2018-11-21 17:27:10 +01:00
|
|
|
<div class="panel-footer">
|
2018-12-14 04:28:12 +01:00
|
|
|
<input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}"/>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
* Corporate
|
|
|
|
*/ -->
|
|
|
|
<div class="panel">
|
2023-03-22 04:07:09 +01:00
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="admin-settings-advanced">
|
2020-04-01 23:22:46 +02:00
|
|
|
<h2>
|
2021-11-20 08:16:30 +01:00
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-advanced-collapse" aria-expanded="false" aria-controls="admin-settings-advanced-collapse">
|
2018-11-21 17:27:10 +01:00
|
|
|
{{$advanced}}
|
2021-11-20 08:16:30 +01:00
|
|
|
</button>
|
2020-04-01 23:22:46 +02:00
|
|
|
</h2>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
<div id="admin-settings-advanced-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-advanced">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="panel-body">
|
|
|
|
{{include file="field_checkbox.tpl" field=$verifyssl}}
|
|
|
|
{{include file="field_input.tpl" field=$proxy}}
|
|
|
|
{{include file="field_input.tpl" field=$proxyuser}}
|
|
|
|
{{include file="field_input.tpl" field=$timeout}}
|
|
|
|
{{include file="field_input.tpl" field=$abandon_days}}
|
|
|
|
{{include file="field_input.tpl" field=$temppath}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$suppress_tags}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$nodeinfo}}
|
|
|
|
{{include file="field_select.tpl" field=$check_new_version_url}}
|
|
|
|
</div>
|
2018-11-21 17:27:10 +01:00
|
|
|
<div class="panel-footer">
|
2018-12-14 04:28:12 +01:00
|
|
|
<input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}"/>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
* Contact Directory
|
|
|
|
*/ -->
|
|
|
|
<div class="panel">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="admin-settings-contacts">
|
|
|
|
<h2>
|
2021-11-20 08:16:30 +01:00
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-contacts-collapse" aria-expanded="false" aria-controls="admin-settings-contacts-collapse">
|
2018-11-21 17:27:10 +01:00
|
|
|
{{$portable_contacts}}
|
2021-11-20 08:16:30 +01:00
|
|
|
</button>
|
2020-04-01 23:22:46 +02:00
|
|
|
</h2>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
<div id="admin-settings-contacts-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-cocontactsrporate">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="panel-body">
|
2020-07-26 09:34:33 +02:00
|
|
|
{{include file="field_select.tpl" field=$contact_discovery}}
|
2023-11-27 20:00:12 +01:00
|
|
|
{{include file="field_checkbox.tpl" field=$update_active_contacts}}
|
2020-07-31 11:08:51 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$synchronize_directory}}
|
2020-08-01 18:15:18 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$poco_discovery}}
|
2020-04-01 23:22:46 +02:00
|
|
|
{{include file="field_input.tpl" field=$poco_requery_days}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$poco_local_search}}
|
|
|
|
</div>
|
2018-11-21 17:27:10 +01:00
|
|
|
<div class="panel-footer">
|
2018-12-14 04:28:12 +01:00
|
|
|
<input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}"/>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
* Performance
|
|
|
|
*/ -->
|
|
|
|
<div class="panel">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="admin-settings-performance">
|
|
|
|
<h2>
|
2021-11-20 08:16:30 +01:00
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-performance-collapse" aria-expanded="false" aria-controls="admin-settings-performance-collapse">
|
2018-11-21 17:27:10 +01:00
|
|
|
{{$performance}}
|
2021-11-20 08:16:30 +01:00
|
|
|
</button>
|
2020-04-01 23:22:46 +02:00
|
|
|
</h2>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
<div id="admin-settings-performance-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-performance">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="panel-body">
|
2023-05-14 01:54:35 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$compute_circle_counts}}
|
2020-04-01 23:22:46 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$only_tag_search}}
|
|
|
|
{{include file="field_input.tpl" field=$max_comments}}
|
2020-06-16 08:49:53 +02:00
|
|
|
{{include file="field_input.tpl" field=$max_display_comments}}
|
2023-12-03 15:30:40 +01:00
|
|
|
{{include file="field_input.tpl" field=$itemspage_network}}
|
|
|
|
{{include file="field_input.tpl" field=$itemspage_network_mobile}}
|
2020-04-01 23:22:46 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$dbclean}}
|
|
|
|
{{include file="field_input.tpl" field=$dbclean_expire_days}}
|
|
|
|
{{include file="field_input.tpl" field=$dbclean_unclaimed}}
|
|
|
|
{{include file="field_input.tpl" field=$dbclean_expire_conv}}
|
2020-08-04 14:24:24 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$optimize_tables}}
|
2021-10-23 19:18:30 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$cache_contact_avatar}}
|
2023-12-03 12:08:21 +01:00
|
|
|
{{include file="field_input.tpl" field=$min_poll_interval}}
|
2023-12-03 12:20:37 +01:00
|
|
|
{{include file="field_input.tpl" field=$cron_interval}}
|
2023-12-03 14:43:48 +01:00
|
|
|
{{include file="field_checkbox.tpl" field=$process_view}}
|
|
|
|
{{include file="field_input.tpl" field=$archival_days}}
|
2020-04-01 23:22:46 +02:00
|
|
|
</div>
|
2018-11-21 17:27:10 +01:00
|
|
|
<div class="panel-footer">
|
2018-12-14 04:28:12 +01:00
|
|
|
<input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}"/>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
* Worker
|
|
|
|
*/ -->
|
|
|
|
<div class="panel">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="admin-settings-worker">
|
|
|
|
<h2>
|
2021-11-20 08:16:30 +01:00
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-worker-collapse" aria-expanded="false" aria-controls="admin-settings-worker-collapse">
|
2018-12-14 04:28:12 +01:00
|
|
|
{{$worker_title}}
|
2021-11-20 08:16:30 +01:00
|
|
|
</button>
|
2020-04-01 23:22:46 +02:00
|
|
|
</h2>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
<div id="admin-settings-worker-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-worker">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="panel-body">
|
|
|
|
{{include file="field_input.tpl" field=$maxloadavg}}
|
|
|
|
{{include file="field_input.tpl" field=$min_memory}}
|
|
|
|
{{include file="field_input.tpl" field=$worker_queues}}
|
2023-11-28 01:57:51 +01:00
|
|
|
{{include file="field_input.tpl" field=$worker_load_cooldown}}
|
2020-04-01 23:22:46 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$worker_fastlane}}
|
2023-11-28 01:57:51 +01:00
|
|
|
{{include file="field_checkbox.tpl" field=$decoupled_receiver}}
|
2023-12-03 14:43:48 +01:00
|
|
|
{{include file="field_input.tpl" field=$worker_defer_limit}}
|
2020-04-01 23:22:46 +02:00
|
|
|
</div>
|
2018-11-21 17:27:10 +01:00
|
|
|
<div class="panel-footer">
|
2018-12-14 04:28:12 +01:00
|
|
|
<input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}"/>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
* Relay
|
|
|
|
*/ -->
|
|
|
|
<div class="panel">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="admin-relay-corporate">
|
|
|
|
<h2>
|
2021-11-20 08:16:30 +01:00
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-relay-collapse" aria-expanded="false" aria-controls="admin-settings-relay-collapse">
|
2018-12-14 04:28:12 +01:00
|
|
|
{{$relay_title}}
|
2021-11-20 08:16:30 +01:00
|
|
|
</button>
|
2020-04-01 23:22:46 +02:00
|
|
|
</h2>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
<div id="admin-settings-relay-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-relay">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="panel-body">
|
2021-06-13 13:15:04 +02:00
|
|
|
{{if $relay_list}}
|
|
|
|
<p>{{$relay_list_title}}</p>
|
|
|
|
<ul id="relay-list">
|
|
|
|
{{foreach $relay_list as $relay}}
|
|
|
|
<li>{{$relay.url}}</li>
|
|
|
|
{{/foreach}}
|
|
|
|
</ul>
|
|
|
|
{{else}}
|
|
|
|
<p>{{$no_relay_list}}</p>
|
|
|
|
{{/if}}
|
|
|
|
<p>{{$relay_description}}</p>
|
2020-04-01 23:22:46 +02:00
|
|
|
{{include file="field_select.tpl" field=$relay_scope}}
|
|
|
|
{{include file="field_input.tpl" field=$relay_server_tags}}
|
2020-09-29 21:48:26 +02:00
|
|
|
{{include file="field_input.tpl" field=$relay_deny_tags}}
|
2020-04-01 23:22:46 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$relay_user_tags}}
|
2021-06-13 13:15:04 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$relay_directly}}
|
2023-12-03 10:45:13 +01:00
|
|
|
{{include file="field_checkbox.tpl" field=$relay_deny_undetected_language}}
|
|
|
|
{{include file="field_input.tpl" field=$relay_language_quality}}
|
|
|
|
{{include file="field_input.tpl" field=$relay_languages}}
|
|
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
|
|
|
<input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
* Channel
|
|
|
|
*/ -->
|
|
|
|
<div class="panel">
|
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="admin-channel">
|
|
|
|
<h2>
|
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-channel-collapse" aria-expanded="false" aria-controls="admin-settings-channel-collapse">
|
|
|
|
{{$channel_title}}
|
|
|
|
</button>
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<div id="admin-settings-channel-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-channel">
|
|
|
|
<div class="panel-body">
|
|
|
|
{{include file="field_input.tpl" field=$engagement_hours}}
|
|
|
|
{{include file="field_input.tpl" field=$engagement_post_limit}}
|
|
|
|
{{include file="field_input.tpl" field=$interaction_score_days}}
|
|
|
|
{{include file="field_input.tpl" field=$max_posts_per_author}}
|
|
|
|
{{include file="field_input.tpl" field=$sharer_interaction_days}}
|
2020-04-01 23:22:46 +02:00
|
|
|
</div>
|
2018-11-21 17:27:10 +01:00
|
|
|
<div class="panel-footer">
|
2018-12-14 04:28:12 +01:00
|
|
|
<input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}"/>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-04-01 23:22:46 +02:00
|
|
|
</form>
|
2018-11-21 17:27:10 +01:00
|
|
|
|
2022-05-29 19:14:31 +02:00
|
|
|
<div class="panel">
|
2020-04-01 23:22:46 +02:00
|
|
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="admin-settings-relocate">
|
|
|
|
<h2>
|
2021-11-20 08:16:30 +01:00
|
|
|
<button class="btn-link accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-relocate-collapse" aria-expanded="false" aria-controls="admin-settings-relocate-collapse">
|
2020-04-01 23:22:46 +02:00
|
|
|
{{$relocate}}
|
2021-11-20 08:16:30 +01:00
|
|
|
</button>
|
2020-04-01 23:22:46 +02:00
|
|
|
</h2>
|
2018-11-24 22:50:42 +01:00
|
|
|
</div>
|
2020-04-01 23:22:46 +02:00
|
|
|
<div id="admin-settings-relocate-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-relocate">
|
|
|
|
<div class="panel-body">
|
2022-05-29 19:14:31 +02:00
|
|
|
<p>
|
|
|
|
{{$relocate_msg}}
|
|
|
|
</p>
|
|
|
|
<p><code>{{$relocate_cmd}}</code></p>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
2020-04-01 23:22:46 +02:00
|
|
|
</div>
|
2022-05-29 19:14:31 +02:00
|
|
|
</div>
|
2018-11-21 17:27:10 +01:00
|
|
|
</div>
|
|
|
|
</div>
|