]> git.mxchange.org Git - friendica.git/commitdiff
Rename auto_request.tpl form action template variable
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 30 Oct 2022 19:48:28 +0000 (15:48 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 31 Oct 2022 19:30:23 +0000 (15:30 -0400)
mod/follow.php
mod/unfollow.php
src/Module/RemoteFollow.php
view/templates/auto_request.tpl
view/theme/frio/templates/auto_request.tpl

index db7a52b2c32c5c9d088b4418775fa8d999be0aed..cd39d4dda7149f29ab6fedac39793206cfd98338 100644 (file)
@@ -143,7 +143,7 @@ function follow_content(App $a)
                '$submit'        => $submit,
                '$cancel'        => DI::l10n()->t('Cancel'),
 
-               '$request'       => $request,
+               '$action'        => $request,
                '$name'          => $contact['name'],
                '$url'           => $contact['url'],
                '$zrl'           => Profile::zrl($contact['url']),
index 8431d04d06e3ae221637fae141741118d2c4198f..6a7bf350360e74a350be0790d03197c73aa35a5b 100644 (file)
@@ -99,7 +99,7 @@ function unfollow_content(App $a)
                '$zrl'           => Contact::magicLinkByContact($contact),
                '$url_label'     => DI::l10n()->t('Profile URL'),
                '$myaddr'        => $self['url'],
-               '$request'       => $request,
+               '$action'        => $request,
                '$keywords'      => '',
                '$keywords_label'=> ''
        ]);
index 05239440de10b94396304d8c6aff0093467749ee..ce5c6f60e1ce6eea415948660611eb0e67576bcc 100644 (file)
@@ -127,7 +127,7 @@ class RemoteFollow extends BaseModule
                        '$submit'        => $this->t('Submit Request'),
                        '$cancel'        => $this->t('Cancel'),
 
-                       '$request'       => 'remote_follow/' . $this->parameters['profile'],
+                       '$action'        => 'remote_follow/' . $this->parameters['profile'],
                        '$name'          => $this->owner['name'],
                        '$myaddr'        => Profile::getMyURL(),
                ]);
index a3bd9c2cda1fce45f1879b467d4028b90ad6e13c..0cfe584d5a5f62312f8480cd2d2ddd9548aa91fa 100644 (file)
@@ -9,7 +9,7 @@
 </p>
 {{/if}}
 
-<form action="{{$request}}" method="post">
+<form action="{{$action}}" method="post">
 {{if $url}}
        <dl>
                <dt>{{$url_label}}</dt>
index eec9c7f3ec8d5d02318c0eb80818795daab71794..2d1861389c1f4e5a81c7efb641da666225875698 100644 (file)
@@ -9,7 +9,7 @@
 </p>
 {{/if}}
 
-<form action="{{$request}}" method="post">
+<form action="{{$action}}" method="post">
 {{if $url}}
        <dl>
                <dt>{{$url_label}}</dt>