2019-04-26 09:22:08 -04:00
|
|
|
<script>
|
2020-04-01 17:22:46 -04:00
|
|
|
$(function () {
|
|
|
|
$("#cnftheme").click(function () {
|
2019-04-26 09:22:08 -04:00
|
|
|
document.location.assign("{{$baseurl}}/admin/themes/" + $("#id_theme :selected").val());
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<div id="adminpage">
|
2018-12-13 22:28:12 -05:00
|
|
|
<h1>{{$title}} - {{$page}}</h1>
|
2017-12-01 00:40:55 -05:00
|
|
|
|
|
|
|
<form action="{{$baseurl}}/admin/site" method="post">
|
2020-04-01 17:22:46 -04:00
|
|
|
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
|
|
|
|
2020-12-17 22:52:30 -05:00
|
|
|
<h2>{{$general_info}}</h2>
|
2020-04-01 17:22:46 -04:00
|
|
|
{{include file="field_input.tpl" field=$sitename}}
|
|
|
|
{{include file="field_input.tpl" field=$sender_email}}
|
2020-08-22 10:48:09 -04:00
|
|
|
{{include file="field_input.tpl" field=$system_actor_name}}
|
2020-04-01 17:22:46 -04:00
|
|
|
{{include file="field_textarea.tpl" field=$banner}}
|
|
|
|
{{include file="field_input.tpl" field=$email_banner}}
|
|
|
|
{{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 15:19:57 -05:00
|
|
|
{{include file="field_checkbox.tpl" field=$force_ssl}}
|
2021-08-31 15:26:17 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$show_help}}
|
2020-04-01 17:22:46 -04:00
|
|
|
{{include file="field_select.tpl" field=$singleuser}}
|
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}"/></div>
|
|
|
|
|
|
|
|
<h2>{{$registration}}</h2>
|
2022-12-21 14:05:35 -05:00
|
|
|
{{include file="field_textarea.tpl" field=$register_text}}
|
2020-04-01 17:22:46 -04:00
|
|
|
{{include file="field_select.tpl" field=$register_policy}}
|
2023-03-21 17:44:26 -04:00
|
|
|
{{include file="field_input.tpl" field=$max_registered_users}}
|
2020-04-01 17:22:46 -04:00
|
|
|
{{include file="field_input.tpl" field=$daily_registrations}}
|
2021-08-31 15:26:17 -04: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 15:59:33 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$register_notification}}
|
2024-02-19 03:33:20 -05:00
|
|
|
{{include file="field_textarea.tpl" field=$allowed_email}}
|
|
|
|
{{include file="field_textarea.tpl" field=$disallowed_email}}
|
|
|
|
{{include file="field_textarea.tpl" field=$forbidden_nicknames}}
|
2020-04-01 17:22:46 -04:00
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}"/></div>
|
|
|
|
|
|
|
|
<h2>{{$upload}}</h2>
|
|
|
|
{{include file="field_input.tpl" field=$maximagesize}}
|
|
|
|
{{include file="field_input.tpl" field=$maximagelength}}
|
|
|
|
{{include file="field_input.tpl" field=$jpegimagequality}}
|
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}"/></div>
|
|
|
|
|
|
|
|
<h2>{{$corporate}}</h2>
|
|
|
|
{{include file="field_input.tpl" field=$allowed_sites}}
|
|
|
|
{{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}}
|
2023-12-25 06:39:15 -05:00
|
|
|
{{include file="field_input.tpl" field=$max_server_posts_community_page}}
|
2020-04-01 17:22:46 -04:00
|
|
|
|
2021-08-30 17:17:03 -04: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="field_help" role="tooltip" id="id_{{$mail_enabled.0}}">{{$mail_not_able}}</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2021-08-30 15:46:10 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$ostatus_enabled}}
|
2020-04-01 17:22:46 -04: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-09-01 04:54:56 -04:00
|
|
|
<span class="field_help" role="tooltip" id="id_{{$diaspora_enabled.0}}">{{$diaspora_not_able}}</span>
|
2020-04-01 17:22:46 -04:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{include file="field_input.tpl" field=$global_directory}}
|
|
|
|
<div class="submit"><input type="submit" name="republish_directory" value="{{$republish}}"/></div>
|
|
|
|
{{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}}
|
2024-01-07 14:22:56 -05:00
|
|
|
{{include file="field_checkbox.tpl" field=$allow_relay_channels}}
|
2023-11-27 19:57:51 -05:00
|
|
|
{{include file="field_checkbox.tpl" field=$adjust_poll_frequency}}
|
2020-04-01 17:22:46 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$explicit_content}}
|
2021-09-09 08:40:19 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$proxify_content}}
|
2023-11-27 19:57:51 -05:00
|
|
|
{{include file="field_checkbox.tpl" field=$local_search}}
|
2023-12-03 08:43:48 -05:00
|
|
|
{{include file="field_input.tpl" field=$blocked_tags}}
|
2020-04-01 17:22:46 -04:00
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}"/></div>
|
|
|
|
|
|
|
|
<h2>{{$advanced}}</h2>
|
|
|
|
{{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 class="submit"><input type="submit" name="page_site" value="{{$submit}}"/></div>
|
|
|
|
|
|
|
|
<h2>{{$portable_contacts}}</h2>
|
2020-07-26 03:34:33 -04:00
|
|
|
{{include file="field_select.tpl" field=$contact_discovery}}
|
2023-11-27 14:00:12 -05:00
|
|
|
{{include file="field_checkbox.tpl" field=$update_active_contacts}}
|
2020-07-31 05:08:51 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$synchronize_directory}}
|
2020-08-01 12:15:18 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$poco_discovery}}
|
2023-11-27 14:00:12 -05:00
|
|
|
{{include file="field_input.tpl" field=$poco_requery_days}}
|
2020-04-01 17:22:46 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$poco_local_search}}
|
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}"/></div>
|
|
|
|
|
|
|
|
<h2>{{$performance}}</h2>
|
2023-05-13 19:54:35 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$compute_circle_counts}}
|
2020-04-01 17:22:46 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$only_tag_search}}
|
2024-01-21 11:24:59 -05:00
|
|
|
{{include file="field_input.tpl" field=$search_age_days}}
|
2020-04-01 17:22:46 -04:00
|
|
|
{{include file="field_input.tpl" field=$max_comments}}
|
2020-06-16 02:49:53 -04:00
|
|
|
{{include file="field_input.tpl" field=$max_display_comments}}
|
2023-12-03 09:30:40 -05:00
|
|
|
{{include file="field_input.tpl" field=$itemspage_network}}
|
|
|
|
{{include file="field_input.tpl" field=$itemspage_network_mobile}}
|
2020-04-01 17:22:46 -04: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 08:24:24 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$optimize_tables}}
|
2021-10-23 13:18:30 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$cache_contact_avatar}}
|
2023-12-03 06:08:21 -05:00
|
|
|
{{include file="field_input.tpl" field=$min_poll_interval}}
|
2023-12-03 06:20:37 -05:00
|
|
|
{{include file="field_input.tpl" field=$cron_interval}}
|
2023-12-03 08:43:48 -05:00
|
|
|
{{include file="field_checkbox.tpl" field=$process_view}}
|
|
|
|
{{include file="field_input.tpl" field=$archival_days}}
|
2020-04-01 17:22:46 -04:00
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}"/></div>
|
|
|
|
|
|
|
|
<h2>{{$worker_title}}</h2>
|
|
|
|
{{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-27 19:57:51 -05:00
|
|
|
{{include file="field_input.tpl" field=$worker_load_cooldown}}
|
2020-04-01 17:22:46 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$worker_fastlane}}
|
2023-11-27 19:57:51 -05:00
|
|
|
{{include file="field_checkbox.tpl" field=$decoupled_receiver}}
|
2023-12-03 08:43:48 -05:00
|
|
|
{{include file="field_input.tpl" field=$worker_defer_limit}}
|
2023-12-03 17:49:35 -05:00
|
|
|
{{include file="field_input.tpl" field=$worker_fetch_limit}}
|
2020-04-01 17:22:46 -04:00
|
|
|
|
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}"/></div>
|
|
|
|
|
|
|
|
<h2>{{$relay_title}}</h2>
|
2021-06-13 07:15:04 -04: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 17:22:46 -04:00
|
|
|
{{include file="field_select.tpl" field=$relay_scope}}
|
|
|
|
{{include file="field_input.tpl" field=$relay_server_tags}}
|
2020-09-29 15:48:26 -04:00
|
|
|
{{include file="field_input.tpl" field=$relay_deny_tags}}
|
2024-01-25 13:41:07 -05:00
|
|
|
{{include file="field_input.tpl" field=$relay_max_tags}}
|
2020-04-01 17:22:46 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$relay_user_tags}}
|
2021-06-13 07:15:04 -04:00
|
|
|
{{include file="field_checkbox.tpl" field=$relay_directly}}
|
2023-12-03 04:45:13 -05: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}}
|
|
|
|
|
|
|
|
<h2>{{$channel_title}}</h2>
|
|
|
|
{{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 17:22:46 -04:00
|
|
|
|
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}"/></div>
|
2017-12-01 00:40:55 -05:00
|
|
|
|
|
|
|
</form>
|
|
|
|
|
2022-05-29 13:14:31 -04:00
|
|
|
<div>
|
2020-04-01 17:22:46 -04:00
|
|
|
<h2>{{$relocate}}</h2>
|
2022-05-29 13:14:31 -04:00
|
|
|
<p>{{$relocate_msg}}</p>
|
|
|
|
<p><code>{{$relocate_cmd}}</code></p>
|
|
|
|
</div>
|
2017-12-01 00:40:55 -05:00
|
|
|
|
|
|
|
</div>
|