]> git.mxchange.org Git - friendica.git/commitdiff
Replace remaining "follow" route instances to "contact/follow"
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 1 Nov 2022 13:41:39 +0000 (09:41 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 1 Nov 2022 13:41:39 +0000 (09:41 -0400)
src/Module/Notifications/Introductions.php
view/templates/widget/follow.tpl
view/theme/frio/templates/widget/follow.tpl
view/theme/smoothly/templates/widget/follow.tpl

index 2bd03e3071784772e472d950ad7a5af115d1003d..f8a63e7208ccef0f1aeb0b912391667b475d367b 100644 (file)
@@ -128,7 +128,7 @@ class Introductions extends BaseNotifications
                                                '$zrl'                   => $Introduction->getZrl(),
                                                '$lbl_url'               => $this->t('Profile URL'),
                                                '$addr'                  => $Introduction->getAddr(),
-                                               '$action'                => 'follow',
+                                               '$action'                => 'contact/follow',
                                                '$approve'               => $this->t('Approve'),
                                                '$note'                  => $Introduction->getNote(),
                                                '$ignore'                => $this->t('Ignore'),
index 076940a62b2a6c50a50214399384f3cfe7fac247..dd28e4317152aaed1c928a2cc1115e29ad160cc7 100644 (file)
@@ -2,7 +2,7 @@
 <div id="follow-sidebar" class="widget">
        <h3>{{$connect}}</h3>
        <div id="connect-desc">{{$desc nofilter}}</div>
-       <form action="follow" method="get">
+       <form action="contact/follow" method="get">
                <input id="side-follow-url" type="text" name="url" value="{{$value}}" size="24" placeholder="{{$hint}}" title="{{$hint}}" /><input id="side-follow-submit" type="submit" name="submit" value="{{$follow}}" />
        </form>
 </div>
index b2a902fff3010e23ca1fd52f4e7be768d250d6d9..18bb9db914157e061ea5a3f36c420e1f3dc8fae6 100644 (file)
@@ -2,7 +2,7 @@
 <div id="follow-sidebar" class="widget">
        <h3>{{$connect}}</h3>
 
-       <form action="follow" method="get">
+       <form action="contact/follow" method="get">
                {{* The input field - For visual consistence we are using a search input field*}}
                <div class="form-group form-group-search">
                        <input id="side-follow-url" class="search-input form-control form-search" type="text" name="url" value="{{$value}}" placeholder="{{$hint}}" data-toggle="tooltip" title="{{$hint}}" />
index 664556b3621452d8b1c72e95c58a36fe16aea3a7..462298d885e50d5834a7b4cf5be47dae8367b433 100644 (file)
@@ -2,7 +2,7 @@
 <div id="follow-sidebar" class="widget">
        <h3>{{$connect}}</h3>
        <div id="connect-desc">{{$desc nofilter}}</div>
-       <form action="follow" method="post">
+       <form action="contact/follow" method="post">
                <input id="side-follow-url" type="text-sidebar" name="url" size="24" title="{{$hint}}" /><input id="side-follow-submit" type="submit" name="submit" value="{{$follow}}" />
        </form>
 </div>