remove class setting

master
Gustavo Luigi 2022-12-13 11:21:10 -03:00
parent c50c702486
commit 9fa7dcc734
14 changed files with 35 additions and 35 deletions

View File

@ -50,14 +50,14 @@
{{ $categoryModel->name }}</h1>
@else
<br><br>
<h1>{{ \Setting::get('name')}}</h1>
<h1>{{config('settings.name')}}</h1>
@endif

<p class="intro">
@if (isset($categoryModel))
{{ $categoryModel->description }}
@else
{{ \Setting::get('description')}}
{{config('settings.description')}}
@endif
<br>

@ -196,7 +196,7 @@



@include('template.'.\Setting::get('template', 'default').'.content.includes.create-content')
@include('template.'.config('settings.template').'.content.includes.create-content')



@ -334,7 +334,7 @@
<br>
<a href="" class="howtopay" data-toggle="modal" data-target="#exampleModalCode">{{ __('public.use') }} <i class="fal fa-gem"></i> {{ __('public.premium-pass') }}</a>

@include('template.'.\Setting::get('template', 'default').'.content.includes.explain-lightning')
@include('template.'.config('settings.template').'.content.includes.explain-lightning')

<br>
</p>
@ -735,7 +735,7 @@

$('.btn-sub-stripe').append('<i class="fa fa-spinner fa-spinner-bt fa-spin fa-3x fa-fw" style="font-size:20px;margin-left:10px;"></i>');

Stripe.setPublishableKey('{{ \Setting::get('stripe_publish_key') }}');
Stripe.setPublishableKey("{{config('settings.stripe_publish_key')}}");

var valid = $('[name="card_valid"]').val();
var valid = valid.split('-');

View File

@ -1,4 +1,4 @@
@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app')
@extends('template.'.config('settings.template').'.content.dashboard.app')
@section('content')

<div class="admin-header">

View File

@ -1,4 +1,4 @@
@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app')
@extends('template.'.config('settings.template').'.content.dashboard.app')

@section('content')
<div class="admin-header">
@ -172,7 +172,7 @@
@endif
</div>

@if (\Setting::get('lnd_status'))
@if (config('settings.lnd_status'))
<h6 class="ci-color"><i class="fal fa-gem"></i> Define as Premium Content</h6>

<div class="form-group" style="margin-bottom: 55px;margin-top:15px;">

View File

@ -1,4 +1,4 @@
@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app')
@extends('template.'.config('settings.template').'.content.dashboard.app')

@section('content')
<div class="container">

View File

@ -1,4 +1,4 @@
@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app')
@extends('template.'.config('settings.template').'.content.dashboard.app')

@section('content')
<div class="container">

View File

@ -1,4 +1,4 @@
@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app')
@extends('template.'.config('settings.template').'.content.dashboard.app')

@section('content')
<div class="container">

View File

@ -1,4 +1,4 @@
@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app')
@extends('template.'.config('settings.template').'.content.dashboard.app')

@section('content')
<div class="container">

View File

@ -1,4 +1,4 @@
@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app')
@extends('template.'.config('settings.template').'.content.dashboard.app')

@section('content')
<div class="container">

View File

@ -1,4 +1,4 @@
@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app')
@extends('template.'.config('settings.template').'.content.dashboard.app')

@section('content')

@ -154,7 +154,7 @@
</div>


@if (\Setting::get('lnd_status'))
@if (config('settings.lnd_status'))

<h6 class="ci-color"><i class="fal fa-gem"></i> Define as Premium Content</h6>


View File

@ -1,4 +1,4 @@
@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app')
@extends('template.'.config('settings.template').'.content.dashboard.app')

@section('content')


View File

@ -1,4 +1,4 @@
@extends('template.'.\Setting::get('template', 'default').'.content.master')
@extends('template.'.config('settings.template').'.content.master')

@section('content')


View File

