@extends('themes.base.layout') @section('title', trans('admin.settings_title')) @section('breadcrumb') @endsection @section('content')

@yield('title')


{!! Form::model($config, ['route' => 'admin.saveSettings', 'method' => 'POST']) !!}
{{-- Nav tabs --}} {{-- Tab panes --}}
{{-- General --}}
{!! Form::label('app_name', 'Gallery name:', ['class' => 'control-label']) !!} {!! Form::text('app_name', old('app_name'), ['class' => 'form-control']) !!}
{!! Form::label('date_format', 'Date format:', ['class' => 'control-label']) !!} {!! Form::select('date_format', $date_formats, old('date_format'), ['class' => 'form-control']) !!}
{!! Form::label('theme', 'Theme:', ['class' => 'control-label']) !!} {!! Form::select('theme', $theme_names, old('theme'), ['class' => 'form-control']) !!}

"Powered by" footer link

To help spread the word about Blue Twilight, I'd really appreciate it if you left the "Powered by" notice in your gallery's footer.

This is not compulsory, however, and you may remove it by checking the box below.

{{-- E-mail --}}
{!! Form::label('sender_name', 'Sender name:', ['class' => 'control-label']) !!} {!! Form::text('sender_name', old('sender_name'), ['class' => 'form-control']) !!}
{!! Form::label('sender_address', 'Sender address:', ['class' => 'control-label']) !!} {!! Form::text('sender_address', old('sender_address'), ['class' => 'form-control']) !!}

Configure your SMTP server using the settings below. If your server does not require authentication, leave the Username and Password fields empty.

{!! Form::label('smtp_server', 'Hostname:', ['class' => 'control-label']) !!} {!! Form::text('smtp_server', old('smtp_server'), ['class' => 'form-control']) !!}
{!! Form::label('smtp_port', 'Port:', ['class' => 'control-label']) !!} {!! Form::text('smtp_port', old('smtp_port'), ['class' => 'form-control']) !!}
{!! Form::label('smtp_username', 'Username:', ['class' => 'control-label']) !!} {!! Form::text('smtp_username', old('smtp_username'), ['class' => 'form-control']) !!}
{!! Form::label('smtp_password', 'Password:', ['class' => 'control-label']) !!} {!! Form::password('smtp_password', ['class' => 'form-control']) !!}
{{-- Security --}}
@lang('admin.settings_recaptcha')
{!! Form::label('recaptcha_site_key', 'Site key:', ['class' => 'control-label']) !!} {!! Form::text('recaptcha_site_key', old('recaptcha_site_key'), ['class' => 'form-control']) !!}
{!! Form::label('recaptcha_secret_key', 'Secret key:', ['class' => 'control-label']) !!} {!! Form::text('recaptcha_secret_key', old('recaptcha_secret_key'), ['class' => 'form-control']) !!}
@lang('admin.settings_image_protection')
@lang('forms.cancel_action') {!! Form::submit(trans('admin.settings_save_action'), ['class' => 'btn btn-success']) !!}
{!! Form::close() !!}
@endsection @push('scripts') @endpush