diff --git a/resources/views/settings/edit.blade.php b/resources/views/settings/edit.blade.php index ee481076f5..91bc702e74 100755 --- a/resources/views/settings/edit.blade.php +++ b/resources/views/settings/edit.blade.php @@ -91,7 +91,7 @@ {{ Form::checkbox('full_multiple_companies_support', '1', Input::old('full_multiple_companies_support', $setting->full_multiple_companies_support),array('class' => 'minimal')) }} {{ trans('admin/settings/general.full_multiple_companies_support_text') }} {!! $errors->first('full_multiple_companies_support', ':message') !!} -

{{ trans('admin/settings/general.full_multiple_companies_support_help_text') }}

+

{{ trans('admin/settings/general.full_multiple_companies_support_help_text') }}

@@ -134,6 +134,44 @@ + +
+
+ {{ Form::label('email_domain', trans('general.email_domain')) }} +
+
+ {{ Form::text('email_domain', Input::old('email_domain', $setting->email_domain), array('class' => 'form-control','placeholder' => 'example.com')) }} + {{ trans('general.email_domain_help') }} + + {!! $errors->first('email_domain', ':message') !!} +
+
+ + + +
+
+ {{ Form::label('email_format', trans('general.email_format')) }} +
+
+ {!! Form::username_format('email_format', Input::old('email_format', $setting->email_format), 'select2') !!} + + {!! $errors->first('email_format', ':message') !!} +
+
+ + +
+
+ {{ Form::label('username_format', trans('general.username_format')) }} +
+
+ {!! Form::username_format('username_format', Input::old('username_format', $setting->username_format), 'select2') !!} + + {!! $errors->first('username_format', ':message') !!} +
+
+
@@ -210,7 +248,7 @@ {{ Form::textarea('custom_css', Input::old('custom_css', $setting->custom_css), array('class' => 'form-control','placeholder' => 'Add your custom CSS')) }} {!! $errors->first('custom_css', ':message') !!} @endif -

{{ trans('admin/settings/general.custom_css_help') }}

+

{{ trans('admin/settings/general.custom_css_help') }}

@@ -329,7 +367,7 @@ @else - + {{ trans('admin/settings/general.php_gd_warning') }}
{{ trans('admin/settings/general.php_gd_info') }} @@ -371,7 +409,7 @@ {!! $errors->first('qr_text', ':message') !!} @else {{ Form::text('qr_text', Input::old('qr_text', $setting->qr_text), array('class' => 'form-control', 'disabled'=>'disabled','placeholder' => 'Property of Your Company')) }} -

{{ trans('admin/settings/general.qr_help') }}

+

{{ trans('admin/settings/general.qr_help') }}

@endif @@ -554,8 +592,8 @@
{{ Form::textarea('default_eula_text', Input::old('default_eula_text', $setting->default_eula_text), array('class' => 'form-control','placeholder' => 'Add your default EULA text')) }} {!! $errors->first('default_eula_text', ':message') !!} -

{{ trans('admin/settings/general.default_eula_help_text') }}

-

{!! trans('admin/settings/general.eula_markdown') !!}

+

{{ trans('admin/settings/general.default_eula_help_text') }}

+

{!! trans('admin/settings/general.eula_markdown') !!}

@@ -577,7 +615,7 @@
-

{!! trans('admin/settings/general.slack_integration_help',array('slack_link' => 'https://my.slack.com/services/new/incoming-webhook')) !!}

+

{!! trans('admin/settings/general.slack_integration_help',array('slack_link' => 'https://my.slack.com/services/new/incoming-webhook')) !!}

@@ -661,7 +699,7 @@ {{ Form::checkbox('ldap_server_cert_ignore', '1', Input::old('ldap_server_cert_ignore', $setting->ldap_server_cert_ignore),array('class' => 'minimal')) }} {{ trans('admin/settings/general.ldap_server_cert_ignore') }} {!! $errors->first('ldap_server_cert_ignore', ':message') !!} -

{{ trans('admin/settings/general.ldap_server_cert_help') }}

+

{{ trans('admin/settings/general.ldap_server_cert_help') }}

diff --git a/resources/views/setup/user.blade.php b/resources/views/setup/user.blade.php index 7116cff11c..f360ec348c 100644 --- a/resources/views/setup/user.blade.php +++ b/resources/views/setup/user.blade.php @@ -26,6 +26,25 @@ Create a User ::
+ + +
+
+ {{ Form::label('email_domain', trans('general.email_domain')) }} + {{ Form::text('email_domain', Input::old('email_domain'), array('class' => 'form-control','placeholder' => 'example.com')) }} + {{ trans('general.email_domain_help') }} + + {!! $errors->first('email_domain', ':message') !!} +
+ + +
+ {{ Form::label('email_format', trans('general.email_format')) }} + {!! Form::username_format('email_format', Input::old('email_format', 'filastname'), 'select2') !!} + {!! $errors->first('email_format', ':message') !!} +
+
+