@ -1,4 +1,4 @@
@extends('template.'.\Setting::get('template', 'default').'.content.master')
@extends('template.'.config('settings.template').'.content.master')

@section('content')


View File

@ -13,7 +13,7 @@
@if(isset($title))
<title>{{$title}}</title>
@else
<title>{{ \Setting::get('name')}}</title>
<title>{{config('settings.name')}}</title>
@endif

@if(isset($description))
@ -34,7 +34,7 @@
<meta property="og:description" content="{{ strip_tags(\Str::limit($nach->nachrichten, 285, ' ...')) }}" />
<meta property="og:url" content="{{ \Request::url() }}" />
<meta property="og:type" content="article" />
<meta property="og:site_name" content="{{ isset($title) ? $title : \Setting::get('name') }}" />
<meta property="og:site_name" content="{{ isset($title) ? $title : config('settings.name') }}" />

@if ($nach->image)
<meta property="og:image" content="{{ asset('uploads/' . $nach->image) }}" />
@ -44,13 +44,13 @@
<meta property="og:image" content="{{ asset('uploads/categories/' . $nach->category->image) }}" />
<meta property="twitter:image" content="{{ asset('uploads/categories/' . $nach->category->image) }}" />
@else
<meta property="og:image" content="{{ \Setting::get('image') }}" />
<meta property="twitter:image" content="{{ \Setting::get('image') }}" />
<meta property="og:image" content="{{ config('settings.image') }}" />
<meta property="twitter:image" content="{{ config('settings.image') }}" />
@endif
@endif
@endif

@switch(\Setting::get('css', 1))
@switch(config('settings.css'))
@case(1)
<!-- Default -->
@break
@ -71,7 +71,7 @@
@if(App::environment('production'))


@if (!empty(\Setting::get('facebook', '')))
@if (!empty(config('settings.facebook')))


<script>
@ -83,24 +83,24 @@
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '{{\Setting::get('facebook') }}');
fbq('init', "{{config('settings.facebook')}}");
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id={{\Setting::get('facebook') }}&ev=PageView&noscript=1"
src="https://www.facebook.com/tr?id={{config('settings.facebook')}}&ev=PageView&noscript=1"
/></noscript>

@endif

@if (!empty(\Setting::get('analytics', '')))
@if (!empty(config('settings.analytics')))

<script async src="https://www.googletagmanager.com/gtag/js?id={{\Setting::get('analytics') }}"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id={{config('settings.analytics')}}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', '{{\Setting::get('analytics') }}');
gtag('config', "{{config('settings.analytics')}}");
</script>
@endif

@ -108,10 +108,10 @@

<link href="{{asset('template/css/toastr.min.css')}}" rel="stylesheet"/>

@if (!empty(\Setting::get('favicon_image', '')))
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('uploads/' . \Setting::get('favicon_image', '')) }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('uploads/' . \Setting::get('favicon_image', '')) }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('uploads/' . \Setting::get('favicon_image', '')) }}">
@if (!empty(config('settings.favicon_image')))
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('uploads/' . config('settings.favicon_image')) }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('uploads/' . config('settings.favicon_image')) }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('uploads/' . config('settings.favicon_image')) }}">
@endif

@yield('styles')

View File

@ -37,7 +37,7 @@
}
</style>

@if (\Setting::get('stripe_status', 0))
@if (config('settings.stripe_status'))
<a class="lnd-pay-card" data-premium-id="">
<small title="Alternative: Pay with Credit Card">
Alternative: Pay with Credit Card
@ -75,7 +75,7 @@

<form method="post" id="formStripePremium">
<input type="hidden" id="stripe_premium_code_id" name="premium_code_id" value="" />
<input type="hidden" id="amountBtc" name="amount_btc" value="{{ \Setting::get('btc_price', 10000.00) }}" />
<input type="hidden" id="amountBtc" name="amount_btc" value="{{config('settings.btc_price')}}" /><!-- 10000.00 -->

<div class="col-12">
<div class="row">