@extends('user::layouts.master') @section('content')

Manage Setting

@if(isset($_REQUEST['login']) && $_REQUEST['login'] =1 )
Please change your account password to continue using secure site.
@endif

SMTP Detail

@csrf
{{Form::text('setting[0][slug]','SMTP_ALLOW',['class' => 'form-control','readonly' => 'readonly'])}} {{Form::hidden('setting[0][title]','SMTP ALLOW',['class' => 'form-control'])}} {{Form::hidden('setting[0][field_type]','text',['class' => 'form-control'])}} {{Form::hidden('setting[0][manager]','smtp',['class' => 'form-control'])}}
{{Form::text('setting[1][slug]','SMTP_EMAIL_HOST',['class' => 'form-control','readonly' => 'readonly'])}} {{Form::hidden('setting[1][title]','Email Host Name',['class' => 'form-control'])}} {{Form::hidden('setting[1][field_type]','text',['class' => 'form-control'])}} {{Form::hidden('setting[1][manager]','smtp',['class' => 'form-control'])}}
{{Form::text('setting[1][config_value]',isset($smtp[1]['config_value']) ? $smtp[1]['config_value']: '' ,['class' => 'form-control','placeholder' => 'SMTP server Host','id' => 'smtp-host-config'])}}
{{Form::text('setting[2][slug]','SMTP_USERNAME',['class' => 'form-control','readonly' => 'readonly'])}} {{Form::hidden('setting[2][title]','SMTP Username',['class' => 'form-control'])}} {{Form::hidden('setting[2][field_type]','text',['class' => 'form-control'])}} {{Form::hidden('setting[2][manager]','smtp',['class' => 'form-control'])}}
{{Form::text('setting[2][config_value]',isset($smtp[2]['config_value']) ? $smtp[2]['config_value']: '',['class' => 'form-control','placeholder' => 'SMTP Username'])}}
{{Form::text('setting[3][slug]','SMTP_PASSWORD',['class' => 'form-control','readonly' => 'readonly'])}} {{Form::hidden('setting[3][title]','SMTP password',['class' => 'form-control'])}} {{Form::hidden('setting[3][field_type]','text',['class' => 'form-control'])}} {{Form::hidden('setting[3][manager]','smtp',['class' => 'form-control'])}}
{{Form::text('setting[3][config_value]',isset($smtp[3]['config_value']) ? $smtp[3]['config_value']: '',['class' => 'form-control','placeholder' => 'SMTP Password'])}}
{{Form::text('setting[4][slug]','SMTP_PORT',['class' => 'form-control','readonly' => 'readonly'])}} {{Form::hidden('setting[4][title]','SMTP port',['class' => 'form-control'])}} {{Form::hidden('setting[4][field_type]','text',['class' => 'form-control'])}} {{Form::hidden('setting[4][manager]','smtp',['class' => 'form-control'])}}
{{Form::text('setting[4][config_value]',isset($smtp[4]['config_value']) ? $smtp[4]['config_value']: '',['class' => 'form-control','placeholder' => 'SMTP Port'])}}
{{Form::text('setting[5][slug]','SMTP_TLS',['class' => 'form-control','readonly' => 'readonly'])}} {{Form::hidden('setting[5][title]','SMTP Tls',['class' => 'form-control'])}} {{Form::hidden('setting[5][field_type]','text',['class' => 'form-control'])}} {{Form::hidden('setting[5][manager]','smtp',['class' => 'form-control'])}}

Important Rules

For each config settings that would be added to the system, make sure it has these constant/slug:

  • MAIN_LOGO - Will be replaced by logo from the admin settings.
  • MAIN_FAVICON - Will be replaced by favicon icon image from the admin settings.
@stop