@extends('layouts.core.install') @section('title', trans('messages.configuration')) @section('content')
{!! csrf_field() !!}

maps_home_work {{ trans('messages.general') }}

@include('helpers.form_control', [ 'type' => 'text', 'name' => 'site_name', 'value' => (isset($site_info["site_name"]) ? $site_info["site_name"] : ""), 'help_class' => 'install', 'rules' => ["site_name" => "required"] ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'site_keyword', 'value' => (isset($site_info["site_keyword"]) ? $site_info["site_keyword"] : ""), 'help_class' => 'install', 'rules' => ["site_keyword" => "required"] ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'license', 'label' => trans('messages.license_optional'), 'value' => (isset($site_info["license"]) ? $site_info["license"] : ""), 'help_class' => 'install', 'rules' => [] ])
@include('helpers.form_control', [ 'type' => 'textarea', 'name' => 'site_description', 'value' => (isset($site_info["site_description"]) ? $site_info["site_description"] : ""), 'help_class' => 'install', 'rules' => ["site_description" => "required"] ])

manage_accounts {{ trans('messages.admin_info') }}

@if (get_localization_config('show_last_name_first', config('app.locale')))
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'last_name', 'value' => (isset($site_info["last_name"]) ? $site_info["last_name"] : ""), 'help_class' => 'install', 'rules' => $rules ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'first_name', 'value' => (isset($site_info["first_name"]) ? $site_info["first_name"] : ""), 'help_class' => 'install', 'rules' => $rules ])
@else
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'first_name', 'value' => (isset($site_info["first_name"]) ? $site_info["first_name"] : ""), 'help_class' => 'install', 'rules' => $rules ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'last_name', 'value' => (isset($site_info["last_name"]) ? $site_info["last_name"] : ""), 'help_class' => 'install', 'rules' => $rules ])
@endif
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'email', 'value' => (isset($site_info["email"]) ? $site_info["email"] : ""), 'help_class' => 'install', 'rules' => $rules ])
@include('helpers.form_control', [ 'type' => 'password', 'name' => 'password', 'value' => (isset($site_info["password"]) ? $site_info["password"] : ""), 'help_class' => 'install', 'eye' => true, 'rules' => $rules ])
@if (config('custom.japan')) @else
@include('helpers.form_control', [ 'type' => 'select', 'name' => 'timezone', 'value' => (isset($site_info["timezone"]) ? $site_info["timezone"] : config('app.timezone')), 'options' => Tool::getTimezoneSelectOptions(), 'include_blank' => trans('messages.choose'), 'rules' => $rules ])
@endif

mark_email_read {{ trans('messages.system_email_configuration') }}

@include('helpers.form_control', [ 'type' => 'select', 'name' => 'mail_mailer', 'label' => trans('messages.mail_mailer'), 'value' => (isset($site_info["mail_mailer"]) ? $site_info["mail_mailer"] : ""), 'options' => [["value" => "sendmail", "text" => trans('messages.system.sendmail')],["value" => "smtp", "text" => trans('messages.sending_server.type.smtp')]], 'help_class' => 'install', 'rules' => $rules ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'smtp_hostname', 'label' => trans('messages.hostname'), 'value' => (isset($site_info["smtp_hostname"]) ? $site_info["smtp_hostname"] : ""), 'help_class' => 'install', 'rules' => $smtp_rules ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'smtp_port', 'label' => trans('messages.port'), 'value' => (isset($site_info["smtp_port"]) ? $site_info["smtp_port"] : ""), 'help_class' => 'install', 'rules' => $smtp_rules ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'smtp_encryption', 'label' => trans('messages.encryption'), 'value' => (isset($site_info["smtp_encryption"]) ? $site_info["smtp_encryption"] : ""), 'help_class' => 'install', 'rules' => $smtp_rules ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'smtp_username', 'label' => trans('messages.username'), 'value' => (isset($site_info["smtp_username"]) ? $site_info["smtp_username"] : ""), 'help_class' => 'install', 'rules' => $smtp_rules ])
@include('helpers.form_control', [ 'type' => 'password', 'name' => 'smtp_password', 'label' => trans('messages.password'), 'value' => (isset($site_info["smtp_password"]) ? $site_info["smtp_password"] : ""), 'help_class' => 'install', 'eye' => true, 'rules' => $smtp_rules ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'mail_from_email', 'label' => trans('messages.from_email'), 'value' => (isset($site_info["mail_from_email"]) ? $site_info["mail_from_email"] : ""), 'help_class' => 'install', 'rules' => $smtp_rules ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'mail_from_name', 'label' => trans('messages.from_name'), 'value' => (isset($site_info["mail_from_name"]) ? $site_info["mail_from_name"] : ""), 'help_class' => 'install', 'rules' => $smtp_rules ])

{{ trans('messages.system.sendmail.warning') }}

{{ trans('messages.system.sendmail.warning.desc') }}

@include('helpers.form_control', [ 'type' => 'text', 'name' => 'sendmail_path', 'label' => trans('messages.sendmail_path'), 'value' => (isset($site_info["sendmail_path"]) ? $site_info["sendmail_path"] : "/usr/sbin/sendmail"), 'help_class' => 'env', 'rules' => ['mailer.sendmail_path' => 'required'] ])

@endsection