@switch($setting->type) @case('LONGTEXT') @break @case('CODE') @break @case('TIME') @break @case('DATE') getLocale() == 'fa') xshow="pdate" @else xshow="date" @endif xtitle="{{$setting->title}}" @if(app()->getLocale() != 'fa') def-tab="1" @endif :xvalue="{{$setting->value}}" > @break @case('DATETIME') getLocale() == 'fa') xshow="pdatetime" @else xshow="datetime" @endif xtitle="{{$setting->title}}" @if(app()->getLocale() != 'fa') def-tab="1" @endif :xvalue="{{$setting->value}}" :timepicker="true" > @break @case('ICON') @break @case('LOCATION') @php($latlng = explode(',',old($setting->key, $setting->value))) @break @case('EDITOR') @break @case('CHECKBOX') @break @case('CATEGORY') @break @case('GROUP') @break @case('MENU') @break @case('COLOR')
@break @case('NUMBER')
{{-- ltr) dir="ltr" @endif>--}} getData() as $k => $v) {{$k}}="{{$v}}" @endforeach > @break @case('FILE')
@php($ext = strtolower(pathinfo(str_replace('_','.',$setting->key), PATHINFO_EXTENSION)))
@if(!in_array($ext, ['svg','jpg','png','gif','webp'] ) ) @endif
@if($ext == 'mp4')
@elseif($ext == 'mp3')
@elseif(in_array($ext, ['svg','jpg','png','gif','webp'] ) ) {{$setting->key}} @endif
@break @default @if($setting->key == 'optimize') @else ltr) dir="ltr" @endif> @endif @endswitch