Rename auto_request.tpl form action template variable

pull/12083/head
Hypolite Petovan 2022-10-30 15:48:28 -04:00
rodzic c9d6a3f044
commit 3020dfbeeb
5 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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