Remove unused template variable in dfrn_req_confirm
- Replace killme() by exit() in mod/dfrn_request
This commit is contained in:
parent
a8cbeab8a0
commit
4285f2f8bb
|
@ -512,8 +512,7 @@ function dfrn_request_content(App $a)
|
|||
|
||||
dfrn_request_post($a);
|
||||
|
||||
killme();
|
||||
return; // NOTREACHED
|
||||
exit();
|
||||
}
|
||||
|
||||
$tpl = Renderer::getMarkupTemplate("dfrn_req_confirm.tpl");
|
||||
|
@ -521,7 +520,6 @@ function dfrn_request_content(App $a)
|
|||
'$dfrn_url' => $dfrn_url,
|
||||
'$aes_allow' => (($aes_allow) ? '<input type="hidden" name="aes_allow" value="1" />' : "" ),
|
||||
'$hidethem' => L10n::t('Hide this contact'),
|
||||
'$hidechecked' => '',
|
||||
'$confirm_key' => $confirm_key,
|
||||
'$welcome' => L10n::t('Welcome home %s.', $a->user['username']),
|
||||
'$please' => L10n::t('Please confirm your introduction/connection request to %s.', $dfrn_url),
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
{{$aes_allow}}
|
||||
|
||||
<label id="dfrn-request-homecoming-hide-label" for="dfrn-request-homecoming-hide">{{$hidethem}}</label>
|
||||
<input type="checkbox" name="hidden-contact" value="1" {{if $hidechecked}}checked="checked" {{/if}} />
|
||||
<input type="checkbox" name="hidden-contact" value="1" />
|
||||
|
||||
|
||||
<div id="dfrn-request-homecoming-submit-wrapper" >
|
||||
|
|
Loading…
Reference in a new issue