2019-04-26 15:22:08 +02:00
|
|
|
<script>
|
|
|
|
$(function(){
|
|
|
|
$("#cnftheme").click(function(){
|
|
|
|
document.location.assign("{{$baseurl}}/admin/themes/" + $("#id_theme :selected").val());
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<div id="adminpage">
|
2018-12-14 04:28:12 +01:00
|
|
|
<h1>{{$title}} - {{$page}}</h1>
|
2017-12-01 06:40:55 +01:00
|
|
|
|
|
|
|
<form action="{{$baseurl}}/admin/site" method="post">
|
|
|
|
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
|
|
|
|
|
|
|
{{include file="field_input.tpl" field=$sitename}}
|
|
|
|
{{include file="field_input.tpl" field=$sender_email}}
|
|
|
|
{{include file="field_textarea.tpl" field=$banner}}
|
2020-02-02 22:40:30 +01:00
|
|
|
{{include file="field_input.tpl" field=$email_banner}}
|
2017-12-01 06:40:55 +01:00
|
|
|
{{include file="field_input.tpl" field=$shortcut_icon}}
|
|
|
|
{{include file="field_input.tpl" field=$touch_icon}}
|
2019-01-29 03:39:51 +01:00
|
|
|
{{include file="field_textarea.tpl" field=$additional_info}}
|
2017-12-01 06:40:55 +01:00
|
|
|
{{include file="field_select.tpl" field=$language}}
|
|
|
|
{{include file="field_select.tpl" field=$theme}}
|
|
|
|
{{include file="field_select.tpl" field=$theme_mobile}}
|
|
|
|
{{include file="field_select.tpl" field=$ssl_policy}}
|
|
|
|
{{if $ssl_policy.2 == 1}}{{include file="field_checkbox.tpl" field=$force_ssl}}{{/if}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$hide_help}}
|
|
|
|
{{include file="field_select.tpl" field=$singleuser}}
|
2018-12-14 04:28:12 +01:00
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
2017-12-01 06:40:55 +01:00
|
|
|
|
|
|
|
<h3>{{$registration}}</h3>
|
|
|
|
{{include file="field_input.tpl" field=$register_text}}
|
|
|
|
{{include file="field_select.tpl" field=$register_policy}}
|
|
|
|
{{include file="field_input.tpl" field=$daily_registrations}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$no_multi_reg}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$no_openid}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$no_regfullname}}
|
2018-12-14 04:28:12 +01:00
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
2017-12-01 06:40:55 +01:00
|
|
|
|
|
|
|
<h3>{{$upload}}</h3>
|
2018-12-08 18:49:16 +01:00
|
|
|
{{include file="field_select.tpl" field=$storagebackend}}
|
|
|
|
{{foreach from=$storageform item=$field}}
|
|
|
|
{{include file=$field.field field=$field}}
|
|
|
|
{{/foreach}}
|
|
|
|
<hr>
|
2017-12-01 06:40:55 +01:00
|
|
|
{{include file="field_input.tpl" field=$maximagesize}}
|
|
|
|
{{include file="field_input.tpl" field=$maximagelength}}
|
|
|
|
{{include file="field_input.tpl" field=$jpegimagequality}}
|
2018-12-14 04:28:12 +01:00
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
2017-12-01 06:40:55 +01:00
|
|
|
|
|
|
|
<h3>{{$corporate}}</h3>
|
|
|
|
{{include file="field_input.tpl" field=$allowed_sites}}
|
|
|
|
{{include file="field_input.tpl" field=$allowed_email}}
|
2018-07-06 15:32:56 +02:00
|
|
|
{{include file="field_input.tpl" field=$forbidden_nicknames}}
|
2018-01-04 17:58:32 +01:00
|
|
|
{{include file="field_checkbox.tpl" field=$no_oembed_rich_content}}
|
|
|
|
{{include file="field_input.tpl" field=$allowed_oembed}}
|
2017-12-01 06:40:55 +01:00
|
|
|
{{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}}
|
|
|
|
|
|
|
|
{{include file="field_checkbox.tpl" field=$ostatus_disabled}}
|
|
|
|
|
|
|
|
{{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>
|
|
|
|
<span id='id_{{$diaspora_enabled.0}}'>{{$diaspora_not_able}}</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$dfrn_only}}
|
|
|
|
{{include file="field_input.tpl" field=$global_directory}}
|
2018-12-14 04:28:12 +01:00
|
|
|
<div class="submit"><input type="submit" name="republish_directory" value="{{$republish}}" /></div>
|
2017-12-01 06:40:55 +01:00
|
|
|
{{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}}
|
2018-07-14 18:08:06 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$explicit_content}}
|
2018-12-14 04:28:12 +01:00
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
2017-12-01 06:40:55 +01:00
|
|
|
|
|
|
|
<h3>{{$advanced}}</h3>
|
|
|
|
{{include file="field_select.tpl" field=$rino}}
|
|
|
|
{{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=$maxloadavg_frontend}}
|
|
|
|
{{include file="field_input.tpl" field=$optimize_max_tablesize}}
|
|
|
|
{{include file="field_input.tpl" field=$optimize_fragmentation}}
|
|
|
|
{{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}}
|
2018-12-14 04:28:12 +01:00
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
2017-12-01 06:40:55 +01:00
|
|
|
|
|
|
|
<h3>{{$portable_contacts}}</h3>
|
|
|
|
{{include file="field_checkbox.tpl" field=$poco_completion}}
|
2020-03-10 22:10:59 +01:00
|
|
|
{{include file="field_select.tpl" field=$gcontact_discovery}}
|
2017-12-01 06:40:55 +01:00
|
|
|
{{include file="field_input.tpl" field=$poco_requery_days}}
|
|
|
|
{{include file="field_select.tpl" field=$poco_discovery}}
|
|
|
|
{{include file="field_select.tpl" field=$poco_discovery_since}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$poco_local_search}}
|
2018-12-14 04:28:12 +01:00
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
2017-12-01 06:40:55 +01:00
|
|
|
|
|
|
|
<h3>{{$performance}}</h3>
|
|
|
|
{{include file="field_checkbox.tpl" field=$only_tag_search}}
|
|
|
|
{{include file="field_input.tpl" field=$itemcache}}
|
|
|
|
{{include file="field_input.tpl" field=$itemcache_duration}}
|
|
|
|
{{include file="field_input.tpl" field=$max_comments}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$proxy_disabled}}
|
2018-05-07 07:37:20 +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}}
|
2018-11-19 07:58:46 +01:00
|
|
|
{{include file="field_input.tpl" field=$dbclean_expire_conv}}
|
2018-12-14 04:28:12 +01:00
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
2017-12-01 06:40:55 +01:00
|
|
|
|
2018-12-14 04:28:12 +01:00
|
|
|
<h3>{{$worker_title}}</h3>
|
2017-12-01 06:40:55 +01:00
|
|
|
{{include file="field_input.tpl" field=$maxloadavg}}
|
|
|
|
{{include file="field_input.tpl" field=$min_memory}}
|
|
|
|
{{include file="field_input.tpl" field=$worker_queues}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$worker_dont_fork}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$worker_fastlane}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$worker_frontend}}
|
2018-03-28 08:16:46 +02:00
|
|
|
|
2018-12-14 04:28:12 +01:00
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
2018-07-30 16:27:52 +02:00
|
|
|
|
2018-12-14 04:28:12 +01:00
|
|
|
<h3>{{$relay_title}}</h3>
|
2018-03-28 08:16:46 +02:00
|
|
|
{{include file="field_checkbox.tpl" field=$relay_subscribe}}
|
|
|
|
{{include file="field_input.tpl" field=$relay_server}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$relay_directly}}
|
|
|
|
{{include file="field_select.tpl" field=$relay_scope}}
|
|
|
|
{{include file="field_input.tpl" field=$relay_server_tags}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$relay_user_tags}}
|
|
|
|
|
2018-12-14 04:28:12 +01:00
|
|
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
2017-12-01 06:40:55 +01:00
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{{* separate form for relocate... *}}
|
|
|
|
<form action="{{$baseurl}}/admin/site" method="post">
|
|
|
|
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
|
|
|
<h3>{{$relocate}}</h3>
|
2018-11-25 09:03:01 +01:00
|
|
|
<strong>{{$relocate_warning}}</strong>
|
2017-12-01 06:40:55 +01:00
|
|
|
{{include file="field_input.tpl" field=$relocate_url}}
|
2018-12-14 04:28:12 +01:00
|
|
|
<input type="hidden" name="page_site" value="{{$submit}}">
|
|
|
|
<div class="submit"><input type="submit" name="relocate" value="{{$relocate_button}}" /></div>
|
2017-12-01 06:40:55 +01:00
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|