@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

{{ 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