Skip to content

Commit

Permalink
[FIX] Image type Field.
Browse files Browse the repository at this point in the history
  • Loading branch information
Seiger committed Nov 18, 2024
1 parent e38d15c commit 9eb12ea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions views/partials/imageType.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@
<small class="form-text text-muted">[(sset_{{$field['name']}})]</small>
</label>
<div class="col-7 col-md-9 col-lg-10">
<input type="text" id="{{$field['name']}}" class="form-control" name="sset_{{$field['name']}}" value="{{evo()->getConfig('sset_'.$field['name'], '')}}"
onchange="documentDirty=true;" style="width: 90%">
<input type="text" id="{{$field['name']}}" class="form-control" name="sset_{{$field['name']}}" value="{{evo()->getConfig('sset_'.$field['name'], '')}}" onchange="documentDirty=true;" style="width: 90%">
@php
global $_lang;
$site_url = evo()->getConfig('sset_'.$field['name'], null) ? evo()->getConfig('site_url', '/') : '';
@endphp
<input class="form-control" type="button" value="{{$_lang["insert"]}}" style="width: 10%" onclick="BrowseServer('{{$field['name']}}')">
<input class="form-control" type="button" value="@lang("global.insert")" style="width: 10%" onclick="BrowseServer('{{$field['name']}}')">
<div class="col-12" style="padding-left: 0px;">
<div id="image_for_{{$field['name']}}" class="image_for_field"
data-image="{{$site_url}}{{evo()->getConfig('sset_'.$field['name'], '')}}"
Expand Down

0 comments on commit 9eb12ea

Please sign in to comment.