Rename auto_request.tpl form action template variable
This commit is contained in:
parent
c9d6a3f044
commit
3020dfbeeb
|
@ -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']),
|
||||
|
|
|
@ -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'=> ''
|
||||
]);
|
||||
|
|
|
@ -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(),
|
||||
]);
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</p>
|
||||
{{/if}}
|
||||
|
||||
<form action="{{$request}}" method="post">
|
||||
<form action="{{$action}}" method="post">
|
||||
{{if $url}}
|
||||
<dl>
|
||||
<dt>{{$url_label}}</dt>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</p>
|
||||
{{/if}}
|
||||
|
||||
<form action="{{$request}}" method="post">
|
||||
<form action="{{$action}}" method="post">
|
||||
{{if $url}}
|
||||
<dl>
|
||||
<dt>{{$url_label}}</dt>
|
||||
|
|
Loading…
Reference in New Issue
Block a user