cms-token/@core/resources/views/backend/general-settings/license-settings.blade.php

78 lines
4.8 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@extends('backend.admin-master')
@section('site-title')
{{__('License Settings')}}
@endsection
@section('content')
<div class="col-lg-12 col-ml-12 padding-bottom-30">
<div class="row">
<div class="col-12 mt-5">
@include('backend.partials.message')
<x-error-msg/>
<div class="card">
<div class="card-body">
<h4 class="header-title">{{__("License Settings")}}
<button class="btn btn-sm btn-info"
style="padding: 5px; margin-left: 20px"
data-toggle="modal"
data-target="#licenseRequestModal"
>{{__("Get License Key")}}</button></h4>
@if('verified' == get_static_option('item_license_status'))
<div class="alert alert-success">{{__('Your Application is Registered')}}</div>
@endif
<form action="{{route('admin.general.license.settings')}}" method="POST" enctype="multipart/form-data">
@csrf
<div class="form-group">
<label for="site_license_key">{{__('License Key')}}</label>
<input type="text" name="site_license_key" class="form-control" value="{{get_static_option('site_license_key')}}" >
<small>{{__("enter license key, which you get in your email after verify your license while install or you can get your license by click on \"Get License Key\", then system will send you a license code into your email, check your email inbox and spam folder as well. ")}}</small>
</div>
<div class="form-group">
<label for="envato_username">{{__('Envato Username')}}</label>
<input type="text" class="form-control" name="envato_username" value="{{get_static_option("license_username")}}">
</div>
<button type="submit" class="btn btn-primary mt-4 pr-4 pl-4">{{__('Submit Information')}}</button>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="licenseRequestModal" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">{{__('Request for license key...')}}</h5>
<button type="button" class="close" data-dismiss="modal"><span>×</span></button>
</div>
<form action="{{route("admin.general.license.key.generate")}}" id="user_password_change_modal_form" method="post" enctype="multipart/form-data">
@csrf
<div class="modal-body">
<div class="form-group">
<label for="email">{{__('Your Email')}}</label>
<input type="email" class="form-control" name="email" value="{{get_static_option("license_email")}}">
<small>{{__("Make sure you have given valid email, we will send you license key for enable one click update, We'll email you script updates - no spam, just the good stuff!")}} 🌟✉️</small>
</div>
<div class="form-group">
<label for="envato_username">{{__('Envato Username')}}</label>
<input type="text" class="form-control" name="envato_username" value="{{get_static_option("license_username")}}">
</div>
<div class="form-group">
<label for="envato_purchase_code">{{__('Envato Purchase code')}}</label>
<input type="text" class="form-control" name="envato_purchase_code" value="{{get_static_option("license_purchase_code")}}">
<small>{{__('follow this article to know how you will get your envato purchase code for this script')}}
<a href="https://xgenious.com/where-can-i-find-my-purchase-code-at-codecanyon/" target="_blank">{{__('how to get envato purchase code')}}</a></small>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">{{__('Close')}}</button>
<button id="update" type="submit" class="btn btn-primary">{{__('Submit')}}</button>
</div>
</form>
</div>
</div>
</div>
@endsection