Move frontend.auth.* to auth.*
This commit is contained in:
parent
203b6496fc
commit
b63c9a8cd4
@ -1,19 +1,24 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
'failed' => 'These credentials do not match our records.',
|
||||||
/*
|
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
|
||||||
|--------------------------------------------------------------------------
|
'login' => 'Log In',
|
||||||
| Authentication Language Lines
|
'password' => 'Password',
|
||||||
|--------------------------------------------------------------------------
|
'createaccount' => 'Create Account',
|
||||||
|
|
'forgotpassword' => 'Forgot Password',
|
||||||
| The following language lines are used during authentication for various
|
'fullname' => 'Full Name',
|
||||||
| messages that we need to display to the user. You are free to modify
|
'emailaddress' => 'Email Address',
|
||||||
| these language lines according to your application's requirements.
|
'fillcaptcha' => 'Fill out the captcha',
|
||||||
|
|
'tocaccept' => 'By registering, you agree to the Terms and Conditions.',
|
||||||
*/
|
'register' => 'Register',
|
||||||
|
'registrationpending' => 'Registration Pending',
|
||||||
'failed' => 'These credentials do not match our records.',
|
'pendingmessage' => 'Your registration is pending approval. Please check your email!',
|
||||||
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
|
'registrationsubmitted' => 'Registration Submitted',
|
||||||
|
'registrationconfirmation' => 'Registration Confirmation',
|
||||||
|
'confirmationmessage' => 'Your application has been submitted. It requires staff member approval, once a\nstaff member has reviewed your application, you will receive a confirmation email.',
|
||||||
|
'registrationdenied' => 'Registration Denied',
|
||||||
|
'deniedmessage' => 'Your registration was denied. Please contact an administrator.',
|
||||||
|
'accountsuspended' => 'Account Suspended',
|
||||||
|
'suspendedmessage' => 'Your account has been suspended. Please contact an administrator.',
|
||||||
];
|
];
|
||||||
|
@ -1,19 +1,24 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
'failed' => 'Queste credenziali non sono presenti nei nostri archivi.',
|
||||||
/*
|
'throttle' => 'Troppi tentativi di login. Tenta di nuovo tra :seconds secondi per favore.',
|
||||||
|--------------------------------------------------------------------------
|
'login' => 'Accedi',
|
||||||
| Authentication Language Lines
|
'password' => 'Password',
|
||||||
|--------------------------------------------------------------------------
|
'createaccount' => 'Crea Account',
|
||||||
|
|
'forgotpassword' => 'Password Dimenticata',
|
||||||
| The following language lines are used during authentication for various
|
'fullname' => 'Nome Completo',
|
||||||
| messages that we need to display to the user. You are free to modify
|
'emailaddress' => 'Indirizzo Email',
|
||||||
| these language lines according to your application's requirements.
|
'fillcaptcha' => 'Compila la captcha',
|
||||||
|
|
'tocaccept' => 'Registrandoti confermi di accettare i Termini e le Condizioni di Utilizzo.',
|
||||||
*/
|
'register' => 'Registrati',
|
||||||
|
'registrationpending' => 'Registrazione in Sospeso',
|
||||||
'failed' => 'Queste credenziali non sono presenti nei nostri archivi.',
|
'pendingmessage' => 'La tua registrazione è in attesa di approvazione. Controlla la tua email per favore.',
|
||||||
'throttle' => 'Troppi tentativi di login. Tenta di nuovo tra :seconds secondi per favore.',
|
'registrationsubmitted' => 'Registrazione Inviata',
|
||||||
|
'registrationconfirmation' => 'Conferma di Registrazione',
|
||||||
|
'confirmationmessage' => 'La tua richiesta è stata inviata e richiede l\'approvazione di un membro dello staff. Quando\nverrà esaminata, riceverai una email di conferma.',
|
||||||
|
'registrationdenied' => 'Registrazione Negata',
|
||||||
|
'deniedmessage' => 'La tua registrazione è stata rifiutata. Contatta un amministratore per favore.',
|
||||||
|
'accountsuspended' => 'Account Sospeso',
|
||||||
|
'suspendedmessage' => 'Il tuo account è stato sospeso. Contatta un amministratore per favore.',
|
||||||
];
|
];
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
@extends('app')
|
@extends('app')
|
||||||
@section('title', trans('frontend.global.livemap'))
|
@section('title', __('common.livemap'))
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
{{ Widget::liveMap() }}
|
{{ Widget::liveMap() }}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
@extends('auth.layout')
|
@extends('auth.layout')
|
||||||
@section('title', trans('frontend.global.login'))
|
@section('title', __('auth.login'))
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="col-md-4 content-center">
|
<div class="col-md-4 content-center">
|
||||||
@ -18,7 +18,7 @@
|
|||||||
{{
|
{{
|
||||||
Form::text('email', old('email'), [
|
Form::text('email', old('email'), [
|
||||||
'id' => 'email',
|
'id' => 'email',
|
||||||
'placeholder' => trans('frontend.global.email'),
|
'placeholder' => __('common.email'),
|
||||||
'class' => 'form-control',
|
'class' => 'form-control',
|
||||||
'required' => true,
|
'required' => true,
|
||||||
])
|
])
|
||||||
@ -38,7 +38,7 @@
|
|||||||
Form::password('password', [
|
Form::password('password', [
|
||||||
'name' => 'password',
|
'name' => 'password',
|
||||||
'class' => 'form-control',
|
'class' => 'form-control',
|
||||||
'placeholder' => trans('frontend.auth.password'),
|
'placeholder' => __('auth.password'),
|
||||||
'required' => true,
|
'required' => true,
|
||||||
])
|
])
|
||||||
}}
|
}}
|
||||||
@ -51,16 +51,16 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="footer text-center">
|
<div class="footer text-center">
|
||||||
<button href="#pablo" class="btn btn-primary btn-round btn-lg btn-block">@lang('frontend.auth.login')</button>
|
<button class="btn btn-primary btn-round btn-lg btn-block">@lang('auth.login')</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="pull-left">
|
<div class="pull-left">
|
||||||
<h6>
|
<h6>
|
||||||
<a href="{{ url('/register') }}" class="link">@lang('frontend.auth.createaccount')</a>
|
<a href="{{ url('/register') }}" class="link">@lang('auth.createaccount')</a>
|
||||||
</h6>
|
</h6>
|
||||||
</div>
|
</div>
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
<h6>
|
<h6>
|
||||||
<a href="{{ url('/password/reset') }}" class="link">@lang('frontend.auth.forgotpassword')?</a>
|
<a href="{{ url('/password/reset') }}" class="link">@lang('auth.forgotpassword')?</a>
|
||||||
</h6>
|
</h6>
|
||||||
</div>
|
</div>
|
||||||
{{ Form::close() }}
|
{{ Form::close() }}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
@extends('app')
|
@extends('app')
|
||||||
@section('title', trans('frontend.auth.registrationpending'))
|
@section('title', __('auth.registrationpending'))
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12 " style="text-align: center;">
|
<div class="col-md-12 " style="text-align: center;">
|
||||||
<div class="flex-center position-ref full-height">
|
<div class="flex-center position-ref full-height">
|
||||||
<div class="title m-b-md">
|
<div class="title m-b-md">
|
||||||
<h2 class="description">@lang('frontend.auth.pendingmessage')</h2>
|
<h2 class="description">@lang('auth.pendingmessage')</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
@extends('app')
|
@extends('app')
|
||||||
@section('title', trans('frontend.global.register'))
|
@section('title', __('auth.register'))
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -11,7 +11,7 @@
|
|||||||
<div class="panel periodic-login">
|
<div class="panel periodic-login">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<h2>@lang('common.register')</h2>
|
<h2>@lang('common.register')</h2>
|
||||||
<label for="name" class="control-label">@lang('frontend.auth.fullname')</label>
|
<label for="name" class="control-label">@lang('auth.fullname')</label>
|
||||||
<div class="input-group form-group-no-border {{ $errors->has('name') ? 'has-danger' : '' }}">
|
<div class="input-group form-group-no-border {{ $errors->has('name') ? 'has-danger' : '' }}">
|
||||||
{{ Form::text('name', null, ['class' => 'form-control']) }}
|
{{ Form::text('name', null, ['class' => 'form-control']) }}
|
||||||
</div>
|
</div>
|
||||||
@ -19,7 +19,7 @@
|
|||||||
<p class="text-danger">{{ $errors->first('name') }}</p>
|
<p class="text-danger">{{ $errors->first('name') }}</p>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<label for="email" class="control-label">@lang('frontend.auth.emailaddress')</label>
|
<label for="email" class="control-label">@lang('auth.emailaddress')</label>
|
||||||
<div class="input-group form-group-no-border {{ $errors->has('email') ? 'has-danger' : '' }}">
|
<div class="input-group form-group-no-border {{ $errors->has('email') ? 'has-danger' : '' }}">
|
||||||
{{ Form::text('email', null, ['class' => 'form-control']) }}
|
{{ Form::text('email', null, ['class' => 'form-control']) }}
|
||||||
</div>
|
</div>
|
||||||
@ -59,7 +59,7 @@
|
|||||||
<p class="text-danger">{{ $errors->first('timezone') }}</p>
|
<p class="text-danger">{{ $errors->first('timezone') }}</p>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<label for="password" class="control-label">@lang('frontend.auth.password')</label>
|
<label for="password" class="control-label">@lang('auth.password')</label>
|
||||||
<div class="input-group form-group-no-border {{ $errors->has('password') ? 'has-danger' : '' }}">
|
<div class="input-group form-group-no-border {{ $errors->has('password') ? 'has-danger' : '' }}">
|
||||||
{{ Form::password('password', ['class' => 'form-control']) }}
|
{{ Form::password('password', ['class' => 'form-control']) }}
|
||||||
</div>
|
</div>
|
||||||
@ -76,7 +76,7 @@
|
|||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if(config('captcha.enabled'))
|
@if(config('captcha.enabled'))
|
||||||
<label for="g-recaptcha-response" class="control-label">@lang('frontend.auth.fillcaptcha')</label>
|
<label for="g-recaptcha-response" class="control-label">@lang('auth.fillcaptcha')</label>
|
||||||
<div class="input-group form-group-no-border {{ $errors->has('g-recaptcha-response') ? 'has-danger' : '' }}">
|
<div class="input-group form-group-no-border {{ $errors->has('g-recaptcha-response') ? 'has-danger' : '' }}">
|
||||||
{!! NoCaptcha::display(config('captcha.attributes')) !!}
|
{!! NoCaptcha::display(config('captcha.attributes')) !!}
|
||||||
</div>
|
</div>
|
||||||
@ -88,8 +88,8 @@
|
|||||||
@include('auth.toc')
|
@include('auth.toc')
|
||||||
|
|
||||||
<div style="width: 100%; text-align: right; padding-top: 20px;">
|
<div style="width: 100%; text-align: right; padding-top: 20px;">
|
||||||
@lang('frontend.auth.tocaccept')<br /><br />
|
@lang('auth.tocaccept')<br /><br />
|
||||||
{{ Form::submit(trans('frontend.auth.register'), ['class' => 'btn btn-primary']) }}
|
{{ Form::submit(__('auth.register'), ['class' => 'btn btn-primary']) }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
@extends('app')
|
@extends('app')
|
||||||
@section('title', trans('frontend.auth.registrationsubmitted'))
|
@section('title', __('auth.registrationsubmitted'))
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="container registered-page">
|
<div class="container registered-page">
|
||||||
<h3>@lang('frontend.auth.registrationconfirmation')</h3>
|
<h3>@lang('auth.registrationconfirmation')</h3>
|
||||||
<p>
|
<p>
|
||||||
@lang('frontend.auth.confirmationmessage')
|
@lang('auth.confirmationmessage')
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
@extends('app')
|
@extends('app')
|
||||||
@section('title', trans('frontend.auth.registrationdenied'))
|
@section('title', __('auth.registrationdenied'))
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -7,7 +7,7 @@
|
|||||||
<div class="flex-center position-ref full-height">
|
<div class="flex-center position-ref full-height">
|
||||||
<div class="title m-b-md">
|
<div class="title m-b-md">
|
||||||
<h2 class="description">
|
<h2 class="description">
|
||||||
@lang('frontend.auth.deniedmessage')
|
@lang('auth.deniedmessage')
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
@extends('app')
|
@extends('app')
|
||||||
@section('title', trans('frontend.auth.accountsuspended'))
|
@section('title', __('auth.accountsuspended'))
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -7,7 +7,7 @@
|
|||||||
<div class="flex-center position-ref full-height">
|
<div class="flex-center position-ref full-height">
|
||||||
<div class="title m-b-md">
|
<div class="title m-b-md">
|
||||||
<h2 class="description">
|
<h2 class="description">
|
||||||
@lang('frontend.auth.suspendedmessage')
|
@lang('auth.suspendedmessage')
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
@extends('app')
|
@extends('app')
|
||||||
@section('title', trans('frontend.global.dashboard'))
|
@section('title', __('common.dashboard'))
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clear" style="margin-top: 10px;">
|
<div class="clear" style="margin-top: 10px;">
|
||||||
{{ Form::submit(trans('frontend.global.find'), ['class' => 'btn btn-primary']) }}
|
{{ Form::submit(__('common.find'), ['class' => 'btn btn-primary']) }}
|
||||||
<a href="{{ route('frontend.flights.index') }}">@lang('common.reset')</a>
|
<a href="{{ route('frontend.flights.index') }}">@lang('common.reset')</a>
|
||||||
</div>
|
</div>
|
||||||
{{ Form::close() }}
|
{{ Form::close() }}
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
@if($flight->arr_time), {{ $flight->arr_time }}@endif
|
@if($flight->arr_time), {{ $flight->arr_time }}@endif
|
||||||
<br />
|
<br />
|
||||||
@if($flight->distance)
|
@if($flight->distance)
|
||||||
<span class="title">{{ strtoupper(trans('frontend.global.distance')) }} </span>
|
<span class="title">{{ strtoupper(__('common.distance')) }} </span>
|
||||||
{{ $flight->distance }} {{ setting('units.distance') }}
|
{{ $flight->distance }} {{ setting('units.distance') }}
|
||||||
@endif
|
@endif
|
||||||
<br />
|
<br />
|
||||||
@ -61,7 +61,7 @@
|
|||||||
<div class="col-sm-7">
|
<div class="col-sm-7">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<span class="title">{{ strtoupper(trans('frontend.global.route')) }} </span>
|
<span class="title">{{ strtoupper(__('common.route')) }} </span>
|
||||||
{{ $flight->route }}
|
{{ $flight->route }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -26,7 +26,7 @@ flight reports that have been filed. You've been warned!
|
|||||||
<div class="form-container-body">
|
<div class="form-container-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
{{ Form::label('airline_id', trans('frontend.global.airline')) }}
|
{{ Form::label('airline_id', __('common.airline')) }}
|
||||||
@if(!empty($pirep) && $pirep->read_only)
|
@if(!empty($pirep) && $pirep->read_only)
|
||||||
<p>{{ $pirep->airline->name }}</p>
|
<p>{{ $pirep->airline->name }}</p>
|
||||||
{{ Form::hidden('airline_id') }}
|
{{ Form::hidden('airline_id') }}
|
||||||
@ -52,7 +52,7 @@ flight reports that have been filed. You've been warned!
|
|||||||
@else
|
@else
|
||||||
<div class="input-group input-group-sm mb3">
|
<div class="input-group input-group-sm mb3">
|
||||||
{{ Form::text('flight_number', null, [
|
{{ Form::text('flight_number', null, [
|
||||||
'placeholder' => trans('frontend.global.flightnumber'),
|
'placeholder' => __('common.flightnumber'),
|
||||||
'class' => 'form-control',
|
'class' => 'form-control',
|
||||||
'readonly' => (!empty($pirep) && $pirep->read_only),
|
'readonly' => (!empty($pirep) && $pirep->read_only),
|
||||||
]) }}
|
]) }}
|
||||||
@ -96,7 +96,7 @@ flight reports that have been filed. You've been warned!
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-3">
|
<div class="col-3">
|
||||||
{{ Form::label('hours', trans('frontend.global.flighttime')) }}
|
{{ Form::label('hours', __('common.flighttime')) }}
|
||||||
@if(!empty($pirep) && $pirep->read_only)
|
@if(!empty($pirep) && $pirep->read_only)
|
||||||
<p>
|
<p>
|
||||||
{{ $pirep->hours.' '.trans_choice('common.hour', $pirep->hours) }}, {{ $pirep->minutes.' '.trans_choice('common.minute', $pirep->minutes) }}
|
{{ $pirep->hours.' '.trans_choice('common.hour', $pirep->hours) }}, {{ $pirep->minutes.' '.trans_choice('common.minute', $pirep->minutes) }}
|
||||||
@ -163,7 +163,7 @@ flight reports that have been filed. You've been warned!
|
|||||||
<div class="form-container-body">
|
<div class="form-container-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
{{ Form::label('dpt_airport_id', trans('frontend.global.departureairport')) }}
|
{{ Form::label('dpt_airport_id', __('common.departureairport')) }}
|
||||||
@if(!empty($pirep) && $pirep->read_only)
|
@if(!empty($pirep) && $pirep->read_only)
|
||||||
{{ $pirep->dpt_airport->name }}
|
{{ $pirep->dpt_airport->name }}
|
||||||
(<a href="{{route('frontend.airports.show', [
|
(<a href="{{route('frontend.airports.show', [
|
||||||
@ -183,7 +183,7 @@ flight reports that have been filed. You've been warned!
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
{{ Form::label('arr_airport_id', trans('frontend.global.arrivalairport')) }}
|
{{ Form::label('arr_airport_id', __('common.arrivalairport')) }}
|
||||||
@if(!empty($pirep) && $pirep->read_only)
|
@if(!empty($pirep) && $pirep->read_only)
|
||||||
{{ $pirep->arr_airport->name }}
|
{{ $pirep->arr_airport->name }}
|
||||||
(<a href="{{route('frontend.airports.show', [
|
(<a href="{{route('frontend.airports.show', [
|
||||||
@ -212,7 +212,7 @@ flight reports that have been filed. You've been warned!
|
|||||||
<div class="form-container-body">
|
<div class="form-container-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
{{ Form::label('aircraft_id', trans('frontend.global.aircraft')) }}
|
{{ Form::label('aircraft_id', __('common.aircraft')) }}
|
||||||
@if(!empty($pirep) && $pirep->read_only)
|
@if(!empty($pirep) && $pirep->read_only)
|
||||||
<p>{{ $pirep->aircraft->name }}</p>
|
<p>{{ $pirep->aircraft->name }}</p>
|
||||||
{{ Form::hidden('aircraft_id') }}
|
{{ Form::hidden('aircraft_id') }}
|
||||||
@ -240,7 +240,7 @@ flight reports that have been filed. You've been warned!
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="input-group input-group-sm form-group">
|
<div class="input-group input-group-sm form-group">
|
||||||
{{ Form::textarea('route', null, ['class' => 'form-control', 'placeholder' => trans('frontend.global.route')]) }}
|
{{ Form::textarea('route', null, ['class' => 'form-control', 'placeholder' => __('common.route')]) }}
|
||||||
<p class="text-danger">{{ $errors->first('route') }}</p>
|
<p class="text-danger">{{ $errors->first('route') }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
@extends('app')
|
@extends('app')
|
||||||
@section('title', trans('frontend.global.profile'))
|
@section('title', __('common.profile'))
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="row profile-page content-center text-color-dark-beige">
|
<div class="row profile-page content-center text-color-dark-beige">
|
||||||
|
Loading…
Reference in New Issue
Block a user