fix - EMS Manage Events broken
Added new template variables for a link label and url that allows you to cancel registration and return to the EMS if you mistakenly tried to purchase something.
This commit is contained in:
parent
7ac7b2bc80
commit
3a8a832e63
4 changed files with 106 additions and 1 deletions
|
|
@ -930,7 +930,9 @@ sub getRegistrationInfo {
|
|||
$var{'form.updateProfile'} = WebGUI::Form::Checkbox($self->session,{name=>'updateProfile'});
|
||||
$var{isLoggedIn} = 1 if ($self->session->user->userId ne '1');
|
||||
$var{'form.email'} = WebGUI::Form::Email($self->session,{name=>'email'});
|
||||
$var{'registration'} = 1;
|
||||
$var{'registration'} = 1;
|
||||
$var{'cancelRegistration.url'} = $self->getUrl('func=resetScratchCart');
|
||||
$var{'cancelRegistration.url.label'} = $i18n->get('cancel registration');
|
||||
return \%var;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue