1
0
Fork 0

Rename auto_request.tpl form action template variable

This commit is contained in:
Hypolite Petovan 2022-10-30 15:48:28 -04:00
parent c9d6a3f044
commit 3020dfbeeb
5 changed files with 5 additions and 5 deletions

View 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']),

View 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'=> ''
]);

View 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(),
]);

View file

@ -9,7 +9,7 @@
</p>
{{/if}}
<form action="{{$request}}" method="post">
<form action="{{$action}}" method="post">
{{if $url}}
<dl>
<dt>{{$url_label}}</dt>

View file

@ -9,7 +9,7 @@
</p>
{{/if}}
<form action="{{$request}}" method="post">
<form action="{{$action}}" method="post">
{{if $url}}
<dl>
<dt>{{$url_label}}</dt>