Translated Theme View Panel

This commit is contained in:
Frank 2023-06-14 17:19:43 +02:00
parent 202d374ceb
commit 761ebe401f
2 changed files with 5 additions and 4 deletions

View File

@ -267,6 +267,7 @@ return [
'Upload themes' => 'Upload themes+',
'Delete themes' => 'Delete themes+',
'Download themes' => 'Download themes+',
'Delete a theme' => 'Delete a theme+',
########Theme Updater Blade########
'Theme Updater' => 'Theme Updater+',

View File

@ -12,13 +12,13 @@
<div class="row">
<div class="col-sm-12">
<h2 class="mb-4"><i class="bi bi-brush"> Delete a theme</i></h2>
<h2 class="mb-4"><i class="bi bi-brush"> {{__('messages.Delete a theme')}}</i></h2>
<form action="{{ route('deleteTheme') }}" enctype="multipart/form-data" method="post">
@csrf
<div class="form-group col-lg-8">
<h3>Delete theme</h3>
<h3>{{__('messages.Delete theme')}}</h3>
<select class="form-control" name="deltheme">
<?php if ($handle = opendir('themes')) {
while (false !== ($entry = readdir($handle))) {
@ -27,11 +27,11 @@
</select>
</div>
<button type="submit" class="mt-3 ml-3 btn btn-danger">Delete theme</button>
<button type="submit" class="mt-3 ml-3 btn btn-danger">{{__('messages.Delete theme')}}</button>
</form>
</details>
<br><br><a class="btn btn-primary" href="{{ url('/studio/theme') }}"><i class="bi bi-arrow-left-short"></i> Back</a>
<br><br><a class="btn btn-primary" href="{{ url('/studio/theme') }}"><i class="bi bi-arrow-left-short"></i> {{__('messages.Back')}}</a>
</div>
</div>