File "global-script.blade.php"
Full Path: /home/bettaeza/flyinsyria.com/Layout/admin/parts/global-script.blade.php
File size: 5.62 KB
MIME-type: text/html
Charset: utf-8
<script>
var bookingCore = {
url: '{{url('/')}}',
admin_url: '{{route('admin.index')}}',
map_provider: '{{setting_item('map_provider')}}',
map_gmap_key: '{{setting_item('map_gmap_key')}}',
csrf: '{{csrf_token()}}',
date_format: '{{get_moment_date_format()}}',
markAsRead: '{{route('core.admin.notification.markAsRead')}}',
markAllAsRead: '{{route('core.admin.notification.markAllAsRead')}}',
loadNotify: '{{route('core.admin.notification.loadNotify')}}',
pusher_api_key: '{{setting_item("pusher_api_key")}}',
pusher_cluster: '{{setting_item("pusher_cluster")}}',
isAdmin: {{is_admin() ? 1 : 0}},
currentUser: {{(int)Auth::id()}},
media: {
groups: {!! json_encode(config('bc.media.groups')) !!},
},
language: '{{ app()->getLocale() }}',
};
var i18n = {
warning: "{{__("Warning")}}",
success: "{{__("Success")}}",
confirm_delete: "{{__("Do you want to delete?")}}",
confirm_recovery: "{{__("Do you want to restore?")}}",
confirm: "{{__("Confirm")}}",
cancel: "{{__("Cancel")}}",
custom_range: "{{ __("Custom Range") }}",
apply: "{{ __("Apply") }}"
};
var daterangepickerLocale = {
"applyLabel": "{{__('Apply')}}",
"cancelLabel": "{{__('Cancel')}}",
"fromLabel": "{{__('From')}}",
"toLabel": "{{__('To')}}",
"customRangeLabel": "{{__('Custom')}}",
"weekLabel": "{{__('W')}}",
"first_day_of_week": {{ setting_item("site_first_day_of_the_weekin_calendar","1") }},
"daysOfWeek": [
"{{__('Su')}}",
"{{__('Mo')}}",
"{{__('Tu')}}",
"{{__('We')}}",
"{{__('Th')}}",
"{{__('Fr')}}",
"{{__('Sa')}}"
],
"monthNames": [
"{{__('January')}}",
"{{__('February')}}",
"{{__('March')}}",
"{{__('April')}}",
"{{__('May')}}",
"{{__('June')}}",
"{{__('July')}}",
"{{__('August')}}",
"{{__('September')}}",
"{{__('October')}}",
"{{__('November')}}",
"{{__('December')}}"
],
};
var image_editer = {
language: '{{ app()->getLocale() }}',
translations: {
{{ app()->getLocale() }}: {
'header.image_editor_title': '{{ __('Image Editor') }}',
'header.toggle_fullscreen': '{{ __('Toggle fullscreen') }}',
'header.close': '{{ __('Close') }}',
'header.close_modal': '{{ __('Close window') }}',
'toolbar.download': '{{ __('Save Change') }}',
'toolbar.save': '{{ __('Save') }}',
'toolbar.apply': '{{ __('Apply') }}',
'toolbar.saveAsNewImage': '{{ __('Save As New Image') }}',
'toolbar.cancel': '{{ __('Cancel') }}',
'toolbar.go_back': '{{ __('Go Back') }}',
'toolbar.adjust': '{{ __('Adjust') }}',
'toolbar.effects': '{{ __('Effects') }}',
'toolbar.filters': '{{ __('Filters') }}',
'toolbar.orientation': '{{ __('Orientation') }}',
'toolbar.crop': '{{ __('Crop') }}',
'toolbar.resize': '{{ __('Resize') }}',
'toolbar.watermark': '{{ __('Watermark') }}',
'toolbar.focus_point': '{{ __('Focus point') }}',
'toolbar.shapes': '{{ __('Shapes') }}',
'toolbar.image': '{{ __('Image') }}',
'toolbar.text': '{{ __('Text') }}',
'adjust.brightness': '{{ __('Brightness') }}',
'adjust.contrast': '{{ __('Contrast') }}',
'adjust.exposure': '{{ __('Exposure') }}',
'adjust.saturation': '{{ __('Saturation') }}',
'orientation.rotate_l': '{{ __('Rotate Left') }}',
'orientation.rotate_r': '{{ __('Rotate Right') }}',
'orientation.flip_h': '{{ __('Flip Horizontally') }}',
'orientation.flip_v': '{{ __('Flip Vertically') }}',
'pre_resize.title': '{{ __('Would you like to reduce resolution before editing the image?') }}',
'pre_resize.keep_original_resolution': '{{ __('Keep original resolution') }}',
'pre_resize.resize_n_continue': '{{ __('Resize & Continue') }}',
'footer.reset': '{{ __('Reset') }}',
'footer.undo': '{{ __('Undo') }}',
'footer.redo': '{{ __('Redo') }}',
'spinner.label': '{{ __('Processing...') }}',
'warning.too_big_resolution': '{{ __('The resolution of the image is too big for the web. It can cause problems with Image Editor performance.') }}',
'common.x': '{{ __('x') }}',
'common.y': '{{ __('y') }}',
'common.width': '{{ __('width') }}',
'common.height': '{{ __('height') }}',
'common.custom': '{{ __('custom') }}',
'common.original': '{{ __('original') }}',
'common.square': '{{ __('square') }}',
'common.opacity': '{{ __('Opacity') }}',
'common.apply_watermark': '{{ __('Apply watermark') }}',
'common.url': '{{ __('URL') }}',
'common.upload': '{{ __('Upload') }}',
'common.gallery': '{{ __('Gallery') }}',
'common.text': '{{ __('Text') }}',
}
}
};
</script>