From 6fe04b6faeb67ccd48e818d44064e3bdb7fa5b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Mon, 27 Dec 2021 11:59:01 +0100 Subject: [PATCH] added limiter --- content/index.blade.php | 4 ++-- content/lists/default.blade.php | 4 ++-- content/pages/kontakt.blade.php | 3 ++- content/pages/wohnen.blade.php | 11 ++++------- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/content/index.blade.php b/content/index.blade.php index e8e6600..6128d81 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -114,11 +114,11 @@
{{$content->title}}
-
{{date('d.m.Y H:i', strtotime($content->created_at))}}
+
{{date('d.m.Y H:i', strtotime($content->created_at))}}

- {!! strIsset($content->data_fields['neuigkeit'], 'keine Angaben') !!} + {!! strIsset(Str::limit(strip_tags(html_entity_decode($content->data_fields['neuigkeit'])), 600,'...'), 'keine Angaben') !!}

diff --git a/content/lists/default.blade.php b/content/lists/default.blade.php index efe091a..d69624f 100644 --- a/content/lists/default.blade.php +++ b/content/lists/default.blade.php @@ -36,12 +36,12 @@
-
{{date('d.m.Y H:i', strtotime($content->created_at))}}
+
{{date('d.m.Y H:i', strtotime($content->created_at))}}

- {!! strIsset($content->data_fields['neuigkeit'], 'keine Angaben') !!} + {!! strIsset(Str::limit(strip_tags(html_entity_decode($content->data_fields['neuigkeit'])), 600,'...'), 'keine Angaben') !!}

diff --git a/content/pages/kontakt.blade.php b/content/pages/kontakt.blade.php index 89485eb..15ea48e 100644 --- a/content/pages/kontakt.blade.php +++ b/content/pages/kontakt.blade.php @@ -22,7 +22,8 @@ Wohnen am Kreuzberg
Vohenstraußer Straße 7
92714 Pleystein
- Tel.: 09654 9223-0
Fax: 09654 9223-30 + Tel.: 09654 92230
+ Fax: 09654 9223-30
Mail: wohnen-am-kreuzberg@t-online.de

diff --git a/content/pages/wohnen.blade.php b/content/pages/wohnen.blade.php index be72581..9533874 100644 --- a/content/pages/wohnen.blade.php +++ b/content/pages/wohnen.blade.php @@ -159,10 +159,7 @@ -
- - -
+ @@ -185,14 +182,14 @@
- +
-
- +
+