]> git.mxchange.org Git - friendica.git/commitdiff
add blanks, suggested from codereview
authorJakobus Schürz <jakobus.schuerz@home.arpa>
Sat, 7 Oct 2023 08:44:53 +0000 (10:44 +0200)
committerJakobus Schürz <jakobus.schuerz@home.arpa>
Sat, 7 Oct 2023 09:06:51 +0000 (11:06 +0200)
src/Content/Widget/VCard.php
src/Model/Profile.php

index b325a7db158601d9e7a94fedcb08843f372aa464..d57f7130f9c64758c52f8de1a9f3cf5d21ad563b 100644 (file)
@@ -105,10 +105,10 @@ class VCard
                                $mention_label   = DI::l10n()->t('Post to group');
                                $mention_url     = 'compose/0?body=!' . $contact['addr'];
                                $showgroup_label = DI::l10n()->t('View group');
-                               $showgroup_url  = 'network/group/' . $id;
+                               $showgroup_url   = 'network/group/' . $id;
                        } else {
-                               $mention_label   = DI::l10n()->t('Mention');
-                               $mention_url     = 'compose/0?body=@' . $contact['addr'];
+                               $mention_label = DI::l10n()->t('Mention');
+                               $mention_url   = 'compose/0?body=@' . $contact['addr'];
                        }
 
                }
index 0aa44c6735d3558fa710e664f6c6e6429fa104ad..c2b21e904bcaccc173e7fae8b23d1b72a52c4584 100644 (file)
@@ -455,14 +455,14 @@ class Profile
 
                if ($profile['account-type'] == Contact::TYPE_COMMUNITY) {
                        $mention_label = DI::l10n()->t('Post to group');
-                       $mention_url = 'compose/0?body=!' . $profile['addr'];
+                       $mention_url   = 'compose/0?body=!' . $profile['addr'];
                        $network_label = DI::l10n()->t('View group');
-                       $network_url = 'network/group/' . $profile['id'];
+                       $network_url   = 'network/group/' . $profile['id'];
                } else {
                        $mention_label = DI::l10n()->t('Mention');
-                       $mention_url = 'compose/0?body=@' . $profile['addr'];
+                       $mention_url   = 'compose/0?body=@' . $profile['addr'];
                        $network_label = DI::l10n()->t('Network Posts');
-                       $network_url = 'contact/' . $profile['id'] . '/conversations';
+                       $network_url   = 'contact/' . $profile['id'] . '/conversations';
                }
 
                $tpl = Renderer::getMarkupTemplate('profile/vcard.tpl');