diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 5aa52535..a63f0483 100755 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -273,14 +273,12 @@ public function saveLink(request $request) 'title' => $sanitizedText, ]); }elseif($linkType->typename == "email"){ - $LinkURL = "mailto:".$LinkURL; $OrigLink->update([ 'link' => $LinkURL, 'button_id' => $button?->id, 'title' => $LinkTitle, ]); }elseif($linkType->typename == "telephone"){ - $LinkURL = "tel:".$LinkURL; $OrigLink->update([ 'link' => $LinkURL, 'button_id' => $button?->id, @@ -398,10 +396,8 @@ public function saveLink(request $request) $links->button_id = "93"; $links->title = $sanitizedText; }elseif($linkType->typename == "email"){ - $links->link = "mailto:".$links->link; $links->button_id = $button?->id; }elseif($linkType->typename == "telephone"){ - $links->link = "tel:".$links->link; $links->button_id = $button?->id; }elseif($linkType->typename == "vcard"){ diff --git a/resources/views/components/pageitems/email-form.blade.php b/resources/views/components/pageitems/email-form.blade.php index 06a1668b..6a5c8baa 100644 --- a/resources/views/components/pageitems/email-form.blade.php +++ b/resources/views/components/pageitems/email-form.blade.php @@ -10,3 +10,14 @@ {{__('messages.Enter your E-Mail')}} + \ No newline at end of file diff --git a/resources/views/components/pageitems/telephone-form.blade.php b/resources/views/components/pageitems/telephone-form.blade.php index 3b0203cd..ede9d257 100644 --- a/resources/views/components/pageitems/telephone-form.blade.php +++ b/resources/views/components/pageitems/telephone-form.blade.php @@ -10,3 +10,14 @@ {{__('messages.Enter your telephone number')}} + \ No newline at end of file