diff --git a/content/author.blade.php b/content/author.blade.php index bfa395b..59fcef5 100644 --- a/content/author.blade.php +++ b/content/author.blade.php @@ -50,14 +50,14 @@ {{ $categoryModel->name }} @else

-

{{ \Setting::get('name')}}

+

{{config('settings.name')}}

@endif

@if (isset($categoryModel)) {{ $categoryModel->description }} @else - {{ \Setting::get('description')}} + {{config('settings.description')}} @endif
@@ -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 @@
{{ __('public.use') }} {{ __('public.premium-pass') }} - @include('template.'.\Setting::get('template', 'default').'.content.includes.explain-lightning') + @include('template.'.config('settings.template').'.content.includes.explain-lightning')

@@ -735,7 +735,7 @@ $('.btn-sub-stripe').append(''); - Stripe.setPublishableKey('{{ \Setting::get('stripe_publish_key') }}'); + Stripe.setPublishableKey("{{config('settings.stripe_publish_key')}}"); var valid = $('[name="card_valid"]').val(); var valid = valid.split('-'); diff --git a/content/dashboard/account.blade.php b/content/dashboard/account.blade.php index 572fd2a..aa1a3b6 100644 --- a/content/dashboard/account.blade.php +++ b/content/dashboard/account.blade.php @@ -1,4 +1,4 @@ -@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app') +@extends('template.'.config('settings.template').'.content.dashboard.app') @section('content')
diff --git a/content/dashboard/addNachrichten.blade.php b/content/dashboard/addNachrichten.blade.php index d7a2735..1715c32 100644 --- a/content/dashboard/addNachrichten.blade.php +++ b/content/dashboard/addNachrichten.blade.php @@ -1,4 +1,4 @@ -@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app') +@extends('template.'.config('settings.template').'.content.dashboard.app') @section('content')
@@ -172,7 +172,7 @@ @endif
- @if (\Setting::get('lnd_status')) + @if (config('settings.lnd_status'))
Define as Premium Content
diff --git a/content/dashboard/auth/login.blade.php b/content/dashboard/auth/login.blade.php index 6340646..8bf20e2 100644 --- a/content/dashboard/auth/login.blade.php +++ b/content/dashboard/auth/login.blade.php @@ -1,4 +1,4 @@ -@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app') +@extends('template.'.config('settings.template').'.content.dashboard.app') @section('content')
diff --git a/content/dashboard/auth/passwords/confirm.blade.php b/content/dashboard/auth/passwords/confirm.blade.php index 27dfdeb..10e604a 100644 --- a/content/dashboard/auth/passwords/confirm.blade.php +++ b/content/dashboard/auth/passwords/confirm.blade.php @@ -1,4 +1,4 @@ -@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app') +@extends('template.'.config('settings.template').'.content.dashboard.app') @section('content')
diff --git a/content/dashboard/auth/passwords/email.blade.php b/content/dashboard/auth/passwords/email.blade.php index f2cc6b0..6ea7846 100644 --- a/content/dashboard/auth/passwords/email.blade.php +++ b/content/dashboard/auth/passwords/email.blade.php @@ -1,4 +1,4 @@ -@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app') +@extends('template.'.config('settings.template').'.content.dashboard.app') @section('content')
diff --git a/content/dashboard/auth/passwords/reset.blade.php b/content/dashboard/auth/passwords/reset.blade.php index 3392fc8..f91136a 100644 --- a/content/dashboard/auth/passwords/reset.blade.php +++ b/content/dashboard/auth/passwords/reset.blade.php @@ -1,4 +1,4 @@ -@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app') +@extends('template.'.config('settings.template').'.content.dashboard.app') @section('content')
diff --git a/content/dashboard/auth/register.blade.php b/content/dashboard/auth/register.blade.php index 4975460..1032626 100644 --- a/content/dashboard/auth/register.blade.php +++ b/content/dashboard/auth/register.blade.php @@ -1,4 +1,4 @@ -@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app') +@extends('template.'.config('settings.template').'.content.dashboard.app') @section('content')
diff --git a/content/dashboard/editNachrichten.blade.php b/content/dashboard/editNachrichten.blade.php index c6985a0..7d87626 100644 --- a/content/dashboard/editNachrichten.blade.php +++ b/content/dashboard/editNachrichten.blade.php @@ -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 @@
- @if (\Setting::get('lnd_status')) + @if (config('settings.lnd_status'))
Define as Premium Content
diff --git a/content/dashboard/home.blade.php b/content/dashboard/home.blade.php index d7eba79..0072870 100644 --- a/content/dashboard/home.blade.php +++ b/content/dashboard/home.blade.php @@ -1,4 +1,4 @@ -@extends('template.'.\Setting::get('template', 'default').'.content.dashboard.app') +@extends('template.'.config('settings.template').'.content.dashboard.app') @section('content') diff --git a/content/errors/404.blade.php b/content/errors/404.blade.php index 3bf1043..7108f4a 100644 --- a/content/errors/404.blade.php +++ b/content/errors/404.blade.php @@ -1,4 +1,4 @@ -@extends('template.'.\Setting::get('template', 'default').'.content.master') +@extends('template.'.config('settings.template').'.content.master') @section('content') diff --git a/content/errors/500.blade.php b/content/errors/500.blade.php index e6ef355..60cc78c 100644 --- a/content/errors/500.blade.php +++ b/content/errors/500.blade.php @@ -1,4 +1,4 @@ -@extends('template.'.\Setting::get('template', 'default').'.content.master') +@extends('template.'.config('settings.template').'.content.master') @section('content') diff --git a/content/header.blade.php b/content/header.blade.php index 578c704..6b6613a 100644 --- a/content/header.blade.php +++ b/content/header.blade.php @@ -13,7 +13,7 @@ @if(isset($title)) {{$title}} @else - {{ \Setting::get('name')}} + {{config('settings.name')}} @endif @if(isset($description)) @@ -34,7 +34,7 @@ - + @if ($nach->image) @@ -44,13 +44,13 @@ @else - - + + @endif @endif @endif - @switch(\Setting::get('css', 1)) + @switch(config('settings.css')) @case(1) @break @@ -71,7 +71,7 @@ @if(App::environment('production')) - @if (!empty(\Setting::get('facebook', ''))) + @if (!empty(config('settings.facebook'))) @endif - @if (!empty(\Setting::get('analytics', ''))) + @if (!empty(config('settings.analytics'))) - + @endif @@ -108,10 +108,10 @@ - @if (!empty(\Setting::get('favicon_image', ''))) - - - + @if (!empty(config('settings.favicon_image'))) + + + @endif @yield('styles') diff --git a/content/includes/premium-pass-qr.blade.php b/content/includes/premium-pass-qr.blade.php index 911e531..ea0f4c3 100644 --- a/content/includes/premium-pass-qr.blade.php +++ b/content/includes/premium-pass-qr.blade.php @@ -37,7 +37,7 @@ } - @if (\Setting::get('stripe_status', 0)) + @if (config('settings.stripe_status')) Alternative: Pay with Credit Card @@ -75,7 +75,7 @@
- +