@extends('layouts.core.backend', [ 'menu' => 'setting', ]) @section('title', trans('messages.upgrade.title.upgrade')) @section('page_header')

cloud_download {{ trans('messages.upgrade.title.upgrade') }}

@endsection @section('content')
@include("admin.settings._tabs")
@if (session('alert-error')) @include('elements._notification', [ 'level' => 'warning', 'title' => 'Cannot upgrade', 'message' => session('alert-error') ]) @endif @if (isset($failed))

{{ trans('messages.upgrade.error.something_wrong') }}

{{ trans('messages.upgrade.title.in_progress') }}

{!! trans('messages.upgrade.error.cannot_write') !!}

{!! implode("\n", $failed) !!}

{{ trans('messages.upgrade.button.retry') }} {{ trans('messages.upgrade.button.cancel') }}

@elseif ($manager->isNewVersionAvailable())

{{ trans('messages.upgrade.title.upgrade_confirm') }}

{!! trans('messages.upgrade.wording.upgrade', [ 'current' => "{$manager->getCurrentVersion()}", 'new' => "{$manager->getNewVersion()}" ]) !!}

{{ trans('messages.upgrade.button.upgrade_now') }} {{ trans('messages.upgrade.button.cancel') }}

@elseif (!$phpversion)

{{ trans('messages.upgrade.title.current') }}

{!! trans('messages.upgrade.wording.upload', [ 'current' => "{$manager->getCurrentVersion()}" ]) !!}

@include('elements._notification', [ 'level' => 'warning', 'title' => 'PHP version not supported', 'message' => 'You are running on PHP version '.PHP_VERSION.' which is too old. Please upgrade to PHP '.config('custom.php_recommended').' or higher in order to proceed with application upgrade' ]) @else @if ($license && ($license->isExpired() || $license->isInactive())) @php $admin = Auth::user()->admin; $spportedUntil = $license->getSupportedUntil($admin->getTimezone()); if (config('custom.japan')) { $entitlementLink = '#'; } else { $entitlementLink = 'https://codecanyon.net/item/acelle-email-marketing-web-application/17796082'; } $style = 'alert-danger'; if ($license->isExpired()) { $title = trans('messages.support.expired.explanation', [ 'expr' => $admin->formatDateTime($spportedUntil, 'datetime_full_with_timezone'), 'diffs' => $spportedUntil->diffForHumans()] ); } elseif ($license->isInactive()) { $title = trans('messages.license.error.invalid'); } @endphp

{{ trans('messages.license.your_license') }}

{{ $title }}

{{ $license->getLicenseNumber() }}{!! $license->isExpired() ? ' | '.trans('messages.support.expired.note').'' : '' !!}

@endif

{{ trans('messages.upgrade.title.current') }}

{!! trans('messages.upgrade.wording.upload', [ 'current' => "{$manager->getCurrentVersion()}" ]) !!}

{{ trans('messages.upgrade.notice') }}

  • post_max_size {{ ini_get('post_max_size') }}
  • upload_max_filesize {{ ini_get('upload_max_filesize') }}
{{ csrf_field() }} @include('helpers.form_control', ['required' => true, 'type' => 'file', 'label' => '', 'name' => 'file', 'value' => 'Upload'])
@endif
@endsection