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,
|
'$submit' => $submit,
|
||||||
'$cancel' => DI::l10n()->t('Cancel'),
|
'$cancel' => DI::l10n()->t('Cancel'),
|
||||||
|
|
||||||
'$request' => $request,
|
'$action' => $request,
|
||||||
'$name' => $contact['name'],
|
'$name' => $contact['name'],
|
||||||
'$url' => $contact['url'],
|
'$url' => $contact['url'],
|
||||||
'$zrl' => Profile::zrl($contact['url']),
|
'$zrl' => Profile::zrl($contact['url']),
|
||||||
|
|
|
@ -99,7 +99,7 @@ function unfollow_content(App $a)
|
||||||
'$zrl' => Contact::magicLinkByContact($contact),
|
'$zrl' => Contact::magicLinkByContact($contact),
|
||||||
'$url_label' => DI::l10n()->t('Profile URL'),
|
'$url_label' => DI::l10n()->t('Profile URL'),
|
||||||
'$myaddr' => $self['url'],
|
'$myaddr' => $self['url'],
|
||||||
'$request' => $request,
|
'$action' => $request,
|
||||||
'$keywords' => '',
|
'$keywords' => '',
|
||||||
'$keywords_label'=> ''
|
'$keywords_label'=> ''
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -127,7 +127,7 @@ class RemoteFollow extends BaseModule
|
||||||
'$submit' => $this->t('Submit Request'),
|
'$submit' => $this->t('Submit Request'),
|
||||||
'$cancel' => $this->t('Cancel'),
|
'$cancel' => $this->t('Cancel'),
|
||||||
|
|
||||||
'$request' => 'remote_follow/' . $this->parameters['profile'],
|
'$action' => 'remote_follow/' . $this->parameters['profile'],
|
||||||
'$name' => $this->owner['name'],
|
'$name' => $this->owner['name'],
|
||||||
'$myaddr' => Profile::getMyURL(),
|
'$myaddr' => Profile::getMyURL(),
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
</p>
|
</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<form action="{{$request}}" method="post">
|
<form action="{{$action}}" method="post">
|
||||||
{{if $url}}
|
{{if $url}}
|
||||||
<dl>
|
<dl>
|
||||||
<dt>{{$url_label}}</dt>
|
<dt>{{$url_label}}</dt>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
</p>
|
</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<form action="{{$request}}" method="post">
|
<form action="{{$action}}" method="post">
|
||||||
{{if $url}}
|
{{if $url}}
|
||||||
<dl>
|
<dl>
|
||||||
<dt>{{$url_label}}</dt>
|
<dt>{{$url_label}}</dt>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user