@extends('simple-layout') @section('body')
@include('settings.navbar', ['selected' => 'settings'])

{{ trans('settings.app_features_security') }}

{!! csrf_field() !!}

{!! trans('settings.app_public_access_desc') !!}

@if(userCan('users-manage'))

{!! trans('settings.app_public_access_desc_guest') !!}

@endif
@include('components.toggle-switch', [ 'name' => 'setting-app-public', 'value' => setting('app-public'), 'label' => trans('settings.app_public_access_toggle'), ])

{{ trans('settings.app_secure_images_desc') }}

@include('components.toggle-switch', [ 'name' => 'setting-app-secure-images', 'value' => setting('app-secure-images'), 'label' => trans('settings.app_secure_images_toggle'), ])

{!! trans('settings.app_disable_comments_desc') !!}

@include('components.toggle-switch', [ 'name' => 'setting-app-disable-comments', 'value' => setting('app-disable-comments'), 'label' => trans('settings.app_disable_comments_toggle'), ])

{{ trans('settings.app_customization') }}

{!! csrf_field() !!}

{{ trans('settings.app_name_desc') }}

@include('components.toggle-switch', [ 'name' => 'setting-app-name-header', 'value' => setting('app-name-header'), 'label' => trans('settings.app_name_header'), ])

{{ trans('settings.app_editor_desc') }}

{!! trans('settings.app_logo_desc') !!}

@include('components.image-picker', [ 'removeName' => 'setting-app-logo', 'removeValue' => 'none', 'defaultImage' => url('/logo.png'), 'currentImage' => setting('app-logo'), 'name' => 'app_logo', 'imageClass' => 'logo-image', ])

{!! trans('settings.app_primary_color_desc') !!}


|

{!! trans('settings.content_colors_desc') !!}

@include('components.setting-entity-color-picker', ['type' => 'bookshelf']) @include('components.setting-entity-color-picker', ['type' => 'book']) @include('components.setting-entity-color-picker', ['type' => 'chapter'])
@include('components.setting-entity-color-picker', ['type' => 'page']) @include('components.setting-entity-color-picker', ['type' => 'page-draft'])

{{ trans('settings.app_homepage_desc') }}

{{ trans('settings.app_custom_html_desc') }}

{{ trans('settings.app_custom_html_disabled_notice') }}

{{ trans('settings.reg_settings') }}

{!! csrf_field() !!}

{!! trans('settings.reg_enable_desc') !!}

@include('components.toggle-switch', [ 'name' => 'setting-registration-enabled', 'value' => setting('registration-enabled'), 'label' => trans('settings.reg_enable_toggle') ]) @if(in_array(config('auth.method'), ['ldap', 'saml2']))
{{ trans('settings.reg_enable_external_warning') }}
@endif

{!! trans('settings.reg_confirm_restrict_domain_desc') !!}

{{ trans('settings.reg_confirm_email_desc') }}

@include('components.toggle-switch', [ 'name' => 'setting-registration-confirmation', 'value' => setting('registration-confirmation'), 'label' => trans('settings.reg_email_confirmation_toggle') ])
@include('components.image-manager', ['imageType' => 'system']) @include('components.entity-selector-popup', ['entityTypes' => 'page']) @stop