@extends('layouts.simple') @section('body')
@include('settings.parts.navbar', ['selected' => 'settings'])
Categories
Version
BookStack @if(strpos($version, 'v') !== 0) version @endif {{ $version }}

{{ 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('form.toggle-switch', [ 'name' => 'setting-app-public', 'value' => setting('app-public'), 'label' => trans('settings.app_public_access_toggle'), ])

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

@include('form.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('form.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('form.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('form.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('settings.parts.setting-entity-color-picker', ['type' => 'bookshelf']) @include('settings.parts.setting-entity-color-picker', ['type' => 'book']) @include('settings.parts.setting-entity-color-picker', ['type' => 'chapter'])
@include('settings.parts.setting-entity-color-picker', ['type' => 'page']) @include('settings.parts.setting-entity-color-picker', ['type' => 'page-draft'])

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

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

@include('settings.parts.footer-links', ['name' => 'setting-app-footer-links', 'value' => setting('app-footer-links', [])])

{{ 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('form.toggle-switch', [ 'name' => 'setting-registration-enabled', 'value' => setting('registration-enabled'), 'label' => trans('settings.reg_enable_toggle') ]) @if(in_array(config('auth.method'), ['ldap', 'saml2', 'oidc']))
{{ trans('settings.reg_enable_external_warning') }}
@endif

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

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

@include('form.toggle-switch', [ 'name' => 'setting-registration-confirmation', 'value' => setting('registration-confirmation'), 'label' => trans('settings.reg_email_confirmation_toggle') ])
@include('entities.selector-popup', ['entityTypes' => 'page']) @stop